uk
Offline
Sr. Member
Karma: 0
Posts: 310
|
 |
« on: May 01, 2012, 10:55:58 am » |
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
Edison Member
Karma: 9
Posts: 1001
|
 |
« Reply #1 on: May 01, 2012, 02:06:23 pm » |
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
Tesla Member
Karma: 71
Posts: 6596
Arduino rocks
|
 |
« Reply #2 on: May 01, 2012, 03:24:14 pm » |
Nope, that pinout is definitely wrong, pin 8 is GND, pin 7 is +5V
|
|
|
|
|
Logged
|
|
|
|
|
Grand Blanc, MI, USA
Offline
Edison Member
Karma: 43
Posts: 2478
"We're a proud service of the Lost Electricity Reclamation Agency"
|
 |
« Reply #3 on: May 01, 2012, 03:26:49 pm » |
I always make sure I've had a look at the datasheet before I commit anything to a PC board.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Tesla Member
Karma: 71
Posts: 6596
Arduino rocks
|
 |
« Reply #4 on: May 01, 2012, 03:32:40 pm » |
Or use the Sparkfun library if using Eagle?
|
|
|
|
|
Logged
|
|
|
|
|
Belgium
Offline
Full Member
Karma: 0
Posts: 219
|
 |
« Reply #5 on: May 01, 2012, 03:33:20 pm » |
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
Brattain Member
Karma: 240
Posts: 16433
Available for Design & Build services
|
 |
« Reply #6 on: May 01, 2012, 03:35:26 pm » |
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
|
|
|
|
|
uk
Offline
Sr. Member
Karma: 0
Posts: 310
|
 |
« Reply #7 on: May 01, 2012, 03:41:31 pm » |
thanks very much for the help
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Melbourne, Australia
Offline
Shannon Member
Karma: 218
Posts: 13896
Lua rocks!
|
 |
« Reply #8 on: May 01, 2012, 04:19:13 pm » |
Or this:  That has the pins, the minimal configuration, and the Arduino pin numbers in brackets.
|
|
|
|
|
Logged
|
|
|
|
|
alabama
Offline
Full Member
Karma: 1
Posts: 168
|
 |
« Reply #9 on: May 01, 2012, 07:25:04 pm » |
I really like Adafruit's stickers for breadboarded 328s, http://www.adafruit.com/products/554When 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
Brattain Member
Karma: 240
Posts: 16433
Available for Design & Build services
|
 |
« Reply #10 on: May 01, 2012, 09:49:08 pm » |
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
|
|
|
|
|
|
|
|
|
0
Offline
Tesla Member
Karma: 71
Posts: 6596
Arduino rocks
|
 |
« Reply #13 on: May 02, 2012, 03:59:07 am » |
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
Sr. Member
Karma: 0
Posts: 310
|
 |
« Reply #14 on: May 02, 2012, 09:29:02 am » |
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
|
|
|
|
|
|