Need help building a arduino

i am building an arduino. I am using a usb to ttl pl2303hx converter and a boot loaded atmega 168. I have connected every thing but when i try to upload programs it gives an error not in sync resp 0x00. :frowning: :frowning:

Which bootloader is on the Atmega? If it is the UNO bootloader, it only works on the UNO boards because they don't use a usb to rs232 for the UNO.
Also, make sure you have the correct device type chosen in the software.

Photo-Worx:
Which bootloader is on the Atmega? If it is the UNO bootloader, it only works on the UNO boards because they don't use a usb to rs232 for the UNO.
Also, make sure you have the correct device type chosen in the software.

Its clear you haven't actually tried this - either bootloader works on either kind of board. The bootloaders talk serial to whatever is connected to RX and TX lines.

Its clear you haven't actually tried this - either bootloader works on either kind of board.

MarkT,

Actually I have tried this. I had mistakenly bought an UNO chip and put it into my Duemilanove board and it gave the same error as Anas is getting.
I was told it was because the UNO uses the ATMega8U2 instead of a usb to rs232 chip. I had to buy a second chip with the Duemilanove bootloader on it.

Photo-Worx:

Its clear you haven't actually tried this - either bootloader works on either kind of board.

MarkT,

Actually I have tried this. I had mistakenly bought an UNO chip and put it into my Duemilanove board and it gave the same error as Anas is getting.
I was told it was because the UNO uses the ATMega8U2 instead of a usb to rs232 chip. I had to buy a second chip with the Duemilanove bootloader on it.

Here are the facts:

A 328p chip with a Uno bootloader will work in a Duemilanove board. You just have to select the Uno board type before uploading.

A 328p chip with a Duenilanove bootloader will work in a Uno board. You just have to select the Duenilanove board type before uploading.

The IDE can't tell if it's talking to a FTDI or a ATMega8U2 USB serial converter chip, it just have to have the proper board type selected so the baudrate used in uploading matches the baudrate coded in the bootloader.

Lefty

But i have taken the chip form the orignal board. I had droped solder on the ftdi chip of my arduino board so tride to built my own. As the ftdi was not working

Anas:
i am building an arduino. I am using a usb to ttl pl2303hx converter and a boot loaded atmega 168. I have connected every thing but when i try to upload programs it gives an error not in sync resp 0x00. :frowning: :frowning:

It might help if you give some more detail on exactly have you have it connected. Assuming you have the correct bootloader selected, then the next step would be to verify your connections are correct and you are using the correct values/components.

reset button on pin 1 with a 10k resestor.Tx of usb to ttl connected to rx of atmega 168 through 1k resistor.Rx of usb to ttl to tx of atmega 168 through 1k resistor. 16mhz crystal on pin 9 and 10 through 22pf capacitor connected to the ground. Pin7 21 20 connected to vcc and 8 22 connected to gnd. Pin 19 connecte to led through 100omh resistor. =(

Do you have the cap from pin1 of your processor to the DTR of the USB to Serial converter?

yes
:~