Post by roadkingrandy on Sept 9, 2018 18:40:08 GMT -8
I'm using the Watchdog board in a GroveWeatherPi setup and everything works fine until I connect TP3 on the USB Power Control board to JP4 Dog1 Arduino Reset (both with battery charge up and on external power). Once I connect TP3 to the Watchdog, the Pi no longer boots up. The only LED that is lit is LED2 (GP0 State) on the SunAirPlus board. From other posts on the board, it looks like I need to change how I am connecting the Watchdog board, but I can't quite figure out what to do. Here's a pic of my board:
There's no discussion in the GroveWeatherPi doc of using the Grove connector instead of the pins. I'm ok with either approach since I have the Pi2Grover board, just need some guidance. Thanks!
Post by roadkingrandy on Sept 12, 2018 17:57:57 GMT -8
Roger that. Here's my pic and what's wired to what. - Orange: WatchDog JP4 Arduino Reset to TP3 on USB Power Control - Yellow: WatchDog JP7 Dog1 to Pi2Grover GPIO 11 - Red: WatchDog JP5 VDD to Pi2Grover GPIO 1 - Black: WatchDog JP5 GND to GPIO 6
I put in two pics - couldn't get the whole thing in focus. If I remove orange, system boots fine and Dog 1 and 2 LEDs blink as expected (no script running to pat the dog). If orange is connected, then only LED2 lights on the SunAirPlus board. No power LEDs light any other boards.
And they need to be closer than the ones above, please. My eyes are bad!
I've been reading through the documentation for the Watchdog and the USB Power Control boards as well as reading other threads on the forums about the Watchdog board. I switched the connection back to the Pi2Gover board to the Grove connector instead of using JP5 and JP7. I got the same exact behavior - Pi won't boot and the only LED that is on is the LED2 on the SunAirPlus board. My take on it is that the issue is the WatchDog JP4 Arduino Reset to TP3 on USB Power Control connection.
What does the USB Power Control expect the JP4-TP3 line to be set to in order to turn on power? I couldn't find a reference to TP3 in the USB Power doc. Is there an easy way to check the line without having any fancy test gear to determine what is being sent?
Looks same as mine and matches what the documentation says. Like I said on my post, I switched to using the Grove connector instead of the individual jumpers and it's acting the same way. I don't think the connection to the USB Power Control board is sending the right signal to TP3 to allow power to flow.
... I switched to using the Grove connector instead of the individual jumpers and it's acting the same way...
You connected the grove connector of the power controller to the grove on the watchdog? So, not the yellow wire I have, but grove to grove?
Correct - in the newer version of the Watchdog board like we have, they added the Grove connector. Using that instead of the 4 jumpers gives you VDD (power), ground and the 2 Watchdog resets. The Grove connector can use both Dog1 and Dog2 so when you connect it to the Pi2Grover board the two GPIOs on the Pi2Grover connection you pick are what you would use instead of whatever is on GPIO pin 11 (I think it was 17) to do the reset. So if you use the Grove connector, you'd need to mod the python script so you are sending the reset signal on the correct GPIO. Basically the same thing as using the jumpers, just a little easier to connect.
Important thing is that I still got the same behavior. No power to the Pi - that leads me back to the TP3 connection is the issue. Whatever signal the USB Power Control board is expecting, it's not getting.
... So if you use the Grove connector, you'd need to mod the python script so you are sending the reset signal on the correct GPIO...
OK, since I just have "a general idea" of what I am doing. I am no hard core technician, nor python programmer. I work my way around readme's I did not got that I would need to modify the python code to make it work, so that might me my problem...Could you point me to those changes? Besides that, I can try the grove connector, because if my setup fails because of the wrong code, I might get lucky with the grove cable. In either case it would be wordth trying. On the other hand... When all is powered off, there is no code that would cause the setup not powering on... I think...