Did an experiment with a CH330n serial chip.
alatnet
Posts: 80
in Propeller 1
Found about the CN330n serial chip.
It's around $3 + shipping on ebay and possibly cheaper on other sites (probably as low as $0.33 or so).
The only issue is that the only datasheet is translated from a poorly made chinese datasheet.
Chinese datasheet: https://datasheet.lcsc.com/szlcsc/1811151442_WCH-Jiangsu-Qin-Heng-CH330N_C108996.pdf
Hackaday info about it: https://hackaday.io/project/162389-ch330n-33-usb-to-uart-info-and-applications
Translated datasheet: https://cdn.hackaday.io/files/1623896947650976/CH330DS1.zh-CN.en.pdf
I did a test with it and it works really well.
Baud rate of 115200 with the Parallax Serial Terminal Demo.spin loaded worked beautifully.
The only thing to note is that instead of DTR for reset, you need to use RTS.
But for a SOP8 package at around $3 + shipping or less, it's quite nice.
Breadboard of it is attached.
It's around $3 + shipping on ebay and possibly cheaper on other sites (probably as low as $0.33 or so).
The only issue is that the only datasheet is translated from a poorly made chinese datasheet.
Chinese datasheet: https://datasheet.lcsc.com/szlcsc/1811151442_WCH-Jiangsu-Qin-Heng-CH330N_C108996.pdf
Hackaday info about it: https://hackaday.io/project/162389-ch330n-33-usb-to-uart-info-and-applications
Translated datasheet: https://cdn.hackaday.io/files/1623896947650976/CH330DS1.zh-CN.en.pdf
I did a test with it and it works really well.
Baud rate of 115200 with the Parallax Serial Terminal Demo.spin loaded worked beautifully.
The only thing to note is that instead of DTR for reset, you need to use RTS.
But for a SOP8 package at around $3 + shipping or less, it's quite nice.
Breadboard of it is attached.
Comments
Or I can buy a complete CP2202 on a pcb for $1.30 shipped from Alicexxxx on eBay.
Good for designs that want to incorporate an on board usb to serial adapter for easy programming of a propeller.
What power board is on that pcb??
MB102
Specifically the Mini USB one (should be the last one in the dropdown).
It works decently but the 5v converter chip gets hot if you put in more than 7 volts or so. Gets really hot if you stick a 12v supply to it. Though i dont think it can handle much in terms of amperage...
Because...
—▷ http://hintshop.ludvig.co.nz/show/persistent-names-usb-serial-devices
Yes, the So8 is simple to handle, and gives a good plain-vanilla solution for a simple, modest speed serial link.
This thread has info on sped tests, and the CH3xx series are modest, showing starting to slow down sustained rates, above ~500k Baud
https://www.eevblog.com/forum/microcontrollers/ch340-usb-uart-speed-tests/msg2528121/#msg2528121
Many systems are fine with lower baud speeds.