Offline
Newbie
Karma: 0
Posts: 41
|
 |
« on: January 12, 2013, 12:12:12 am » |
I am trying to build a standalone with an atmega 2560. If someone can give me a tutorial or link to a tutorial with pictures that would be great!
|
|
|
|
|
Logged
|
|
|
|
|
SE USA
Offline
Faraday Member
Karma: 33
Posts: 3625
@ssh0le
|
 |
« Reply #1 on: January 12, 2013, 12:16:26 am » |
|
|
|
|
|
Logged
|
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 41
|
 |
« Reply #2 on: January 12, 2013, 12:08:45 pm » |
Thanks
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Edison Member
Karma: 114
Posts: 2205
|
 |
« Reply #3 on: January 12, 2013, 12:14:11 pm » |
I am trying to build a standalone with an atmega 2560. How to do it depends on what you want. The simplest implementation requires the chip itself. and that's it. Bells and whistles can be added but whether they should be depends on your applications.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 41
|
 |
« Reply #4 on: January 12, 2013, 09:21:18 pm » |
I am trying to build a standalone with an atmega 2560. How to do it depends on what you want. The simplest implementation requires the chip itself. and that's it. Bells and whistles can be added but whether they should be depends on your applications. I am trying to build the simplest.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 249
Posts: 16544
Available for Design & Build services
|
 |
« Reply #5 on: January 12, 2013, 10:29:51 pm » |
I would put the chip on a breakout board, I think this one http://www.schmartboard.com/index.asp?page=products_qfp&id=70And add 16 MHz xtal, two 22 pf caps, 10K pullup resistor for reset, 4-6 100nF caps on the Vcc, AVCC, Aref, and reset pin to bring out as DTR signal. Connect 6 pins for ICSP - +5,GND, Reset, MISO, MOSI, SCK - and program away.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 41
|
 |
« Reply #6 on: January 12, 2013, 10:57:17 pm » |
What batteries should I use for power?
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 249
Posts: 16544
Available for Design & Build services
|
 |
« Reply #7 on: January 12, 2013, 11:09:07 pm » |
I've used 3 AAs in a battery back.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 41
|
 |
« Reply #8 on: January 13, 2013, 05:54:57 pm » |
I would put the chip on a breakout board, I think this one http://www.schmartboard.com/index.asp?page=products_qfp&id=70And add 16 MHz xtal, two 22 pf caps, 10K pullup resistor for reset, 4-6 100nF caps on the Vcc, AVCC, Aref, and reset pin to bring out as DTR signal. Connect 6 pins for ICSP - +5,GND, Reset, MISO, MOSI, SCK - and program away. Are the resistors and caps necessary? Because I was able to make a standalone atmega 328 work with a 16 Mhz ceramic resonator and some wires.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 249
Posts: 16544
Available for Design & Build services
|
 |
« Reply #9 on: January 13, 2013, 07:36:26 pm » |
Parts addition depends on how stable you want your design to be. I don't care to chase ghosts that a pullup resistor and decoupling caps would have eliminated.
Crystal/caps vs resonator - depends on your end use. High speed comm's? Accurate standalone time keeping clock (like 1 second/day drift)? Go with crystal.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 41
|
 |
« Reply #10 on: January 18, 2013, 12:05:06 am » |
Do you need the caps/resistors to burn a bootloader to it? Note: I put it together using a crystal and hooked it up to an arduino uno board and a AVR isp mkII and it was unsuccessful.
|
|
|
|
« Last Edit: January 18, 2013, 12:08:12 am by Jason56 »
|
Logged
|
|
|
|
|
SE USA
Offline
Faraday Member
Karma: 33
Posts: 3625
@ssh0le
|
 |
« Reply #11 on: January 18, 2013, 01:29:37 am » |
caps and resistors are to make your chip more immune to external noise floating in the air, last time I did it with no caps and resistors the fuses got buggered up and it took me two evenings to figure out what had happened
capacitors are absolutely needed for the crystal unless using a resonator
seriously, your balking on like 4$ worth of parts if you bought them at the mall
|
|
|
|
|
Logged
|
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 249
Posts: 16544
Available for Design & Build services
|
 |
« Reply #12 on: January 18, 2013, 01:31:34 am » |
I always use them. I never have problems. 16 MHz xtal, two 22pF caps,10K reset pullup resistor, 100nF caps on VCC, AVCC. 100nF cap from Reset to DTR if doing serial downloads. Diode across reset resistor if using a reset switch.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 249
Posts: 16544
Available for Design & Build services
|
 |
« Reply #13 on: January 18, 2013, 02:15:56 am » |
2560 has more Vcc pins, put 100nF cap on each one.
|
|
|
|
« Last Edit: January 18, 2013, 02:19:27 am by CrossRoads »
|
Logged
|
|
|
|
|
|