Atmega328p

From Attie's Wiki
Revision as of 01:24, 24 November 2010 by Inumitope (Talk | contribs)

Jump to: navigation, search


Under Construction! Please Visit Reserve Page. Page Will Be Available Shortly


CLICK HERE


Info on the ATMega328p hardware:

<h2>data sheet</h2> http://attie.co.uk/file/ATmega328p.pdf<br>

<h2>icsp pins</h2>

<h3>connecting to bus pirate for use with avrdude</h3>

brown miso 1 2 vcc (3.3v) white
yellow sck 3 4 mosi orange
red reset 5 6 gnd black

pin 2 can use the gray wire for 5v instead of 3.3v if your circuit is okay with that

<h2>pin mapping:</h2> Atmega168PinMap2.png<br> source: http://arduino.cc/en/Hacking/PinMapping168

<h2>firmwares:</h2> The arduino environment comes with a few variations of the firmware (<code>&lt;path to arduino&gt;/hardware/arduino/bootloaders/atmega</code>)<br> load them like this:<br> <pre> $ avrdude -c buspirate -P /dev/ttyUSB1 -p m328p -U flash:w:ATmegaBOOT_168_atmega328_pro_8MHz.hex </pre> This table shows which arduino (that I own...) uses which firmware<br>

Filename Processor Arduino Boards
ATmegaBOOT_168_diecimila.hex ATMega168 @ 16Mhz Diecimila, Duemilanove, Nano
ATmegaBOOT_168_atmega328_pro_8MHz.hex ATMega328p @ 8Mhz Pro Mini, Fio

<h2>resources</h2> https://www.mainframe.cx/~ckuethe/avr-c-tutorial/<br> http://hintshop.ludvig.co.nz/show/buspirate-avr-programming/<br> http://itp.nyu.edu/physcomp/uploads/6pinAVRproghead.jpg<br> http://dangerousprototypes.com/bus-pirate-manual/<br> http://www.ladyada.net/library/arduino/bootloader.html

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox