JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

CH340G USB-to-Serial converter
Goto page Previous  1, 2, 3, 4, 5
 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Hardware
View previous topic :: View next topic  
Author Message
mathdon
Expert


Joined: 22 Jul 2008
Posts: 4515
Location: Cambridge, UK

                    
PostPosted: Tue Aug 10, 2021 4:52 pm    Post subject: Reply with quote

Split from here: http://www.hifi-remote.com/forums/viewtopic.php?t=102842

powersola wrote:
After trying another interface (CH341-based) all worked great.

I am currently very interested in interfaces based on non-FTDI chips, so I would be very grateful if you could post a link to the CH341-based interface that you used.
_________________
Graham
Back to top
View user's profile Send private message
powersola



Joined: 09 Aug 2021
Posts: 13
Location: Italy

                    
PostPosted: Tue Aug 10, 2021 6:03 pm    Post subject: Reply with quote

mathdon wrote:
powersola wrote:
After trying another interface (CH341-based) all worked great.

I am currently very interested in interfaces based on non-FTDI chips, so I would be very grateful if you could post a link to the CH341-based interface that you used.


Yeah, sure.

That's the exact one I have, ordered here:
https://www.aliexpress.com/item/32761423124.html

I soldered the missing pins, as you can see from aliexpress it's missing CTS and RTS headers.
https://imgur.com/v5iOcjh
https://imgur.com/VJsWitM



For the price (very low) it works wonderfully. Never had a problem.

I also have a real FT232RL interface. Actually it's a transplant. I had a clone board, the usual red one you see everywhere, to which I soldered on a genuine FT232RL chip from RS Electronics (which is itself 3 times more expensive than the entire clone board) Very Happy. Now it's inside a ham-radio interface I made years ago. Of course the ones you buy for cheap (and maybe they advertise to be "genuine") are not even close to the original... I wasn't even able to download codes from the remote with a clone FT232RL board....

Have a nice day,
Federico
Back to top
View user's profile Send private message
ckeays



Joined: 12 Jan 2015
Posts: 126
Location: Toronto, Ontario

                    
PostPosted: Tue Aug 10, 2021 8:15 pm    Post subject: Reply with quote

Hi Mathdon,
I have used the CH340 cables with RM V2.10 Build 3, These cables work well on my remotes.

The cable only has 4 wires VCC, GND, RXD and TXD. I opened the hood and exposed the ch340 chip. The board has unconnected pads for RTS and CTS.

I just removed the VCC (red wire) and attached it to RTS.
(VCC is not needed since I am running the remote on batteries).

The cables are really cheap (under $1 from China).
I received a few cables that were duds, displaying gibberish in a terminal test so you take your chances buying cheap cables like this from China.
Back to top
View user's profile Send private message
powersola



Joined: 09 Aug 2021
Posts: 13
Location: Italy

                    
PostPosted: Wed Aug 11, 2021 5:23 am    Post subject: Reply with quote

I connected it this way and it works wonderfully:
https://imgur.com/YGV0pL7

Federico
Back to top
View user's profile Send private message
ckeays



Joined: 12 Jan 2015
Posts: 126
Location: Toronto, Ontario

                    
PostPosted: Wed Aug 11, 2021 11:04 am    Post subject: Reply with quote

powersola wrote:
I connected it this way and it works wonderfully:
https://imgur.com/YGV0pL7

Federico


yes powersola you just need RXD, TXD, GND and RTS.
I am not comfortable connecting VCC to ANY remote from any module or cable.
I always prefer to use the remotes power source in the remote.

I had a very old atlas remote that is dead now because of this. (connecting 5V to a 3V remote)
I suspect the newer remotes have some kind of protection but I still prefer to use the batteries in the remote to power the remote.
Back to top
View user's profile Send private message
mathdon
Expert


Joined: 22 Jul 2008
Posts: 4515
Location: Cambridge, UK

                    
PostPosted: Thu Aug 12, 2021 5:45 am    Post subject: Reply with quote

Thanks to all for your info. I am pleased to know that these CH340 interfaces with RTS connected work well with RMIR.
_________________
Graham
Back to top
View user's profile Send private message
powersola



Joined: 09 Aug 2021
Posts: 13
Location: Italy

                    
PostPosted: Thu Aug 12, 2021 2:47 pm    Post subject: Reply with quote

mathdon wrote:
Thanks to all for your info. I am pleased to know that these CH340 interfaces with RTS connected work well with RMIR.


Not only with RMIR, but I can tell these little cheap interfaces are working wonderfully with almost everything I tried (STBs, solar inverters, managed switches, and more). Way better than the fake FT232RL-based boards out in the wild (some are OK, some not.. with the one I have on hand here I couldn't even download data from RMIR...).
Of course a real FT232RL chip is OK, it's the state of the art, but it's really hard to take a hand on it for cheap.
Think about it: even RS-electronics, some years ago, suffered from clone plague (shipped lots of fake FT232RL chips, probably something went wrong in the distribution chain... and I was affected too, discovered it after many headaches of non working Kenwood ham-radio interfaces assembled....).

For 1€ it's really worth to buy a CH340g interface and keep it around, it's always useful and it's working reliably.

Federico
Back to top
View user's profile Send private message
powersola



Joined: 09 Aug 2021
Posts: 13
Location: Italy

                    
PostPosted: Thu Aug 12, 2021 3:24 pm    Post subject: Reply with quote

ckeays wrote:
Hi Mathdon,
I received a few cables that were duds, displaying gibberish in a terminal test so you take your chances buying cheap cables like this from China.


For that price it's an "acceptable downside", even if I encountered that problem very rarely buying since 20 years from china. But could happen.

My CH340G interface, the one in the photo, did even come with a jumper installed between TX and RX pins.
For everybody, a good starting point would be to "jumper" (connect together) TX and RX pins, open the COM port in a terminal (for example minicom, hyper-terminal, termite, etc...), and write something random.
If you receive back from the terminal exactly what you type 99,9% chances is that the interface is working good Wink
Back to top
View user's profile Send private message
StephenR0



Joined: 12 Feb 2007
Posts: 109
Location: Iowa, US

                    
PostPosted: Mon Jan 03, 2022 9:25 pm    Post subject: Reply with quote

I needed another JP1.X cable. I had ordered these for another project that involved ttl console access.

https://www.amazon.com/gp/product/B00LZV1G6K

They are CH340 based, but these didn't bring out RTS. So, I looked at the datasheet for the CH340G and RTS is on pin 14. Building it was very easy. I just soldered a male jumper onto the chip and hooked everything up. Here is the result. It works perfectly. So, there's another option.

Back to top
View user's profile Send private message
powersola



Joined: 09 Aug 2021
Posts: 13
Location: Italy

                    
PostPosted: Wed Jan 05, 2022 11:16 am    Post subject: Reply with quote

StephenR0, something similar happened to me, but I explicitly order the "pink" one with 6 pins, for a little higher price. But when it came it was the cheaper 4pin one.
This is the exact item I bought, so you don't waste your money on this seller.

https://www.aliexpress.com/item/PL2303-HXD-6Pin-USB-TTL-RS232-Convert-Serial-Cable-PL2303HXD-Compatible-Win-XP-VISTA-7-8/32852358471.html?spm=a2g0o.9042311.0.0.27424c4dNxwTGv

However, opening the pink shell, I traced the necessary pin on the chip and it went on the underside, on a empty pad. I desoldered the 5V cable that's not necessary for our matter, and soldered in the right place. I attach some photos.



Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Hardware All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4, 5
Page 5 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control