Search found 105 matches

by rin67630
Sat Feb 03, 2024 9:39 pm
Forum: ESP8266
Topic: How to print the date of yesterday?
Replies: 1
Views: 748

Re: How to print the date of yesterday?

Finally I found out alone. //***Variables for Time*** tm* timeinfo; tm* yesterdaytimeinfo; time_t now; time_t yesterdaynow; static char charbuff[120]; //Char buffer for many functions //*** In program *** yesterdaynow = now - 86400; yesterdaytimeinfo = localtime(&yesterdaynow); strftime(charbuff, 30...
by rin67630
Sat Feb 03, 2024 2:34 pm
Forum: ESP8266
Topic: What can be done on an ESP8266? Show your beasts...
Replies: 11
Views: 90618

Re: What can be done on an ESP8266? Show your beasts...

I teach at our local library about Arduino programming and light electronic usage. Have kids from pre-teens to their 80's. :) We did a simple weather station... two sensor modules and about 2 minutes of breadboard wiring and a little code and they had a weather station with 24 to 48 hour predictive...
by rin67630
Sat Feb 03, 2024 2:13 pm
Forum: ESP8266
Topic: What can be done on an ESP8266? Show your beasts...
Replies: 11
Views: 90618

Re: What can be done on an ESP8266? Show your beasts...

First sorry for the late response I have been ill for a while... Interesting!!! I retired to a quiet mountain location, but the concepts do remind me of my former profession. Is 8 Hz a choice or a limitation? It is a DIN/ISO regulation requirement. Sound pressure levels have to be processed a that p...
by rin67630
Sat Feb 03, 2024 1:46 pm
Forum: ESP8266
Topic: How to print the date of yesterday?
Replies: 1
Views: 748

How to print the date of yesterday?

Hi I have a program that issues at midnight the summary of the past day. It should issue the summary in a line appended to a file. That file should be in the csv format, for post processing in Excel. All is done now. But I would like to begin the line with a date identifier. Only day/month. And that...
by rin67630
Sat Dec 23, 2023 10:31 pm
Forum: ESP8266
Topic: What can be done on an ESP8266? Show your beasts...
Replies: 11
Views: 90618

Re: What can be done on an ESP8266? Show your beasts...

As an example of power of an ESP8266... early-on in the Covid, I thought I could help with the staggering demand of ventilators - https://inqonthat.com/inqvent/ . If I recall correctly, the little ESP8266 was able to handle reading two pressure sensors, while controlling two servos and a PWM motor ...
by rin67630
Sat Dec 23, 2023 10:12 pm
Forum: ESP32 Arduino
Topic: Code an array of structures
Replies: 1
Views: 1452

Code an array of structures

Hi for my project https://github.com/rin67630/Victron_VE_on_Steroids/ I have coded an UDP transmission between modules that works pretty well: The information is grouped in a single structure payload[] struct payload { //***Operating Values from Victron/SmartShunt*** float BatV; // V Battery voltag...
by rin67630
Sat Dec 23, 2023 2:22 pm
Forum: ESP8266
Topic: What can be done on an ESP8266? Show your beasts...
Replies: 11
Views: 90618

Re: What can be done on an ESP8266? Show your beasts...

Very nice !
I will give it a try after the season holidays.
Have you got a version for the ESP32 too?
by rin67630
Fri Dec 15, 2023 12:12 pm
Forum: ESP8266
Topic: Serial.swap() only for RX?
Replies: 6
Views: 92555

Re: Serial.swap() only for RX?

Well, in my case, I use the RX pin as a third GPIO (the ESP-1 is a very small breakout). Point is, I can still use TX pin to transmit serial at the same time That is the opposite. I just would want to liberate the TX pin that is not used and pulled up with 470 Ω, which draws quite a respectable qua...
by rin67630
Wed Dec 13, 2023 11:38 am
Forum: ESP8266
Topic: What can be done on an ESP8266? Show your beasts...
Replies: 11
Views: 90618

What can be done on an ESP8266? Show your beasts...

What have you done with your ESP8266s that you consider being a lot of code?

Personally I am working on
https://github.com/rin67630/Victron_VE_on_Steroids
and it compiles at less than 50% resources.
by rin67630
Sun Dec 03, 2023 2:53 am
Forum: ESP8266
Topic: Serial.swap() only for RX?
Replies: 6
Views: 92555

Re: Serial.swap() only for RX?

I would expect it works on the ESP8266 chip, regardless of breakout board... As far as I know, it's the same chip on all the 8266 breakouts? Did you try it on the ESP-12? Would be interesting to hear if it works. I could try it on an Adafruit Huzzah 8266. That appears to liberate the TX pin for use...