USB Basic Analog Electronics Board

by geniusbomberman in Circuits > USB

2959 Views, 9 Favorites, 0 Comments

USB Basic Analog Electronics Board

IMG_2027.JPG
This is a guide to making a board for under $15 that provides 5 volt power and basic parts used in electronics prototyping.  Most of the parts can be found at radio shack, and still have reasonable prices.  This is useful when prototyping and is good for beginning solderers.

Parts and Tools

IMG_2010.JPG
Tools:
wire strippers
wire cutters
soldering iron and solder
electrical tape(optional)

Parts:
5 leds
5 100 ohm resistors
4 position DIP switch
Momentary pushbutton
5 1k ohm resistors
one small piece of perfboard/veroboard/breadboard
13 long female header
assorted wire, 3+ colors would be good
USB cable, one end must be male/A(standard)
2 10k ohm resistors(optional)
light sensitive resistor(CDS photocell)(optional)

I find futurlec.com is also a cheap place for these parts, but shipping will take a few weeks.

The Cable

IMG_2011.JPG
IMG_2013.JPG
IMG_2014.JPG
first, cut the cable at the distance you want.
next, strip away the insulation of the cable and the red and black wires.
Bend the wires away from each other, and solder them to the board.

The Input- Switches and a Button

IMG_2015.JPG
IMG_2016.JPG
IMG_2019.JPG
IMG_2020.JPG
MCU_single_button.JPG
The input consists of 4 switches and a button.  Then each have a pull up resistor.
Solder to every switch individually.  If you put the switch so that the metal tabs are up and won, the left and right sides are the two sides of it and are connected.  For each switch or button, solder one side to 5v, then connect the other side to ground through a resistor and to the female header by a wire.

Output-LED Lights

IMG_2021.JPG
IMG_2022.JPG
Next, solder in the LEDs.  The shorter legs, or cathodes, should all be connected to ground.
The longer legs, or anodes, should each be connected to part of the pin header by a resistor.

Optional Analog Input- Photo-sensitive Resistor

IMG_2023.JPG
IMG_2024.JPG
This step is optional.
Solder in the photo-resistor.  Connect one side to ground. Connect the other to 5v through 2 parallel 10k ohm resistors.  connect the spot in between them to the female header.  This will allow any micro-controller to sense the light level.

Optional- Add a Case

IMG_2025.JPG
IMG_2026.JPG
IMG_2027.JPG
If you want, you can add a case to this project.  Try to attach the USB cable to it.  I wrapped mine in electrical tape except for the inputs and outputs.  Radioshack also makes cases for the board that would work.