Horrible problem - please help

So - i made an "Arduino on a breadboard" following the instructions. I bought an usb to serial convertor - TTL UART Module Serial Converter CP2102 STC. I connected the convertor to my pc and nothing happened. At first it didin't recognize my convertor but then i have installed the drivers and it recognizes it on COM4. I was very happy when i saw it, but then came the other bad problem - it doesent want to upload sketches to the ATmega328 - i made everything right - RX to TX and TX to RX, DTR thru capacitor to RESET, GND to GND and 5V to 5V. I really dont understand why this happends so someone please help me i really get angry. Sorry for my bad english - i hope someone will help me.

Did u burn the mcu with the Arduino bootloader?

You need to that before uploading a sketch.

Yes - the IC has the BOOTLOADER already burned.

You need to provide more info.

Details of your exact setup such as which mcu and a schematic?

Photos will be helpful and must be such the wiring etc can be clearly seen.

1-Day Project: Build Your Own Arduino Uno for $5 - YouTube i am using this schematic and this http://www.ebay.com/itm/Replace-FT232-6Pin-USB-2-0-to-TTL-UART-Module-Serial-Converter-CP2102-STC-/321546809495?pt=LH_DefaultDomain_0&hash=item4addaef097 usb to serial convertor. I am using the schematic exactly as it is - no changes.

iliyancho57:
I am using the schematic exactly as it is - no changes.

You mean you are supposed to be using the exact same schematic....
If it was exactly the same, it would or should work.

The point to asking for photos is to try to find the problems for you, since you cannot.
Without photos, there is not much to do.

tell me what photos to make and i will make them very quick :slight_smile:

aisc:
Photos will be helpful and must be such the wiring etc can be clearly seen.

Photos so we can follow the wiring.
Photo of the serial converter.
Photo of the AVR chip so we can see the number.

Also list the selections you are making in the IDE i.e. board, port, programmer.

Did you select correct option in tools for uploading? Does you USB/UART module works? Did you try it (short Tx and Rx and try with any terminal app for the loop-back)?

Here are all the photos - schemaic,usb to serial concertor,upload options and others. These are links - copy and paste in browser to see the photos :slight_smile:

http://s23.postimg.org/ontqmpnrv/image.jpg
http://s23.postimg.org/5ewnwp3mj/image.jpg
http://s23.postimg.org/j0xdp8l97/image.jpg
http://s23.postimg.org/vohqfhpjv/image.jpg
http://s23.postimg.org/c09dwgjh7/image.jpg
http://s23.postimg.org/5u7xpppjv/image.jpg
http://s23.postimg.org/awp9khyu3/image.jpg
http://s23.postimg.org/5y6cjpkez/image.jpg
http://s23.postimg.org/gma3ijue3/image.jpg
http://postimg.org/image/bc54r9a53/
http://s23.postimg.org/t227yjycb/image.jpg
http://s23.postimg.org/v9b207t0b/image.jpg
http://s23.postimg.org/3xfsyvo9n/image.jpg
http://s23.postimg.org/3zzolprx7/image.jpg
http://s23.postimg.org/d91uvu0t7/image.jpg
http://s23.postimg.org/7ao1llhuj/image.jpg
http://s23.postimg.org/xhp8hk04b/image.jpg
http://s23.postimg.org/q49uilg2j/image.jpg

Upload pics on this site - not links.

Why do you have the programmer set as "BusPirate"?

The error message in the photo is not the same as you originally posted.
You now seem to have a different problem to the initial problem.
Can you get back to having the first error message?

What is the white component connected to the reset?
Is it a resistor?
FWIW it should be a capacitor.
If it is a resistor, that could be the initial problem.

Also I do not see a pic of the complete setup.

The photos are too big to be uploadet here. It is not a resistor it is 100 nanofarad capacitor.Buspirate doesent matter - the same problem always comes with the other options too. When i press upload it almost uploads and then appears the old bug:

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x31
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x31
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x31
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x31
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x31
avrdude: stk500_recv(): programmer is not responding
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x31
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x31
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x31
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x31
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x31

If i press again the upload button appears this one:

avrdude: ser_open(): can't open device "\.\COM4": Access is denied.

What setup ?

I cannot see if you had installed a led on pin 19 (PB5 or Arduino pin 13), if you haven't installed it before, please do so now (with the appropriate resistor). Once done, describe the behavior of that led when the board is powered on and when you try an upload.

As long as the bootloader is in place the led mentioned above should blink 3 times rapidly when the board is reset or powered on. observing that led will let you know the status of the bootloader and whether or not your auto-reset circuit is functioning.

I have alreadz uploaded a sketch on the board using the genuine arduino so ß the led will blink but i will try it now.

Yes the LED blinks 3 times fast so everything with the IC and the BOOTLOADER is ok. I think it is a software problem with the IDE or with the convertor or with both

Do u know how to program with an Arduino as ISP?
If u can upload with an Arduino as ISP, then you can narrow at least narrow down the problem.

  1. I'm not seeing pull-up resistor on reset pin. It is keeping reset pin high during normal operation.
  2. Both GND and VCC, AVCC must be used for power. Should be good to have a decoupling capacitors 0.1uF.
  3. Convertor seems to be connected right. Anyway, are you sure that Rx means Rx and not to be connected to Rx of host device? It is more close to Tx LED and same with Tx. If the problem will persist, try to cross these.
  4. Are you sure about reset cap value? 1k63 looks for me like 1.63nF, not 100nF. Same with crystal capacitors 22pF. Just to be sure.

I put a resistor from 5V to reset and it WORKS!!! Thank you gus thank you very much !!!