View previous topic :: View next topic |
Author |
Message |
Tommy Tyler Expert
Joined: 21 Sep 2003 Posts: 412 Location: Denver mountains |
Posted: Thu Dec 06, 2007 10:49 am Post subject: |
|
|
Well I'm confused.
binky123 wrote: | The issue here was that the DTR_N signal coming from the PL2303 chip was inverted. |
DTR is standard. The PL-2303 chip is just a USB-to-RS232 converter chip, and has no say over whether the DTR signal is normal or inverted. That's controlled by the virtual port feeding the PL-2303.
binky123 wrote: | I suggested he hook up his RTS_N line to the MCU /RESET line. | I hope that means you suggested he build his interface like an early JP1.2 design, but that you haven't put anything special in the software just for him, because it isn't needed. See this for further clarification.
Incidentally, binky's comment about COM ports greater than 9 deserves greater appreciation. I found that many of the Prolific USB-to-Serial adapters like to enumerate to ports greater than 9, and prior to this version of jp12serial.dll, IR would just say it was unable to open the port. Who knows how many members have been frustrated by that.
Tommy |
|
Back to top |
|
|
cerulean
Joined: 22 Sep 2003 Posts: 21 Location: Shrewsbury, MA |
Posted: Fri Dec 07, 2007 3:14 pm Post subject: |
|
|
Tommy Tyler wrote: | The PL-2303 chip is just a USB-to-RS232 converter chip... |
The PL-2303 chip is a USB to TTL serial converter. Those USB to RS-232 cables need an additional chip to convert from TTL to RS-232 levels. The cable that I am using doesn't have that addtional chip (it started it's life as a data cable for a Motorola cell phone), so my levels may be different from the norm.
So my wiring looks like this now:
Code: |
PL2303 IDC-6
1 TXD ---- 4 Data-In
3 RTS_N ---- 2 /RESET
5 RXD ---- 6 Data-Out
Shield ---- 3 GND
|
Here is my remote:
With binky123's latest DLL, I can now read from and write to the remote (Thank you. ).
I've been sidetracked with other projects, but I'm hoping to start setting up this remote this weekend. |
|
Back to top |
|
|
Tommy Tyler Expert
Joined: 21 Sep 2003 Posts: 412 Location: Denver mountains |
Posted: Fri Dec 07, 2007 5:05 pm Post subject: |
|
|
Most of the low cost (read eBay) USB-to Serial converters do not have the second chip for providing true RS232 voltage levels. I have yet to find a PC that doesn't communicate flawlessly at TTL voltage levels for the short distance, low baud rate, relatively noise-free environment we're talking about, so I don't expect you'll have any problems.
Tommy |
|
Back to top |
|
|
bgdani1
Joined: 23 Nov 2011 Posts: 2
|
|
Back to top |
|
|
binky123 Expert
Joined: 14 Feb 2004 Posts: 1292
|
Posted: Mon Nov 28, 2011 11:47 pm Post subject: |
|
|
If you have a driver that presents a COM/serial port interface to Windows, then it should work with IR. Your USB to (LVTTL) Serial cable looks like it'll work. You should try to confirm the pin names to be sure. |
|
Back to top |
|
|
cerulean
Joined: 22 Sep 2003 Posts: 21 Location: Shrewsbury, MA |
Posted: Tue Nov 29, 2011 8:38 pm Post subject: |
|
|
Hi,
I got your PM.
The cable should work. I just tried my cable with a 15-100 and IR V8.03. I could download from the remote.
Bob |
|
Back to top |
|
|
bgdani1
Joined: 23 Nov 2011 Posts: 2
|
Posted: Thu Dec 01, 2011 11:20 am Post subject: |
|
|
Thank you for confirmations. I'm waiting for adapters from both dealextreme and meritline and will report back. |
|
Back to top |
|
|
mdavej Expert
Joined: 08 Oct 2003 Posts: 4501
|
Posted: Mon Jan 16, 2012 3:09 pm Post subject: |
|
|
I got the above dealextreme cable for $4.44 shipped and can confirm it works fine as a JP1.3/JP2 cable with the above pinout. Note the locations of TX, RX, GND and RTS below. On a JP2 remote with a 5-pin female connector like the URC-8820BC1, what would have been pin 6 is now pin 5. All other pins are the same.
HERE are the drivers. If you find one known to work in Win7, please post it. THESE don't work in XP, but may work in Win7. I haven't tried them.
|
|
Back to top |
|
|
eferz Expert
Joined: 03 Jun 2010 Posts: 1078 Location: Austin, Texas |
Posted: Tue Jan 17, 2012 6:32 pm Post subject: |
|
|
mdavej wrote: | I got the above dealextreme cable for $4.44 shipped and can confirm it works fine as a JP1.3/JP2 cable with the above pinout. Note the locations of TX, RX, GND and RTS below. On a JP2 remote with a 5-pin female connector like the URC-8820BC1, what would have been pin 6 is now pin 5. All other pins are the same. |
So, I wonder if this post was your subtle suggestion to create a dedicated $10 "JP2.1" cable by frankensteining:
+ = Dedicated JP2.1 adapter!
Cause you know what they say about fishing a horse out of water, you can take the water out of the horse but that doesn't mean he'll drink it. (or something like that.) _________________ Remotes; JP1.2: Comcast URC-1067, JP1.3: Insignia NS-RC02U-10A, JP1.4 OARI06G, JP2.1: Cox URC-8820-MOTO (still trying to figure out how to make them self-aware.) |
|
Back to top |
|
|
mdavej Expert
Joined: 08 Oct 2003 Posts: 4501
|
Posted: Tue Jan 17, 2012 10:53 pm Post subject: |
|
|
That's pretty much what I did. Unfortunately I only had the first part of the equation and ended up mutilating a DB-9 male connector for the other end. It's ugly, but it works. |
|
Back to top |
|
|
Dilligaf
Joined: 05 Aug 2003 Posts: 79 Location: Michigan |
|
Back to top |
|
|
|