Posts

Showing posts from September, 2022

Wemos ESPNow Sensor Update

Image
 Thought I'd just catch where we are in sending ESPNow data from garden, especially spuds, to man cave "boss" WEmos. Working OK with sensing temperature and humidity on the desk using #include "SparkFunHTU21D.h" in Code. There are pictures on previous posts of Wemos Mini I and II, called sender or Sensor or Slave to Boss or Receiver or master. Think I need better and more consistent names.  The half second sensing loop is too short, so when sensor Wemos goes back nto garden it will have delay of, say, one hour. Need to sort out sleep routines. Currently just waiting til millis times out after 5000. Want to make sure it's known what happens during the loop in sensor sending program, so put in little "stop watch" readings, about 5 of them, during main phases. Spent several hours going through outputs of millis that were feed out to serial terminal. See photos below: ( The relevant files are  sender sensor routine: https://pastebin.com/i5sc1zF6  C:\Us...