Review December 1 of Wemos sensor network.
REview of where we're up to with "spud sensor" , Boardwalk ESPNow Network Thu Dec 1 11:16:16 NZDT 2022.
Software used two Arduino programs to talk to two Wemos Mini ESP8266s. One was the sender that sampled temperatures and humidities and sent them through I2C to Wemos I. They were stored in buffers, these samples then sent on to Wemos II via ESPNow. Sometime the sender was in the garden on the top of the Boardwalk vege place. ESPNow worked well for this job.
The receiver Wemos waits for orders from serial terminal, including one to send the log file which it gets from the sender, Wemos I. There's a Python program serial13.py that takes 100 bytes of the logged sensor information, tidies it up a bit then can be passed to Excel as a comma delimited file for graphs etc. So data a goes :
HTU via I2C to Wemos I
Wemos I via ESPNow to Wemos II
Wemos II via serial to Python (or Terminal)
Python file via clicks to Excel
Sender: https://pastebin.com/bC1G7LNz https://pastebin.com/bC1G7LNz
Listener: https://pastebin.com/f8gg1Kn6 https://pastebin.com/f8gg1Kn6
Comments
Post a Comment