Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 17:35 12 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : CP2102 with USB-C connector....

Author Message
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9593
Posted: 07:25am 27 Dec 2024
Copy link to clipboard 
Print this post

These modules are still being produced, and I love that they are now doing a USB-C version, vs the older Micro-USB socket.

CP2102 with USB-C...

Still very affordable.
Edited 2024-12-27 17:27 by Grogster
Smoke makes things work. When the smoke gets out, it stops!
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7865
Posted: 08:50am 27 Dec 2024
Copy link to clipboard 
Print this post

Not the same chip but just as effective, I use the USB-C version on all my designs (where the Pico's USB is needed for a hub) at the moment.

2 things to watch:
1: The data pins have pull-up resistors to the incoming 5V supply. That means that you need a level shifter of some sort with a RP2040 or with a RP2350 that isn't powered.
2: The USB-C version has an on-board 0.5A fuse on the incoming 5V rail (well, mine do). USB-C is capable of more than this but they assume you are using a USB-A to USB-C lead so you are restricted to USB-A current level.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9593
Posted: 05:26am 03 Jan 2025
Copy link to clipboard 
Print this post

My new USB-C modules have arrived, and appear to be pin-for-pin compatible, and of the exact same size.





Interestingly, the top module(micro-USB) in this photo, the chip is "Blank" - no markings, so most likely a clone.  The TXD and RXD leds that NORMALLY blink on these modules, don't on this one, and the silkscreen is pretty flaky.

The new USB-C ones I got, appear to use the genuine chip, as you can easily read the chip markings, and the silkscreen seems much more "White" then the other one.

These could be clones also, but the TXD and RXD LED's blink on the new USB-C ones, and they APPEAR to use genuine chips - date code is 30th week of 2022...
Smoke makes things work. When the smoke gets out, it stops!
 
apalert
Newbie

Joined: 06/07/2023
Location: Australia
Posts: 35
Posted: 07:26am 03 Jan 2025
Copy link to clipboard 
Print this post

  Mixtel90 said   The data pins have pull-up resistors to the incoming 5V supply. That means that you need a level shifter of some sort with a RP2040 or with a RP2350 that isn't powered.


Data pins on my recently purchased unit are 0 - 3.3V
Edited 2025-01-03 17:27 by apalert
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7865
Posted: 10:13am 03 Jan 2025
Copy link to clipboard 
Print this post

Which modules are those ? Have you got a link please?
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2611
Posted: 11:02am 03 Jan 2025
Copy link to clipboard 
Print this post

Grogster's photo shows the RXI terminal going to 3.3V via a LED and 220Ω. That would indicate the data pins are 3.3V.
The first post gives the link.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7865
Posted: 12:10pm 03 Jan 2025
Copy link to clipboard 
Print this post

I'd better start using those then! :)

I've just traced the circuit of the purple CH340E modules (marked BTE17-06B) that I've been using. This is a different chip, as I said before. It has an internal 3V3 regulator, brought out as expected, but it is not used by the output stage. All outputs are 5V. These modules are cheaper, I think, and have so far proved to be reliable so, if the 5V restriction is ok, I can still recommend them. They are fine with the RP2350 providing it is powered as the GPIO is rated for 5V.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2540
Posted: 03:46pm 03 Jan 2025
Copy link to clipboard 
Print this post

I use one with olimex board and pico2 usb. smaller than other usb to ttl with micro usb socket.

 
stanleyella

Guru

Joined: 25/06/2022
Location: United Kingdom
Posts: 2540
Posted: 04:31pm 03 Jan 2025
Copy link to clipboard 
Print this post

I meant these usb to ttl. connected to 2040 usb and logic levels works, should have tested first though. these need a female usb connector or plug into laptop pc

 
apalert
Newbie

Joined: 06/07/2023
Location: Australia
Posts: 35
Posted: 07:59pm 03 Jan 2025
Copy link to clipboard 
Print this post

  Mixtel90 said  Which modules are those ? Have you got a link please?


Sure, it was eBay item no 204454582793
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7865
Posted: 08:53pm 03 Jan 2025
Copy link to clipboard 
Print this post

Thanks. Yep, the one I thought. :) I'll put two or three on my next AE order.

Edit...
I'm going to have to be careful. The +5 and GND pins are reversed from the CH340E. :)
Edited 2025-01-04 07:13 by Mixtel90
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9593
Posted: 06:12am 05 Jan 2025
Copy link to clipboard 
Print this post

  Mixtel90 said  Which modules are those ? Have you got a link please?


Here you are:

LINK...
Smoke makes things work. When the smoke gets out, it stops!
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7865
Posted: 08:37am 05 Jan 2025
Copy link to clipboard 
Print this post

I have a couple (along with a load of other stuff - why stop when you are on a AE roll?) ordered now. They are actually longer and slightly more expensive than the purple ones that I've been using so I won't be using them as a complete swap over, they have their place. :).

I'm pretty sure that the TX and RX pins of the CH340 are not open drain as they can sink (4mA) and source current (3mA). This makes them useful if you need a bit of drive. Additionally, the single TXRX LED on the purple module is driven from the TNOW signal, which goes high on TX. This can be used for the DE line of a RS-485 driver to make a USB-RS-485 converter. :)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025