So, I recently bought an Arduino Mini (5V, 16MHz), and a USB to Serial Converter. Provided are the links to both the products: Arduino Mini, USB to Serial Converter
Now, I tried programming the mini by connecting the pins in this order: Rx -> tx, tx-> rx, VCC -> 5V, GND -> GND, DTR -> DTR
The computer detected the USB to Serial converter after I installed the drivers manually. However, the Arduino IDE failed to program the Arduino Mini every single time, even after I swapped the TX, RX pins.
I tried to program the Arduino Mini using an Arduino Uno (I removed the onboard Atmel Atmega microcontroller on the Uno before programming). I connected the pins in this order: TX->TX, RX->RX, 5V-> VCC, GND-> GND, RST -> DTR. From the IDE, I chose Arduino Pro Mini (5V, 16Mhz).
The Mini was programmed successfully this time.
My question: What was wrong with the USB to Serial converter? Why couldn't it program the Arduino Mini with the USB to Serial Converter?
3 Answers 3
As you have said the Arduino Mini seems to be fine and the USB to Serial Converter seems to be working too.
This might be a crazy idea but this might work
try connecting the boards like this,
TX -> TX and RX -> RX
I'm not totally sure, but this might work.
Try to reset manually just after compiling end
-
I tried.. it doesn't work.... I held the reset button down but the converter still won't program the Mini.... The Mini was programmed using the Arduino Uno successfully btw... It's the converter that is not behaving properly...Swapnil Saha– Swapnil Saha2016年07月16日 06:07:52 +00:00Commented Jul 16, 2016 at 6:07
-
It's too late but don't hold the button. Just press once quickly, immediately while compiling going near %100user30878– user308782020年12月13日 15:43:11 +00:00Commented Dec 13, 2020 at 15:43
The Mini was programmed successfully this time
If so, one of them had its tx/rx pins mislabeled.
GND -> 5V
; I hope that is a typo?