iotool / attiny13a-solarcontrol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ATtiny13A Solar Controller with Arduino IDE

  • ADC3 = read vcc (using a 1.6V led as Vref)
  • ADC4 = info led (blinkcode: 1x 2.6V, 2x 3.0V, 3x 3.6V, 4x 4.2V)
  • PWM0 = switch 1 (on over 3.65V / off below 2.61V)
  • PWM1 = switch 2 (on over 3.05V / off below 3.05V)

This ATtiny solar controller charges a supercap to 3.6 voltage and power on a ESP8266. After reaching 3.6V the ESP866 can powered on by a MOSFET to upload sensor values. If the supercap goes under 2.6V the ESP8266 will power off and charging restarts. 

upload binrary via Arduino as ISP

C:\arduino-1.6.8\hardware\tools\avr/bin/avrdude -CC:\arduino-1.6.8\hardware\tools\avr/etc/avrdude.conf -v -pattiny13 -cstk500v1 -PCOM4 -b19200 -Uflash:w:C:\Temp\attiny13a_solar-control.ino.hex:i

unlimited tenor

This project using a supercap as a substitute for rechargeable battery charged by a solar panel. You will need 5 minutes to charge a 0.47F supercap to 3.6V with a 6V solar panel 110x60mm to consume 470mAs. A supercap 1.5F 5.5V needs 25 minutes at 6V solar panel 136x110mm. With 1500mAs you can run a ESP8266 for round about 30 seconds to messure and upload sensor values.

About


Languages

Language:Arduino 100.0%