I got my voltage divider working just fine, but are now going to use that to shut the system down before it reaches an alarmingly low voltage, but how to do that?
It is easy for me to check what the voltage is, but what hardware could I use for it? I was thinking about it holding a reed relay, but if I could, I would love to avoid something like that.
Was then considering a normal switch, with a servo mounted next to it, which would then switch the entire system off, but that sounds a bit like bodge.
Any other ideas on how to switch everything off, and at the same time easily be able to switch everything back on manually.
Below is a link to a schematic of a auto shutdown circuit I've used using a 5vdc single coil latching relay. I found the relay on E-bay. The main advantage of this circuit is that the relay draws zero current when on or off, just brief current while it's switching states. Turn on is by the momentary push switch, the program at startup pulls the output pin high to latch the relay on. When the program wants to power off, it just pulls the output pin low.
hehehe, I just ordered a handfull of those (the relays)
Going to be perfect Also put in so that it sends me an email when it does the auto kill.
Next thing I am thinking about, is if I can make it look after it's charger...
Maybe something with an blinking IR diode, where it can recognize it on the blinking interval, and then drive towards it... Maybe combine it with a line follower, so it got a bigger plate around it, where it can find the line, and then follow it to get inside the charger.
Inside it will have a LED showing the status on the charger (blinking fast for bad connection, full for charging, blinking slow for done), and a photoresistor on the tank to check the status.
Think the line follower might be the best solution to get it inside, as soon as it gets close enough, it will be made so it only have to go forwards, the sides of the charging stand will make it align up right.