Loading...
Pages: [1] 2   Go Down
Author Topic: Pinout of 328 chip  (Read 866 times)
0 Members and 1 Guest are viewing this topic.
uk
Offline Offline
Sr. Member
****
Karma: 0
Posts: 310
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hi
im learning to lay out a pcb and want to put the atmega328 chip into it, i really just want to be double sure on the pin out of the chip, as ive got it layed out on my board

pin8 +5
pin 9 crystal + cap
pin 10 crystal +cap
pin 20 +5
pin 22 Gnd

pin 21 is this pin i wasnt too sure about is it +5?, i see from some guides connect +5 to it - AREF, what does this pin do?

ok i see its the analog ref pin for max input range 5v.
thank you
« Last Edit: May 01, 2012, 11:10:27 am by jonisonvespa » Logged

Offline Offline
Edison Member
*
Karma: 9
Posts: 1001
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Did you make a schematic? If you upload it, it will be a lot easier for us to see if it's okay.
Logged

0
Offline Offline
Tesla Member
***
Karma: 71
Posts: 6624
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Nope, that pinout is definitely wrong, pin 8 is GND, pin 7 is +5V
Logged

Grand Blanc, MI, USA
Offline Offline
Faraday Member
**
Karma: 43
Posts: 2505
"We're a proud service of the Lost Electricity Reclamation Agency"
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I always make sure I've had a look at the datasheet before I commit anything to a PC board.
Logged

Get the infamous "One Million Ohms" board at tINDIE.com: http://tinyurl.com/BuyMohms

0
Offline Offline
Tesla Member
***
Karma: 71
Posts: 6624
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Or use the Sparkfun library if using Eagle?
Logged

Belgium
Offline Offline
Full Member
***
Karma: 0
Posts: 220
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

When I use a bare ATmega328 on a breadboard I use this drawing to see the pins:
http://www.hobbytronics.co.uk/arduino-atmega328-pinout
Very handy because it has the Atmel and Arduino pin numbers on it.
Logged


Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 247
Posts: 16535
Available for Design & Build services
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Or copy an arduino schematic as a starting point, delete the parts you don't need.

http://arduino.cc/en/uploads/Main/Arduino_Uno_Rev3-schematic.pdf
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17

uk
Offline Offline
Sr. Member
****
Karma: 0
Posts: 310
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks very much for the help
Logged

Global Moderator
Melbourne, Australia
Offline Offline
Shannon Member
*****
Karma: 218
Posts: 13897
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Or this:



That has the pins, the minimal configuration, and the Arduino pin numbers in brackets.
Logged


alabama
Offline Offline
Full Member
***
Karma: 1
Posts: 168
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I really like Adafruit's stickers for breadboarded 328s, http://www.adafruit.com/products/554
When I am working on a prototyping board I will cut one in half lengthwise and reverse the sides to mirror the pins and stick them  on the bottom of the board.
Saves reversing everything in my head.
TomJ
Logged

Einstein once said you don't really understand anything until you can explain it to your Grandmother

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 247
Posts: 16535
Available for Design & Build services
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I think a few corrections are needed:

CTS on the FTDI connector needs to be grounded as well for the FTDI breakout board/cable.
(CP2102 modules don't need the CTS pin.)
Pin6 is DTR.

What's the 10K on the Tx line? That will kill any transmit drive capability.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17

0
Offline Offline
Newbie
*
Karma: 0
Posts: 39
n0m1 design
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I've posted my eagle library here, which has a physical layout corresponding to the chip.
It might be useful: http://n0m1.com/2012/04/30/how-to-bread-board-arduino/
Logged


Global Moderator
Melbourne, Australia
Offline Offline
Shannon Member
*****
Karma: 218
Posts: 13897
Lua rocks!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Pin6 is DTR.

I don't know how those ideas got into my head, but I found this once:

http://www.sparkfun.com/datasheets/DevTools/FTDI%20Cable%205V.pdf

That has pin 6 labelled as RTS.
Logged


0
Offline Offline
Tesla Member
***
Karma: 71
Posts: 6624
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


What's the 10K on the Tx line? That will kill any transmit drive capability.


Why would it do that?  Its to protect the pins and allow Arduino pin 0 to be used as an output.
Logged

uk
Offline Offline
Sr. Member
****
Karma: 0
Posts: 310
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

here is my chip layed out whith what i think should be there could someone please verify it please.
thanks
« Last Edit: May 02, 2012, 09:31:32 am by jonisonvespa » Logged

Pages: [1] 2   Go Up
Print
 
Jump to: