Help.
My code didn't upload because I think my converter is not recognized by my pc.
Help please.
thank you
How are we supposed to help you with that information?
Did you install a driver?
=> http://www.wch.cn/download/CH341SER_EXE.html
Also, check the pinout of your adapter - some of the 6-pin CH340G adapters don't have the normal FTDI pinout (Gnd,CTS or NC,Vcc, Tx, Rx, DTR) - they have Gnd Tx Rx 5v Vcc 3.3v, and a jumper must be between Vcc and 5v or 3.3v, and they don't break out DTR at all. Those can't be used for programming Arduino without soldering a flying lead to the DTR pin (physical pin 13 on the IC, iirc), and wiring them all up to a compatible connection (eg, a 6-pin dupont connector).
Note - in above pinouts I mentioned, I may have swapped TX and RX - so don't treat my post as authoritative on that front. The other pins are right though.
DrAzzy:
Those can't be used for programming Arduino without soldering a flying lead to the DTR pin (physical pin 13 on the IC, iirc), and wiring them all up to a compatible connection (eg, a 6-pin dupont connector).
Or by holding down the reset yourself. But you'll get annoyed by that pretty quick ![]()
I bought this exact device and am not having luck getting it working.
I think I have flashed an Arduino bootloader to a 328P-PU with an oscillator.
I have the pinouts connected as in a YouTube video I saw where this worked.
I have installed the driver linked from above. I have also rolled back to IDE v1.0.6.
The blue LED lights up momentarily, then nothing. It looks again like a "not hitting the RESET pin" issue (as in my other thread), but the YouTube video (link available if it'd help) pinout is identical to my own.
Using Port : \\.\COM4
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Recv:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude done. Thank you.
Don't use 1.0.6 of the IDE, the current versions are working great - and it never fixed problems with sync errors.
If you've flashed it with optiboot (uno bootloader), does it do the 3 blinks when you press reset? If not, it's not bootloadrd.
Please link to the exact board you bought - there are several CH340G designs sold under almost identical listing titles, some of which don't break out DTR and use a different pinout. Also, make extra sure your connections are right (particularly, that TX and RX aren't swapped - this is really easy to do). If working on breadboard test continuity
I can personally vouch for the black ones with the 3.3v / 5v switch on them as being excellent. They are my go-to USB serial adapters now - they're the ones I bundle with my assembled ATTiny841/1634 boards as an extra cost option
DrAzzy:
Don't use 1.0.6 of the IDE, the current versions are working great - and it never fixed problems with sync errors.If you've flashed it with optiboot (uno bootloader), does it do the 3 blinks when you press reset? If not, it's not bootloadrd.
Please link to the exact board you bought - there are several CH340G designs sold under almost identical listing titles, some of which don't break out DTR and use a different pinout. Also, make extra sure your connections are right (particularly, that TX and RX aren't swapped - this is really easy to do). If working on breadboard test continuity
I can personally vouch for the black ones with the 3.3v / 5v switch on them as being excellent. They are my go-to USB serial adapters now - they're the ones I bundle with my assembled ATTiny841/1634 boards as an extra cost option
Hmm.
(More coming; I am thoroughly frustrated at this point and heading to bed.)
I think these are two different issues. I suspect that this CH340G device can only be used to flash code onto a 328P with a bootloader installed already. Issue one.
Issue two: I'll return to this and wire an LED to the 328. I wasn't aware of the 3-blink LED on reset with an Arduino bootloader installed. Handy!
Chris_77:
Hmm.
I have one that looks like that except it has 3.3V instead of CTS.
No problem programming my ESP-01 with it.
DrAzzy:
Don't use 1.0.6 of the IDE, the current versions are working great - and it never fixed problems with sync errors.If you've flashed it with optiboot (uno bootloader), does it do the 3 blinks when you press reset? If not, it's not bootloadrd.
Please link to the exact board you bought - there are several CH340G designs sold under almost identical listing titles, some of which don't break out DTR and use a different pinout. Also, make extra sure your connections are right (particularly, that TX and RX aren't swapped - this is really easy to do). If working on breadboard test continuity
I can personally vouch for the black ones with the 3.3v / 5v switch on them as being excellent. They are my go-to USB serial adapters now - they're the ones I bundle with my assembled ATTiny841/1634 boards as an extra cost option
ieee488:
I have one that looks like that except it has 3.3V instead of CTS.No problem programming my ESP-01 with it.
Right.
I can confirm that this unit DOES work, and DOES work rather well. I've since been able to flash the bootloader onto my 328P-PU DIP IC (via a Nano 2.0 and ICSP headers), and am using this device to flash code over to the IC. Works quite well.
I'll probably put up at least a Fritzing diagram in my thread with an ACTUAL, VERIFIED WAY that one may accomplish flashing a bootloader and code to a naked 328 chip.