Hello all, I am new to the forums and to SunControl in general.
My goal is simple, I have a Raspberry Pi Zero that has a temperature sensor attached which reports ambient temperatures to a remote server every 20 minutes. I want to put this into my pumphouse so I can monitor the temperature in there, however the pumphouse does not have any outlets to power the Pi, so I want to use my SunControl to charge a Li-Ion Poly 2500mAh battery to provide power to the Pi via USB.
What I have: 1. Raspberry Pi Zero 2. SunControl - 0045-SUNCYL-DSBT 3. Solar Panel - 330mA /6V - 0111-SC330-DSBT 4. Li-Ion Poly 2500mAh battery 5. NTC Thermistor 10k ohm 1% B3950 L75mm Wired + 10k Ohm Metal Film Resistor - 0450-NTCTHERM-DSBT
I think I have all the parts I need, and I'm good with tech but I need some kind of starting point or "basics" tutorial to get an idea of how to proceed. So far I have not been able to find a basic tutorial, or novice level instructions to get started.
If anyone can either point me in the direction of the instructions, a tutorial covering what I am trying to do, or provide a simple diagram for setup it would be greatly appreciated!
Last Edit: Nov 12, 2021 11:55:03 GMT -8 by bigmark
Note: "A 10K Ohm resistor is included if you want to build a voltage divider. The 10K resistor is not required for SunControl." This is included with the Thermistor and was throwing me off but now I know I can "throw it away" ha ha ha
I am finding a bunch of info regarding enabling the pi built in WDT, and how to get it working. I am also finding info regarding how to connect a Pi to the the Dual Watchdog board (which I don't have), but there is laterally no information for how to connect the SunControl WDT to a PI without the Dual WDT. So now I am wondering if there is a way to just use the WDT on the SunControl? if there is can anyone help me with some instructions to connect my Pi Zero to the SunControl onboard Watchdog timer? I think The rest of the setup is just plug and play, but this part has me stumped, thanks in advance!
Please note; That's my sunniest window where no cats can get to. I just wanted to be sure the basic system works. So far it charges when the sun is out, stays powered on all night and charges again when there is sun.
One question about the panel. It has a protective "sticker" on it. Should I remove it or is that supposed to stay on?
Please let me know if you need anymore photos or what have you.
I've been studying the Suncontrol and PI schematic diagrams and think I've got it worked out. I'll mark up a schematic drawing this afternoon to post up for review then it's on to wiring it up and getting the programming worked out.
How do I define GPOI0 in the Watchdog config? I have it all hooked up and working, except I am not able to pet the dog, by working It reboots every 17 second like a charm. When I unplug the orange wire it stays running.
Please note the documentation on this site for setting up the internal Pi Watchdog is out of date per The instructions here ;
Check WDT module is enabled in kernel
In many tutorials you will find that you have to enable bcm2835_wdt or bcm2708_wdog modules using modprobe. Firstly, bcm2708_wdog is the old module that was replaced by bcm2835_wdt. Secondly, this module comes precompiled into kernel directly, so it doesn’t have to be enabled manually anymore and also it will not show when running lsmod.
That piece was crucial!
I was banging my head on the wall trying to figure out why the steps weren't working, thankfuly the ole Google machine had some answers. Sadly how to define the particular IO port in the conf is elusive...
Yes, that is correct. A pulse every 14 seconds. BTW, the time should be around 60 seconds. I wonder if you have the SunControl line on the SunControl board correct. Would you put a close up picture of the SunControl board.