|
Post by Bob on Nov 2, 2017 15:57:57 GMT -8
Thank you so much. I've connected everything correctly, but every time the WatchDog Dual light indicator flashes, the Raspberry Pi gets rebooted.
|
|
|
Post by SDL on Nov 3, 2017 9:49:32 GMT -8
You aren't patting the Dog. When it flashes, it has been triggered and it is supposed to reboot the Pi. Check your code and your GPIO line connection.
Best,
BP
|
|
|
Post by Bob on Nov 5, 2017 10:19:36 GMT -8
I'm running the GroveWeatherPi software. Isn't the patting of the dog code already part of the GroveWeatherPi.py script?
|
|
|
Post by SDL on Nov 6, 2017 6:00:03 GMT -8
I'll bet you don't have it wired up correctly somehow. How do you have it connected?
BP
|
|
|
Post by reporter500 on Nov 6, 2017 6:16:06 GMT -8
Instead of using the Grove connector, I decided to wire it up the original way and it's working great! Thanks for your help.
|
|
|
Post by marcelser on Jan 21, 2018 7:13:39 GMT -8
Hi,
I also have problems to make the watchdog work. Do I get this right that I need to get somwhere a grove connector to make it work? Where can I get one and why is it not supplied? I think most people don't have grover connectors lying around and how can I connect the grover pin1 to 3,3v if VDD pin is already connected there. Or do I just connect pin1 from the grover instead of the VDD? Can I also accomplish this somehow without grove connector by just using onboard pins?
Also I would like to know which one of the two pins on the PI3 run header is the pin which I have to connect? I couldn't find any documentation on this?
Thank you.
|
|
|
Post by SDL on Jan 21, 2018 18:29:12 GMT -8
|
|
|
Post by marcelser on Jan 25, 2018 11:48:16 GMT -8
ok, I figured out the pin layout of the Watchdog, soldered the reset pin header on the RPI. I also have board version 110216-01-001. I don't have a grove connector yet, so I thought I'll just connect Power and nothing else but the LEDs don't blink. So I guess the LEDs will start blinking when I connect Pin1 of the Grove Connector (once I get the cable I ordered) with Pin23 on the GPIO Header which is another 3,3V Pin, right?
|
|
|
Post by SDL on Jan 25, 2018 20:06:14 GMT -8
Yes, that is correct.
Note: For boards version 110216-01-001 and earlier, Pin 1 and Pin 2 of the Grove Connector needs to be connected to VDD for the pin header inputs to work correctly.
BP
|
|
|
Post by marcelser on Jan 30, 2018 14:53:10 GMT -8
Ok, finally I got my grove to gpio cables I ordered today and connected Pin1 of the Grove Connector to 3,3V and then Watchdog1 started working, means the leds were flashing approximately every 1:20. So I wrote a small python program to pat the dog every 30 seconds and did some tests and the blinking stopped. When I stopped the program the pi was reset just fine after the preset time after last patting the dog have expired. So I let the system sit there thinking that it's running fine.
FINAL UPDATE: I tried watchdog1 and watchdog2 after some time both of them go berserk without any reason. Can take 30 mins or 2h but after some time they go into this 4-5 seconds neverending reset loop. So something is badly broken with this version of the board. The interesting thing is last time when it happened I pulled the GPIO cable connected to the RESET pin header. So that the pi3 stopped this reset loop. When the PI3 was properly booted and started sending GPIO commands again to pat the dog the 4-5 seconds reset loop on the watchdog stopped. Nevertheless once the watchdog enters this mode the pi can never boot in 4-5 seconds and send the GPIO command
So please support team advise? What should I do know with this board? How to make it properly work?
|
|
|
Post by SDL on Feb 4, 2018 19:21:40 GMT -8
Marcelser,
Something is hosed up here. 4-5 seconds make no sense. How often do they blink with no patting?
Write a program to do this to monitor what is going on.
Disconnect the Watchdog from the Pi3 Reset Pin
Hook up the pin coming from the WatchDog (that was going tot he Reset Pin) to a GPIO input on your Raspberry Pi.
Then write a program that monitors the reset pin all the while periodically patting the dog.
See if you can catch the odd situation you are seeing, (since you aren't reseting the Raspberry Pi - this MIGHT be a Pi problem).
Another suggestion:
Try putting a pullup resistor on Pin 1 and Pin 2 (say 10K or so) up to VDD on the Grove Connector and see if that helps.
BP
|
|
|
Post by myang5 on Aug 8, 2019 16:59:27 GMT -8
Hello,
I'm also having some trouble with the WDT, except it doesn't seem to be resetting the Pi and the LEDs don't blink. Before soldering anything to my Pi I just wanted to make sure I understood the wiring. I'm working on the GroveWeatherPi project using a the newer WatchDog Timer model 100217-01-001 with a Raspberry Pi 3B, and without a grove connector.
So I would need to:
1) Connect Dog 1 pin to a GPIO on the Pi (in this case GPIO17)
2) Connect VDD and GND to 3.3V and GND on the Pi
3) Connect Arduino Reset to TP3 on the USB PowerControl
3) Connect the Pulse High pin to the RUN Pin of the P6 header (the square one?)
With the new WatchDog I no longer need to connect the grove pins to VDD, right? Do we not need to connect the P6 GND pin to anything? From the tutorials I've been reading I thought you'd need to somehow connect the RUN and GND pins to reset the Pi.
Thank you for the info so far!
|
|
|
Post by SDL on Aug 9, 2019 7:38:45 GMT -8
Make sure you are powering the WatchDog with 3.3V. You already have a common ground. I don't think you need to do the TP3 if you are using the RUN pin. You need to put a pullup (3.3K Ohm) from 3.3V to the Run pin to make this work. WDT does not pullup that signal. I would suggest you look at this article. I think this is a better way to do it. www.switchdoc.com/2019/07/skyweather-adding-watchdog/BP
|
|