JP1.2 interface using CH340 USB to Serial ?

Forum for the discussion of JP1 Interfaces, hardware hacks, etc.

Moderator: Moderators

shenson
Posts: 6
Joined: Sat Apr 16, 2005 3:19 pm

Post by shenson »

Thanks.

The problem was that this board only has a DTR and doesn't bring out RTS to a pin. The function jp12OriginalConnect() only toggles RTS but otherwise looks like it is using the correct procedure for this board.

I made a couple of minor changes to jp12serial so it toggles DTR as well as RTS in the jp12OriginalConnect() and resetRemote() functions and it now seems to work fine at least on Linux.

If anyone is interested it adding this to the official jp12serial I can give more info if needed.

The board I used was a really cheap (probably less than $2 equivalent) CH340G USB serial adaptor board originally used for programming some Arduino boards.
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

shenson wrote:The problem was that this board only has a DTR and doesn't bring out RTS to a pin. The function jp12OriginalConnect() only toggles RTS but otherwise looks like it is using the correct procedure for this board.

I made a couple of minor changes to jp12serial so it toggles DTR as well as RTS in the jp12OriginalConnect() and resetRemote() functions and it now seems to work fine at least on Linux.

If anyone is interested it adding this to the official jp12serial I can give more info if needed.
Please post your file in the following folder, clearly labeled as "beta" with some info about what's changed and I'm sure some folks will test it:
http://www.hifi-remote.com/forums/dload ... &cat_id=40
shenson wrote:The board I used was a really cheap (probably less than $2 equivalent) CH340G USB serial adaptor board originally used for programming some Arduino boards.
Do you have any links to where you can get the board?
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
shenson
Posts: 6
Joined: Sat Apr 16, 2005 3:19 pm

Post by shenson »

I got mine from a UK seller but the board looks identical to this one: http://www.ebay.com/itm/161831365392

It includes six jumper connectors which will fit JP1. I used the usual connections but with DTR connected to reset instead of RTS and the switch set to 3.3v.

I compiled up my modified jp12serial on Windows and it seems to work OK.

I'll upload the modified source file.

I tested it with a URC8350 remote, can't comment of whether it will work with anything else.
3FG
Expert
Posts: 3434
Joined: Mon May 18, 2009 11:48 pm

Post by 3FG »

JP12Serial is intended to handle JP1.1, 1.2, 1.3, 1.4, 2, and 3 remotes as well as IR Widgets. It is written to support various interfaces including USB to serial and transistor based interfaces. Some of these interfaces use the DTR line for purposes other than the Reset pin. Users who wish to test their transistor based interfaces using a modified version of JP12Serial should be sure they understand their interface, especially if they have a JP1.1 or 1.3 remote.
Post Reply