I have always wanted to make something using an alotids small case but I could never figure out what until recently! This covers how to make a LED tester ( with voltage selection)/ flash drive. It uses usb as a power source (5 volts) and there are two options of voltage ratings to choose from when testing an led, you can choose 3.3 or 5 volts with the slide of a switch. I know 5 volts isnt a common rating for leds but it works for some and you can use it to test higher rating leds (just be sure not to keep it on long or it could fry a led). you dont have to incorporate the flash drive, i just thought it would add more of a wow factor it it :p
as you can see in the picture there are two switches. i will explain what they do soon.
Step 1: Things Needed
male usb cable (with data and power wires)
altoid small tin
2 spdt switches
cord socket (or ic socket) this is for testing leds.
3.3 voltage regulator
flash dirve (optional)
and all the proper tools.
Step 2: A Look at the Schematic
this is the schematic, pretty simple. I left out a led i added for the flash drive. if you need help with that just ask.
there are two switches the first switch is used to select the flash drive or the led tester if you select the drive it can be used like any flash drive ( i named mine altoid :p) and once i select thee flash drive the green led indicates its in use, when you select the led tester it goes to another switch and from that switch you can select which voltage rating you would like to use. keep in mind you can adjust the voltage ratings to your liking or even add more voltage selections, i selected 5 volts and 3.3. In my other led tester i used 5 to 4 to 3.3 to 1.7 to 1.2 and so on. click on the picture to enlarge it.
Step 3: Prepare the Tin.
figure out where all the componets would be going then make the holes using a dremel. When figuring out where the componets will go keep in mind that you need enough room to close the tin so choose carefuly.
Step 4: Step 4, Circuit
the way I started was i secured both switches and worked on from there. complete the circuit inside of the tin and secure what needs to be secured. also with the flash drive it helps if you use a small one or do what i did which was i desoldered the usb male connecter from the flash drive and soldered the wires directly to the board. (don forget to insulate the tine with tape) Im not going to do a step by step for the circuit because it is fairly easy, but if you are having trouble just ask me questions :p
Step 5: All Done. Some Glory Shots of the Tiny Device
just some pics