The other two options, which I prefer are to buy one of two breakout boards from www.SparkFun.com. They are:
-
FT232RL USB to Serial Breakout Board, SKU: BOB-00718 (This option takes up more space on your breadboard)
-
FTDI Basic Breakout - 3.3V SKU: DEV-08772 (This option, and using right angle male headers works the best out of all three because it is secured better on the breadboard)
Double check your connections, make sure your 9V battery is not connected and hook up your programming option. Open up the Arduino IDE and in the Example sketch files, under Digital, load the Blink sketch.
Under the file option Serial Port, select the COM port that you are using with your USB cable. i.e. COM1, COM9, etc.
Under the file option Tools/Board, select either:
-
Arduino Duemilanove w/ATmega328
-
Arduino Decimila, Duemilanove or Nano w/ATmega128
(depending on which chip you are using with your breadboard Arduino)
Now press the upload icon and then hit the reset button on your breadboard. If you are using one of the SparkFun breakout boards, you will see the RX and TX lights blink. This lets you know that the data is being sent. Sometimes you need to wait a few seconds after pressing the upload button before pressing the reset switch. If you have trouble, just experiment a little with how fast you go between the two.
This sketch if uploaded properly will blink the LED on pin 13 on for one second, off for one second, on for one second… until you either upload a new sketch or turn off the power.
Once you have uploaded the code, you can disconnect the programming board and use your 9V battery for power.
Troubleshooting
-
No Power – Make sure your source power is above 5V.
-
Power but nothing works – recheck all your connection points.
-
Uploading error – Refer to www.arduino.cc and do a search on the particular error message you receive. Also check the forums as there is a lot of great help there.
I have tried to build my own Arduino Board using ATmega328 chip with Arduino Bootloader and for upload the sketch, I'm using FTDI Basic Breakout - 5V ( both of this part are from SparkFun ). I've followed all your wiring schematic. The power LED and the 13 pin LED blink without any problems ( so I think nothing wrong with the ATmega 328 chip )
The problem occured when I try to upload the blink sketch to the board, there are some avrdude error that I don't understand how to solve .
The error message is :
Binary sketch size: 1010 bytes (of a 30720 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
For make sure all the wiring is correct, I upload the sketch through my Arduino Duemilanove board ( without the AT mega chip ), and within second the sketch uploaded to the board smoothly. No error at all.
So, can anyone help me to solve this problem ?
For this situation, make sure you also have a ground from your breakout board. Another possible problem is that Tx and Rx may be reversed. Different authors and vendors will label the Tx and Rx differently. The confusion is that a Tx (transmit) from one device say the Atmega is connected to the Rx of the other device say the FTDI. And vice versa.
Also, some Arduinos have DTR connected to the the Atmega Reset pin, but the newer Bootloader has RTS connected to the Reset through a capacitor. I am guessing that if you don't have anything connected to the Reset pin than it should load correctly but you may have to push reset to start the program.
Another thing to remember is with the Arduino software you may have to select the correct com port. Right now I have two Arduinos connected to my computer so I have to make sure I'm using the right one.
Good luck,
L.O.G.
Its Important....
If you do a search on Instructables for "Arduino", you will find all sorts of interesting ideas.