Comments
Login to post a comment...
Setting up an Atmega32L on a breadboard and programming with an Arduino.
|
Update:2-20-11: Changed main image for minimal setup. Included Arduino board reset disable resistor (120ohm 5v to ground on Arduino). YOU HAVE TO USE THIS IF YOUR USING THE ARDUINO TO PROGRAM THE CHIP! Failure to do so, will end up getting you random errors from literally everywhere. Update:2-10-11: THE PROPER WAY to set up an Atmega32L micro on a breadboard to bootload or program using the Arduino as an AVRISPv1 using the ArduinoISP sketch that comes with the Arduino IDE. See the image gallery for images of this configuration on a breadboard and pix of the avrdude.exe program utilizing and reading the Atmega32L chip. Sources are in external links. (Previously/Atmega32LBrokeOut-updated.fzz) The Atmega32L completely broken out for ALL 40 pins of the chip with explanations and connected to an arduino running the ISP program to burn a program into this mammoth chip! The Atmega32L (the dip brethren of the smd chip used in the Arduino Mega) can be a daunting task to use by itself outside of a premade board. I made this because I am going to be using it in a project, and hoped to give people insight on how useful this chip can be when needing a good amount of outputs (and cheaper than buying 4: 3 to 8 line decoders, or a more expensive 64 led driver IC. I will be driving 64(x2 - 64 red/64 green) leds with this one chip to save space, time, and cost on the project :) Fixed wire short on project and image. |
ImagesFilesLinks |
ciken # Feb. 1, 2011, 11:42 a.m.
wath is the codehexskrew # Feb. 2, 2011, 6:52 p.m.
Well there isn't any real code to this project per-se just a breakout of the Atmega32L micro, a small explanation of the pin outs, and how to connect it to an Arduino (or you can use an AVR-Programmer of choice to substitute) to burn the bootloader and programming. When I get a chance I will link the code to program it.hexskrew # Feb. 2, 2011, 7:04 p.m.
Here is some resources for this (and what I used for reference): Connecting an Atmega chip to be programmed/bootloaded from an arduino http://arduino.cc/en/Tutorial/ArduinoISP Standalone Atmega chip on a breadboard: http://arduino.cc/en/Main/Standalone PDF from Atmel on the Atmega32L, and what I specifically used to explain the pins, and what helped me create the Frizing markup of the Atmega32L chip: http://www.atmel.com/dyn/resources/prod_documents/doc2503.pdf I have actually not performed the process of programming the chip yet (just got it in the mail and haven't had a chance to set it up) but I will be reporting a lot of info on how to set it up and everything here as I get through it.