[✓]How to connect the Ports of an USB-UART Adapter to PIC?

Discussions related to MegaDrum Hardware

[✓]How to connect the Ports of an USB-UART Adapter to PIC?

Postby affenkaraffe » Thu Sep 29, 2011 1:47 pm

Dear Community,

I'm currenty trying to program the PIC (PIC18F2550) to esablish an USB connection between the megadrum brain and my Notebook. I learned (two USB-Serial adapters too late :oops: ) that I need a special device for this task, as my notebook doesn't have a serial port.

So I bought a device called "FTDI USB UART Adapter für AVR PIC" which maps an USB input on six ports called CTS# (Clear to Send?) , GND, RXD (Data Recieve), VCC, RTS# (Ready to send?) and TXD (Data Transmit).
I suppose the Port VCC should be connected with the second pin of the ICSP connector on the digital board and the Port GND should go on the third.
Am I right that the first ping of the ICSP connector (pointing to PIC port 1(Vpp)) can be left unconnected?
However, I'm unsure about the remaining ports. Can anyone tell me which of the ports CTS# ,RTS#, TXD, RXD should be connected to which Port of my PIC (called PGM(26), PGC(27), PGD(28))?


Thank you,
affenkaraffe
You do not have the required permissions to view the files attached to this post.
Last edited by affenkaraffe on Thu Sep 29, 2011 10:01 pm, edited 1 time in total.
affenkaraffe
 
Posts: 3
Joined: Sat May 28, 2011 8:06 am

Re: How to connect the Ports of an USB-UART Adapter to the P

Postby dmitri » Thu Sep 29, 2011 1:52 pm

As far as I know USB serial adapters are not good for ICSP programming, they don't produce enough voltage.
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: How to connect the Ports of an USB-UART Adapter to the P

Postby affenkaraffe » Thu Sep 29, 2011 2:02 pm

Hm... perhaps I bought an ordinary USB-Serial adapter AGAIN?

I relied on a statement in the manual of this converter which says:
This converter can be used on any Micro controller - PIC, Atmel or other which has
TTL serial communications.

Did I understand this wrong?

Regards,
affenkaraffe
You do not have the required permissions to view the files attached to this post.
affenkaraffe
 
Posts: 3
Joined: Sat May 28, 2011 8:06 am

Re: How to connect the Ports of an USB-UART Adapter to the P

Postby dmitri » Thu Sep 29, 2011 3:35 pm

affenkaraffe wrote:I relied on a statement in the manual of this converter which says:
This converter can be used on any Micro controller - PIC, Atmel or other which has
TTL serial communications.

Did I understand this wrong?

You did. It means it can be used for communication with other TTL devices.
Using a serial (COM) port for PIC programming is a hack and requires a real COM port.
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: How to connect the Ports of an USB-UART Adapter to the P

Postby affenkaraffe » Thu Sep 29, 2011 9:59 pm

ah I see; thank you! Then I'll continue happily with Plan... D. Find PC with a COM Port.
affenkaraffe
 
Posts: 3
Joined: Sat May 28, 2011 8:06 am


Return to MegaDrum Hardware

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 100 guests