-->
Page 2 of 2

Re: ESP-Now with Multiple Sensors

PostPosted: Sat Mar 21, 2020 1:24 pm
by prairietech
Thanks for the quick reply!

I'm trying a ds18b20 instead of the dht22. But not getting anything to the receiver. When monitoring the serial port of the sender 8266, I get one temp reading but it is at -127 indicating the sensor wasn't read. Changed the sleep time to the 10 second parameter you listed and still nothing at the receiver.

My past experience with ds18b20 used the ROM address of the sensor in the sketch. But apparently with only 1 sensor on the 8266, the address of the sensor is not needed?

I used one of the Rui's test sketches where dummy data was sent between two 8266's and it worked fine over an impressive distance through metal siding.

My short coming is knowing very little about writing code and have the follow the lead of people like you that know what they are doing. Any advice or sketches you can send my way would be greatly appreciated!

Re: ESP-Now with Multiple Sensors

PostPosted: Sun May 03, 2020 3:32 pm
by prairietech
Alan, Would you mind posting your transmitter and receiver sketches?

Re: ESP-Now with Multiple Sensors

PostPosted: Tue May 05, 2020 12:50 pm
by prairietech
I was planning on using several transmitters to send temperature to a single receiver.

Re: ESP-Now with Multiple Sensors

PostPosted: Sun May 10, 2020 7:03 pm
by prairietech
Alan, Thanks!!
I'm anxious to upload the code and see if I can get this to solve my problem.
Serial output is perfect since I will be sending it to Node Red to be displayed.