Atmel ATMEGA328P-PU 20MHz (Pack of 2)
![]() Click to enlarge |
|
Atmel's ATMega328P-PU 8-Bit Processor in 28 pin DIP package. 32K of program space. 23 I/O lines, 6 of which are channels for the 10-bit ADC. Runs up to 20MHz with external crystal. Package can be programmed in circuit. 1.8V to 5V operating voltage!
What's included
- 2 x ATMEGA328P-PU 20MHz DIP
Pinout diagram

Are you experiencing errors, then read this article!
Burning Arduino Bootloader onto ATmega328 with AVR ISP Shield from Sparkfun
by Frikkie du Toit
05 July 2012
Overview of the Problem
The Arduino Uno board (and some others) use the ATmega328P microcontroller, which is the picoPower version of the ATmega328. When you try to burn the Arduino bootloader to an ATmega328 (version without picoPower), the Arduino IDE will return an error. The problem is that the ATmega328 and the ATmega328P has two different device signatures. Avrdude (the part of the Arduino IDE that uploads the program to the Arduino board/microcontroller) verifies that the target device has the correct device signature, and because the Arduino boards use the picoPower version of the ATmega328, it expects the device signature of that version, and not the ATmega328 without picoPower.
Fixing the Problem
Avrdude has a configuration file, located in the Arduino software folder in:
hardware\tools\avr\etc\avrdude.conf .
This file contains a list of all the AVR microcontrollers supported by Avrdude. Search for ATmega328P in that file. If you look a couple of lines down in the ATmega328P section there should be an option that says:
“signature = 0x1e 0x95 0x0F;”. Change that line to read: “signature = 0x1e 0x95 0x14;”.
Basically you just change the last part from “0x0F” to “0x14”.
Just save the file and continue with the instructions on arduino.cc/en/Tutorial/ArduinoISP .
Notes

- You only have to follow the above steps if you are using the ATmega328 microcontroller, not if you are using the ATmega328P
- The full microcontroller part numbers contains information about the package type. The part number of an ATmega328 could be something like ATmega328-PU or ATmega328-AU. The PU part at the end does not mean it is the picoPower version, it only indicates the package type. ATmega328P-PU is the picoPower version.
- This is just a temporary fix. After you have finished burning the Arduino bootloader to the ATmega328 microcontroller, you should change the device signature in the Avrdude configuration file back to the way it was. Otherwise you will not be able to upload new sketches to your Arduino board.
- You might need to install a proper text editor like Notepad++ to be able to edit the Avrdude configuration file. Notepad (supplied) with Windows will not be able to display the configuration file in a easily readable way.

Categories
Shopping Cart



Information
