Pages: [1]   Go Down
Author Topic: Arduino Uno chip on breadboard  (Read 485 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey guys,

For the past 2 days i've been looking on how to use the chip from my arduino Uno on a breadboard. No success, so far  smiley-confuse

Here's the deal: I have an arduino Uno, i just want to see the chip working on the breadboard. Since i dont have any capacitors, 16Mhz crystal and stuff, I want the minimal thing.

Question 1: Since I took the chip from my arduino, there's no need to burn a bootloader in it, right?

Question 2: Can't I just upload my sketch while the chip is in the arduino, transfer the chip to the breadboard, connect the +5v and ground in the chip (pins 6, 7, 19 and 21) and have my sketch running?

It's a simple sketch. Just a digitalWrite(12, HIGH) to light up a LED. And, of course, beside the +5v and gnd mentioned above, I connected digital pin 12 to the led.

thanks
Logged

Offline Offline
Faraday Member
**
Karma: 66
Posts: 2626
The last thing you did is where you should start looking.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

1) Yes
2) Yes, but:  When you take the controller from the Arduino it requires 2-Cap 22pF and 16MHz xtal.

This may help so: http://www.gammon.com.au/forum/?id=11637
Logged

The way you have it in your schematic isn't the same as how you have it wired up!

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 361
Posts: 17292
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey guys,

For the past 2 days i've been looking on how to use the chip from my arduino Uno on a breadboard. No success, so far  smiley-confuse

Here's the deal: I have an arduino Uno, i just want to see the chip working on the breadboard. Since i dont have any capacitors, 16Mhz crystal and stuff, I want the minimal thing.

Question 1: Since I took the chip from my arduino, there's no need to burn a bootloader in it, right?

Correct, the bootloader is already burn in and protected in flash memory.

Question 2: Can't I just upload my sketch while the chip is in the arduino, transfer the chip to the breadboard, connect the +5v and ground in the chip (pins 6, 7, 19 and 21) and have my sketch running?

You forgot about the external clock source required to operate the chip, as it has it's fuse bytes burned when it's bootloader was installed to only utilize an 16Mhz external clock resonator (2 pin crystal + 2 caps or one 3 pin ceramic resonator) to operate the chip. Also there is usually a need for a pull up resistor for the reset pin and a couple of .1ufd caps wired to Vcc and Avcc pins to ground. A same size cap is recommended from Aref pin to ground if you are going to use the analog input pins.
 

It's a simple sketch. Just a digitalWrite(12, HIGH) to light up a LED. And, of course, beside the +5v and gnd mentioned above, I connected digital pin 12 to the led.

thanks
Logged

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

Huuuummm... okay.

So, as my chip already has a bootloader from arduino Uno, it needs the capacitors, the crystal, etc, right??

If i buy a new atmega328 chip that has no bootloader in it i'll be able to burn a bootloader that doesn't need those things and can run on a minimal configuration, using only the 8Mhz built-in oscilator from atmega328?
Logged

SE USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

yes
Logged


Pages: [1]   Go Up
Jump to: