Hello, this is my first post so please let me know if it's in the wrong place.
I have a MEGA board extracting data such as 5 temperature values in a loop, humidity, distance to an object via LIDAR and SONAR. The MEGA originally used ESP8266 to send the data to a thingspeak server. However, I am now forced to used NodeMCU to send the data instead, and the arduino to save to an SD on a datalogging shield for backup.
I am not able to update the temperature data or the humidity sensor data. I have not programmed my distance sensors back in yet, but I imagine the result will be the same
I am using the SoftwareSerial library to use pins 10,11 on my Arduino and D1,D2 on the NodeMCU. Other examples transmit and receive single bytes of data just fine so I know it's not my setup. I think it may be the rate at which I'm sending data, but I don't know where to start!
Can anybody help me with these sketches?
Unfortunately there is absolutely no option to use the ESP8266 now. The unit functioned with some issues in the past with it. However, now the ESP8266's behavior has gotten too erratic... and my past colleague needs the project soon. While I realize this is a roundabout solution, I have NO access to anymore ESP8266's that I can use to fix the issue, as all in my batch are not stable. I do however have perfectly functioning NodeMCU's that I can use to give him a working solution to gather enough data to meet his deadlines.
ArduinoSerialSend.ino (14.1 KB)
NodeMCUSerialRecieve.ino (5.22 KB)