Hi.
I wrote an application to monitor temperatures using Netduino plus 2 and DS18B20. Netduino reads temperature and then send it using socket to another host - on that host another application listens for tcp connections, gets data from netduino and writes this data to database. I meet an issue - Netduino plus 2 hangs from time to time and I need to restart it.
I wonder if there is any possibility to use some kind of watchdog which will control if netduino sent data to server host and when not will restart it automatically?
Is there any possibility to use for example some kind of software timer which will work in background thread? If I can set it to count from 1 minute to 0 and when 0 is reached to restart netduino and start it in the background and reset the timer after every successful data exchange
2 replies to this topic
#1
Posted 07 February 2015 - 09:55 PM
#2
Posted 08 February 2015 - 08:29 AM
I had the same problem lately and ended up using an external watchdog chip (MAX6371).
You have to connect it to the power of the miniJTAG. Otherwise it will not work, because power is also reset on the normal pins with the reset and the watchdog chip will not work proper.
Attached Files
#3
Posted 08 February 2015 - 08:36 AM
dino4net - thanks. Could You send me some code example how You implemented this solution - I'm beginner in Netduino programing
- Normaspinc likes this
Also tagged with one or more of these keywords: netduino, watchdog
General →
General Discussion →
Netduino for my first productStarted by vishnusmoke , 12 Nov 2015 netduino, production, product |
|
|
||
Hardware →
Netduino 3 →
ND3 hangs calling File.Delete()Started by ukkiwisurfer , 06 Nov 2015 SD, Wifi, Netduino |
|
|
||
Hardware →
Netduino Mini →
Flashing Netduino Mini with Netduino 3Started by tridy , 13 Oct 2015 flashing, mini, netduino |
|
|
||
Hardware →
Netduino Plus 2 (and Netduino Plus 1) →
Why do I have to reboot my device to change the IP address?Started by cSharper , 31 Jul 2015 webserver, ip, netduino, change and 1 more... |
|
|
||
Hardware →
Netduino Plus 2 (and Netduino Plus 1) →
N+2 & Adafruit 7-segment LED Display with HT16K33 BackpackStarted by LennySh , 25 Jul 2015 Adafruit, seven, segment, LED and 5 more... |
|
|
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users