Instructables

Altoids Solar powered emergency device - ATtiny 85

My first instructable...

This is an emergency survival kit with ATtiny85 it has many features for outdoor survival whilst also providing means of help via morse code SOS flash...

The device itself is run of 3 AAA rechargeable batteries that charge via solar panels attached to the lid of the tin, the device can charge up USB powered devices charges up super bright LEDS that flash SOS. 

and whatever else 

Tools Required

1. Solder Iron - with solder (of course).
2. Usb Connector 
3. 2x 10uF and 1x 1uF electrolytic capacitor
4. 5V Regulator 
5. 560 Ohm resistors - (Or anything suitable) 
5. ATtiny 
6. A few LEDS
7. Glue Gun
8. Wire
9. A tin - preferably metal 
10. A plain PCB - would use less room than a copper strip board    
 
Remove these adsRemove these ads by Signing Up

Step 1: First steps USB charger

Due to my buying a stripboard i need to use more space on the board, but first steps ...

Cut the board to the shape of the tin but leave some gap at the front and right side for the LEDS to go.

I used this tutorial on how to make a 5V regulator http://www.instructables.com/id/5v-Regulator/ .... This circuit worked fine with a 9V battery outputting just over 9V to the usb with exactly 5 volts...

I created  2 strips on the board ground & live that way it was easier for me to connect everything 

Solder everything into place and you have a USB charger (once you connect a battery).

I positioned the 5v reg to the back of the board that way when everything is in place i can attach it to the tin and use the tin as the heat sink,
diy_bloke4 months ago

nifty idea.
not that it really makes a difference, but you can spare a byte by changing int pin=0; into byte pin=0;
but i guess one could care less in the wild. :-)