Pages: [1]   Go Down
Author Topic: Arduino Uno SMD: Can I program bootloader and sketch for Atmega328 DIP?  (Read 1533 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 2
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey Peeps

Is it possible to use Arduino Uno SMD and program the bootloader and sketch onto a Atmega328 DIP? I could not find any help on google, there is only for the Arduino Uno Dip version.

Thanks
Logged

Southern California
Offline Offline
God Member
*****
Karma: 5
Posts: 539
I like blinky lights
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, the process is exactly the same.
Logged

http://en.wiktionary.org/wiki/magagna <-- My last name.  Pretty apt.

Mumbai
Offline Offline
Jr. Member
**
Karma: 0
Posts: 54
Its Simple Technology, What will you do with It!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

@Chris,
Excuse me but I did not understand.
How is this process done??it is possible in DIP boards, but how to do it in an SMD board?

Logged

Southern California
Offline Offline
God Member
*****
Karma: 5
Posts: 539
I like blinky lights
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

OK let's back up.

I thought you were talking about programming a new, blank, ATMega328 DIP chip using an Arduino Uno SMD board. If that is the case, then all you have to do is follow the wiring on this page:

http://arduino.cc/en/Tutorial/ArduinoToBreadboard

If you need to do something else, please give more details.

Chris
Logged

http://en.wiktionary.org/wiki/magagna <-- My last name.  Pretty apt.

Mumbai
Offline Offline
Jr. Member
**
Karma: 0
Posts: 54
Its Simple Technology, What will you do with It!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thankx Chris..
 smiley
Logged

Offline Offline
Newbie
*
Karma: 2
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the link!

Ok I see once the bootloader in on in order to download a sketch one needs to remove the current atmegae from the dev board but the obvious problem is the arduino uno smd can't do that due to the smd instead of dip.

So is it possible to use the aruino uno smd board to program a sketch on an external atmega?
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 58
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, it's possible... Drop the bootloader and burn the image the way you would burn the bootloader..

Things will probably be a bit clearer once you've started.
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 78
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You can also wire up the DIP ATmega on a breadboard or similar. Add the minimal periphery, i.e. a 16 MHz Quartz with load capacitors, and (!) a reset switch. The latter is important because you cannot rely on auto-reset with this setup, as you will soon see. Tie the Arduino's reset pin to ground and connect D0 to ATmega pin 2 and D1 to pin 3. Ground to ground, VCC to VCC, of course. When you upload the sketch, hit the reset switch (pin 1 to ground) on the target board as soon as you see the binary size in the Arduino IDE. Uploading should happen as if uploading to the Arduino, but instead going to the standalone.
Logged

Pages: [1]   Go Up
Jump to: