FTDI Serial TTL-232 USB Cable with Arduino UNO/Atmega328P

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
ascarygnome
 
Posts: 8
Joined: Mon Feb 23, 2015 10:08 pm

FTDI Serial TTL-232 USB Cable with Arduino UNO/Atmega328P

Post by ascarygnome »

Tried using my recently purchased FTDI Serial TTL-232 USB Cable (https://www.adafruit.com/product/70) to update program on my Atmega 328P and I'm receving "avrdude: stk500_getsync(): not in sync: resp=0x00"

My connections, arduino-FTDI cable:
Ground-Black
TXD-Orange
RXD-Yellow
Reset pin-Green

ive also tried swapping TXD and RXD.
The chip is already supplied with power and is running a program.

Have i done anything wrong? Do i need a capacitor connecting Reset pin with Green?
Any help would be greatly appreciated, thanks, Anthony

User avatar
Franklin97355
 
Posts: 23912
Joined: Mon Apr 21, 2008 2:33 pm

Re: FTDI Serial TTL-232 USB Cable with Arduino UNO/Atmega328

Post by Franklin97355 »

Could you post clear, detailed pictures of your board and the connections to it?

User avatar
ascarygnome
 
Posts: 8
Joined: Mon Feb 23, 2015 10:08 pm

Re: FTDI Serial TTL-232 USB Cable with Arduino UNO/Atmega328

Post by ascarygnome »

Have i done anything wrong? Do i need a capacitor connecting Reset pin with Green?

Here are the pictures you requested:
Image
Image

User avatar
ascarygnome
 
Posts: 8
Joined: Mon Feb 23, 2015 10:08 pm

Re: FTDI Serial TTL-232 USB Cable with Arduino UNO/Atmega328

Post by ascarygnome »

I am mainly asking if i have the wiring correct. i couldn't easily find how to hook this cable up, so it makes me think i interpreted the datasheet incorrectly.
also, i've found if i hit the reset button at the right time it will upload sketches. is this normal? its hard to believe a cable which is "perfect for arduino" and costs $15 would require this.

User avatar
abqlewis
 
Posts: 71
Joined: Fri Dec 11, 2009 2:19 am

Re: FTDI Serial TTL-232 USB Cable with Arduino UNO/Atmega328

Post by abqlewis »

Yes, you should have a capacitor between your dtr pin and the /Reset pin on the 328p. Most Arduinos I've seen have a 100nF (or 0.1pF) cap, and that's what I've used, so I don't know the range of usable values. The fact that you can load sketches when manually reset says your 1) TX and RX are hooked up correctly, 2) baud rate is set correctly, 3) 328p has a running bootloader, 4) 328p is operational, but your autoreset function is having a problem. The cap should fix that .

BTW, I say all of this while not being able to see the pictures you provided. I see the word "Image" instead of the actual image.

User avatar
ascarygnome
 
Posts: 8
Joined: Mon Feb 23, 2015 10:08 pm

Re: FTDI Serial TTL-232 USB Cable with Arduino UNO/Atmega328

Post by ascarygnome »

Thank you very much abqlewis.

User avatar
sasoa
 
Posts: 1
Joined: Fri Dec 09, 2016 11:17 am

Re: FTDI Serial TTL-232 USB Cable with Arduino UNO/Atmega328

Post by sasoa »

Hi all,

I have been trying to upload a sketch to the Atmega 328p but arduino IDe is always giving me error:

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xcd

Pushing the reset button is not helping.

Is there exact procedure how to use this cable to program the 328p chip?

Attached is the image with the wiring.

Thanks
Attachments
IMG_0235_small.jpg
IMG_0235_small.jpg (207.92 KiB) Viewed 560 times

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”