Creative Commons images are CC BY-NC-SA 3.0

8.80

added to your
shopping cart

quantity
In stock 160 in stock
8.80 1+ units
7.92 10+ units
7.04 100+ units

Description: Atmel's ATMega32 8-Bit Processor. 32K of program space, 32 I/O lines, 8 of which are 10bit Analog to Digital converter capable. Runs up to 16MHz with external crystal. Package can be programmed in circuit and be debugged with AVR-JTAG.

Documents: Atmel Datasheets

Comments 12 comments

  • Works great with Sparkfun Pocket AVR Programmer (http://www.sparkfun.com/products/9825)
    avrdude -c usbtiny -p atmega32 -U flash:w:main.hex

  • I have found how to burn the Arduino Bootloader to the chip and have uploaded an Arduino sketch with this chip
    I have documented a full how to for this for either the 8mhz internal oscillator or an external 16mhz oscillator here:
    http://arduino.cc/forum/index.php/topic,52223.msg372392.html#msg372392
    The Arduino IDE is used to compile the sketch however I have not figured out how to flash the sketch straight from the IDE. For now you have to compile it in the IDE, and then copy the hex file out of the temp folder for the sketch and flash it to the chip using avrdude or any preferred flash utility*
    Hope to fix up something for the ide soon. I’ll keep you AVR heads posted :)

    • It should be possible to modify boards.txt to add an entry for this chip over ISP, shouldn’t it? Something like this: http://blog.lincomatic.com/?p=10

  • You guys should really hop on the Picopower bandwagon. The ATMega32 is old. The ATMega324p is the low power replacement, adding an extra UART, pin change interrupts on every I/O, and some other clock features.

  • I learned everything about AVRs on this guy, but I moved on to the 644p because all its extra features and speed also the fact that my robotics course is using the 644p

  • is it possible to download the arduino bootloader thingy on this??

    • nojo:

      is it possible to download the arduino bootloader thingy on this??
      Yes you can, but you have to either A. get the AVR programmer, B. get a dev board for it, or C. if you already have an arduino, wire the chip to the arduino board and use the ICP program (In Circuit Program) to program it with. It’s basically like turning the Arduino into an AVR programmer.

      • SparkFun sells an AVR serial programmer for like $12 (https://www.sparkfun.com/products/14 – I think it’s the same schematic as the “PonyProg”, http://8051expert.com/index.php)

        I bought the SparkFun one (as opposed to building it myself) and tried it with a USB->Serial converter and it works fine in both Windows and Linux for me with the AVR Dude software (YMMV).

        (I also bought the crazy expensive USB Flash drive programmer that SparkFun sells, it’s a bit faster with AVR Dude, but I was never able to make the “USB flash drive” functionality work, it definitely was not worth the ~$70 USD. lol, Get the cheap one, you won’t regret it.)

        However, if you’re going this route already, you may want to ask yourself if you really need the Arduino platform. GCC / WinAVR / etc gives you an open-crossplatform-toolchain to develop with, and you’re already doing everything manually anyway – no reason to tie yourself down with Arduino.

        Also, once you learn one part, you can start ordering application specific parts – why spend $18 on an Arduino for every project, when your project might be able get away with a smaller $4 ATTINY2313, and for the big projects spend the $8 and get the ATMEGA324/ATMEGA64 etc…? ;-)

        (One piece of advice: Navigating the data sheets can be a bit of a hassle, especially when it comes to programming the fuse bits – for those, just Google for a website that does pre-calculated fuse bits for you – there are a ton, and make sure it has the chip you’re working with, and try it out – and don’t lock or write protect the device (or program the reset pin to be an IO pin!!!!) if you plan on flashing the device again, because once you do any of those, the chip is pretty much done.)

        • I know this is a bit late, but I figure someone might see it and find it useful. For a few more bucks, you can get the AVR Pocket Programmer (https://www.sparkfun.com/products/9825), which is going to be quite a bit better than the serial programmer (it’s smarter than a bitbang programmer, has indicator leds, can power the target, uses a usb instead of a serial port, has both the 6 and 10 pin ISP connectors, etc).

          There are reports that it doesn’t work well in Linux, but I haven’t had a single problem with it. Linux detected it fine, and it worked out of the box with avrdude (Ubuntu 3.10) for programming my attiny84 and atmega328 chips.

          • Yup, it’s awesome as long as you’re running your AVRdude or Arduino IDE with sudo. Took me a bit to figure that one out. Too bad it doesn’t have FTDI built in……… cough cough.

  • Yes, they need to for all their chips. I hated to see the atmega 8/186 go because atmel discontinued them in favor of picopower versions. I wouldhate to see this one go when atmel does the same with it.


Related Products