Atmel Breadboard Setup
- Created on Sunday, 23 November 2008 04:19
- Last Updated on Wednesday, 30 April 2014 22:18
- Written by Mike Holden
- Hits: 16063
Not many connections are required to run code on these chips. The programming cable and power are about it.
Power requirements are best met with a regulated 5V supply. Either a bench-top supply or regulated batteries. If you don't have a bench-top supply, your best bet is to use a 9V battery and a 5V regulator such as the 7805. The regulator can be found at places like Radio Shack, Jameco, Digi-Key, or our SFSU Engineering stockroom. The regulator connections are simple: the ground goes to the chip ground and the battery -, the input goes to the battery + and the output goes to the chip's Vcc.
Note on motors and sensors: if you use DC motors or servos in your system, run them from a separate battery pack from your sensors and controllers. This may save you some debugging problems due to power spikes and power-supply noise. Connect the grounds of both batteries together. If you want to run from a single battery, do your development with separate batteries and then connect to the single power supply once everything else is working.
Here's a picture of a mega-32 on a breadboard without a regulator and battery.