Go Down

Topic: Arduino UNO serial port is broken (Read 1 time) previous topic - next topic

spirit

Hi all

oke i hear you think.
its broken so just buy a new one..

but luckly i also have a USB2SERIAL module laying around for the Arduino mini i have.

so is it possible to use the USB2SERIAL module to write to the PIC?

if so can some one point me out how to do this.



CrossRoads

Sure, connect Gnd to Gnd, Rx to Rx, Tx to Tx, DTR to DTR, +5 to +5.
(maybe Rx to Tx, Tx to Rx).
Arduino uses an Atmel AVR; PIC comes from a different company.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

spirit

oke realy strange.

as i did the same as you describe.
but it did not work , but i tried it again and it succesfully uploaded the blink sketch.

but know each time i try it i get a "avrdude: stk500_getsync(): not in sync: resp=0x00"

mart256

#3
Aug 13, 2014, 05:16 am Last Edit: Aug 13, 2014, 05:19 am by mart256 Reason: 1
Is it usb to rs232 or usb to TTL?

Anyway, if usb to TTL: Arduino has a reset pin. Between DTR and reset add a 0.1uf cap.

If rs232, you'll have to add max232 chip to your project.

spirit

hi and thanks for the replay.

but i have a Arduino UNO R3 with a broken FTDI chip as the pc doesnt sees it anymore.
and i also have a Arduino USB2SERIAL board.

so i think its TTL.

but which pin is the DTR pin as i can see on many pages they talk about a DTR pin but i cant find it.

but i also tried it the same as with a ARDUINO mini.

so:
from USB2SERIAL -> ARDUINO UNO R3
GND(BLK) -> GND
+5V -> 5V
TX -> RX
RX -> TX
EXT RESET -> 0.1uf CAP -> RESET


spirit

oke its been sometime ago but in the mean while i got my self the arduino ethernet and a fake arduino uno.

but i succeeded to program my old UNO with the usb2serial.

and the trick is to remove the reset wire and just hold down the reset button upload the sketch until you see the free space screen then you release the reset button and everything works great..

Go Up