I also decided to add a few extra features like monitoring the solar brightness and the temperature within the enclose as it could well get quite hot in full sun in the Summer. The connection from the solar source is currently a bit crude with a 1M Ohm resistor in series to a MCU pin, but it kind of works. The next iteration will have a proper bridge circuit. The DS18B20 temperature sensor worked well although a surface mount alternative would be better. Just needed to remember not to connect it to pin 2 on the MCU as otherwise the MCU cant be programmed. Pin 2 is fine for LEDs, but not much else.
Although a few problems were solved, I also managed to screw up the low power performance of the device by hacking a through hole NPN transistor into the battery voltage sensing circuit. I've currently no idea why it caused problems, but after it was removed, the battery no longer suffers from critical discharge and everything behaves as expected. It might be the type of transistor so the next PCB will have the option to include a SMT transistor or bypass it with a zero Ohm resistor. This way, if the transistor is still a problem, it can be removed without wrecking the design.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.