Pages: [1]   Go Down
Author Topic: Arduino Mini w/ 328 problems  (Read 708 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 54
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am trying to upload the blink example program to the arduino mini with the 328 chip. Here is what I did:

I have an uno with the 328 dip chip removed. The serial cable is connected from the computer to the uno. Power and ground are connected from the arduino to the corresponding rails on my breadboard. From there, I have the mini powered. I also have the reset pin on the uno connected to the reset pin on the mini. I have the TX from the uno to the TX of the mini and RX from uno to RX of mini. I have an led connected at digital pin 13 on the mini, to ground.

Everything seems to work fine. Here is what I can observe:
When I hit the reset button on the uno and hit the upload button right after, the led I put on pin 13 of the uno (always on) blinks a few times and the TX and RX lights blink as usual and then the TX light flashes every half second. The led I put on pin 13 stays on.

What's going on?
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 548
Posts: 27372
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Need more details - which IDE, which board type are you selecting, does the Mini have a bootloader installed already?
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.
Arduino for Teens available at Amazon.com.

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

I think IDE 1.0 and I selected the mini with 328 option. I honestly don't know if it has bootloader. Iets assume I don't. What now.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 548
Posts: 27372
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Put a bootloader on.
Put your Uno back together.
Download & install westfw's optiloader.
https://github.com/WestfW/
Connect up power/gnd, D13 to D13, D12 to D12, D11 to D11, Uno D10 to mini's Reset.
Reset the Uno, it will detect the mini & put the bootloader on it.
See the video in this thread
http://arduino.cc/forum/index.php/topic,68183.0.html
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.
Arduino for Teens available at Amazon.com.

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 12
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The Mini comes with a bootloader on it and you should be able to get it to work without burning a new one.

You might try with Arduino 1.0.1 (just released).  We updated the avrdude programmer type used to upload the sketch to the Mini, which should make the auto-reset work more reliably.
Logged

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

Works Great! 1.0.1 rocks!

Thanks a million! smiley-grin
Logged

Pages: [1]   Go Up
Jump to: