Hello,
I have a simple temp/humidity sketch loaded into an Arduino UNO board. I will post the entire sketch if necessary but I thought I would first ask the general question to see if there's a simple answer such as a hardware related issue. If not, then I can post the code.
Basically, I have the UNO board with a DHT11 module uploading temperature and humidity via WiFi to a local server. it works perfectly until for unknown reasons, the rig starts sending duplicate lines to the output. It does it at random intervals. Could be 5 minutes, couldbe several hours.
The rig continues sending this non working data to the serial monitor indefinitely until I power down the rig and re power it. I do not know if the ESP8266 is causing this ir if it is the UNO board itself.
Here is the code in the Serial Monitor that occurs when the rig stops sending working data to the WiFi network....
First here is the output that works.......
OK
AT+CIPSTART="TCP","192.168.0.103",80
OK
AT+CIPSEND=76
OK
GET /temphumid/temphumid.cfm?humidity=57.000&temperature=78.120 HTTP/1.0
And here is the output when it stops working......
OK
AT+CIPSTART="TCP","192.168.0.103",80
AT+CIPSTART="TCP","192.168.0.103",80
OK
AT+CIPSEND=76
AT+CIPSEND=76
OK
GET /temphumid/temphumid.cfm?humidity=56.000&temperature=78.660 HTTP/1.0
GET /temphumid/temphumid.cfm?humidity=56.000&temperature=78.660 HTTP/1.0
Why is it duplicating those lines?
If there is a simple explanation for this, great. If not I can post the entire sketch.
Thank you in advance for your help.