Forum
EasyIoT server
ESP8266 EasyIoT Driver
Arduino ESP8266 DHT22, code stop running randomly
Arduino ESP8266 DHT22, code stop running randomly
Less
More
Posts: 18
Thank you received: 2
9 years 8 months ago #791
by subsix
Hello,
I got problem's with my Arduino ESP8266 sensor, the sketch stop running after some hours, and the server say:
2015-03-08T18:05:56.6128940+00:00 INFO Esp8266 N1S0 Sensor.Humidity 32.4 -
2015-03-08T18:05:57.0161710+00:00 DEBUG Esp8266 Rx:68-02-00-01-03-02-FF-00-C0
2015-03-08T18:05:57.0178130+00:00 DEBUG Esp8266 Receive: command:
3, type: 2, len: 9, sender: 1, sensor:255, crc: 192(OK)
2015-03-08T18:05:57.0212280+00:00 DEBUG Esp8266 Receive: Ping, nodeId:1
2015-03-08T18:05:57.0240910+00:00 DEBUG Esp8266 Tx:68-02-00-01-03-02-FF-00-C0
2015-03-08T18:05:57.0270950+00:00 DEBUG Esp8266 Transmit: command:
3, type: 3, len: 9, sender: 0, sensor:255, crc: 120, data:
2015-03-08T18:06:09.0923490+00:00 DEBUG Esp8266 Cient timeout
2015-03-08T18:06:09.0971890+00:00 INFO Esp8266 N1S0 Status.Connection 0 -
2015-03-08T18:06:09.1009660+00:00 INFO Esp8266 N1S1 Status.Connection 0 -
Thread was being aborted
2015-03-08T18:06:10.1176330+00:00 INFO Esp8266 N1S0 Status.Connection 0 -
2015-03-08T18:06:10.1244860+00:00 INFO Esp8266 N1S1 Status.Connection 0 -
The object was used after being disposed.
Please Log in or Create an account to join the conversation.
Less
More
Posts: 862
Karma: 25
Thank you received: 264
9 years 8 months ago #826
by EasyIoT
subsix wrote: Hello,
I got problem's with my Arduino ESP8266 sensor, the sketch stop running after some hours, and the server say:
2015-03-08T18:05:56.6128940+00:00 INFO Esp8266 N1S0 Sensor.Humidity 32.4 -
2015-03-08T18:05:57.0161710+00:00 DEBUG Esp8266 Rx:68-02-00-01-03-02-FF-00-C0
2015-03-08T18:05:57.0178130+00:00 DEBUG Esp8266 Receive: command:
3, type: 2, len: 9, sender: 1, sensor:255, crc: 192(OK)
2015-03-08T18:05:57.0212280+00:00 DEBUG Esp8266 Receive: Ping, nodeId:1
2015-03-08T18:05:57.0240910+00:00 DEBUG Esp8266 Tx:68-02-00-01-03-02-FF-00-C0
2015-03-08T18:05:57.0270950+00:00 DEBUG Esp8266 Transmit: command:
3, type: 3, len: 9, sender: 0, sensor:255, crc: 120, data:
2015-03-08T18:06:09.0923490+00:00 DEBUG Esp8266 Cient timeout
2015-03-08T18:06:09.0971890+00:00 INFO Esp8266 N1S0 Status.Connection 0 -
2015-03-08T18:06:09.1009660+00:00 INFO Esp8266 N1S1 Status.Connection 0 -
Thread was being aborted
2015-03-08T18:06:10.1176330+00:00 INFO Esp8266 N1S0 Status.Connection 0 -
2015-03-08T18:06:10.1244860+00:00 INFO Esp8266 N1S1 Status.Connection 0 -
The object was used after being disposed.
This is just message that Arduino stops sending ping. EasyIoT server works ok. Problem is on Arduino side. Did you check serial debug on Arduino node?
The following user(s) said Thank You:
subsix
Please Log in or Create an account to join the conversation.
Less
More
Posts: 18
Thank you received: 2
9 years 8 months ago #828
by subsix
hello,
i think my power supply is not correctly decoupled, i 'll check.
Please Log in or Create an account to join the conversation.
Less
More
Posts: 46
Karma: 4
Thank you received: 5
9 years 8 months ago #837
by tonyn79
I have the same issue too. Sometimes it will run for a day, sometimes for an hour. The arduino seems to get locked up, I put a blink test in the program and it stops. Just hit reset on the arduino and its back up and running.
Please Log in or Create an account to join the conversation.
Less
More
Posts: 862
Karma: 25
Thank you received: 264
9 years 8 months ago #838
by EasyIoT
tonyn79 wrote: I have the same issue too. Sometimes it will run for a day, sometimes for an hour. The arduino seems to get locked up, I put a blink test in the program and it stops. Just hit reset on the arduino and its back up and running.
Do you use latest EasyIoT ESP8266 Arduino library? Which version of firmware do you use?
Please Log in or Create an account to join the conversation.
Less
More
Posts: 46
Karma: 4
Thank you received: 5
9 years 8 months ago #839
by tonyn79
I am using the 0.9.5 on the esp. on the library I saw on another post you suggested the latest and I downloaded from git. The server has the same output as above. Serial monitor was frozen in middle of a cipsend command. It works perfectly other than the lock ups. I am puzzled because every other example works perfect, until there is advanced coding. I have another post up about the dimmer not working on uno or pro mini, yet fine on mega. What are thoughts on watchdog implementation? For the lockup issue. Thank you for your time.
Please Log in or Create an account to join the conversation.
Forum
EasyIoT server
ESP8266 EasyIoT Driver
Arduino ESP8266 DHT22, code stop running randomly
Time to create page: 0.267 seconds