This SparkFun Serial Basic Breakout is an easy-to-use USB-to-Serial adapter based on the CH340C and takes advantage of the handy USB-C connector. With USB-C you can get up to three times the power delivery over the previous USB generation at 1.5A and and also solves the universally frustrating dilemma of plugging a USB cable in correctly, because it’s reversible! The Serial Basic works with 5V and 3.3V systems and possesses the capability to auto install on most operating systems without the need for additional drivers. The Serial Basic uses the CH340C IC to quickly and easily convert serial signals to USB.
The pinout of the Serial Basic mimics the common DTR/RXI/TXO/VCC/CTS/GND pinout found on hundreds of FTDI-to-USB derivatives. It can also be used as a general serial device for debugging (such as with a GPS module). There is a jumper on the rear of the board that controls the output voltage on the VCC pin. By default, the board outputs 3.3V and has 3.3V signals. Changing this jumper to 5V will cause the board to output 5V on the VCC pin with 5V signals.
If it requires power, you need to know how much, what all the pins do, and how to hook it up. You may need to reference datasheets, schematics, and know the ins and outs of electronics.
Skill Level: Rookie - You may be required to know a bit more about the component, such as orientation, or how to hook it up, in addition to power requirements. You will need to understand polarized components.
See all skill levels
We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.
Based on 9 ratings:
2 of 2 found this helpful:
The power regulator is an AP2112 with "G3P" marking is rated for 600mA continuous, is this OK for 1.5A continuous? I was driving WiFi and some other stuff noticed it getting hot.
2 of 2 found this helpful:
This is my go-to for UART stuff. The voltage regulator can output 600mA at 3.3V, which saves me needing another power supply for most of my project.
Bought this to program an Arduino mini for an FM transmitter project. It was a perfect fit as the DTR line was available.
I tried to interface the U-Blox F9P board from Sparkfun through the F9P's USB port, trying to bring the NMEA sentences back to serial communications into ports on an Arduino Due. Rigged VCC to the F9P board through the CH340C. No luck.
This USB-C interface has the same pin out as the other USB interfaces providing me an easy peasy drop in USB port change for different users of my projects. It also allows me to use power from the connecting device or apply power via the USB for powering the connected device. It allows me to use either 3.3v or 5.0v as required too.
Needed a way to get text to a screen on a second channel and this did the the job. If it works what else can you say.
I thought that there was a problem with the linux kernel driver, but after using python to talk to the ch340g from a ch340c determined that there was no problem. I was able to transmit and receive at 9600, 115200 and 921600.
Worked great the first time we tried it. Default was 3.3v and signals were correct polarity.
I bought three DEV-15096 boards (from Digi-Key, along with other parts I ordered there). These CH340 based USB-serial boards are cheaper than my other FTDI/FT232 based boards like the classic Sparkfun DEV-09873, and USB-C is very convenient.
Rx-LED Overloading Issue: Unfortunately this DEV-15096 board has a serious design defect: It ties the Rx LED directly to the Rx input signal line via a pull-up resistor without using any LED-driving buffer. This can overload the serial transmitter on the other end and cause faults, unless that transmitter has additional current sinking ability to drive the Rx LED (in addition to the low current needed to drive RS232-TTL signal lines).
The problem is that certain routers (e.g., Netgear R8000) won't boot up when I am connecting this USB-serial board to the router's serial console to capture the initial boot messages (nothing happens after pressing the router power switch). Tried the other two pieces of DEV-15096 - same thing, router won't boot. Tried two other R8000 routers - same thing. Note that I was connecting only two wires for serial monitoring: A "GND-to-GND" wire, and a second "Rx-to-Tx" wire from the board's Rx to the router's Tx.
The routers boot fine if I temporarily disconnect the Rx-to-Tx wire before powering on the router and reconnect it back a couple of seconds after applying power to the router, and then things work fine - I start getting serial console boot messages (after losing the first a few lines of the initial boot messages).
Importantly, none of my other FTDI based USB-serial boards have any of these problems (the routers boot up fine with DEV-09873 no matter when/how I connect).
So I made some rough DC input impedance measurements for the Rx input pin, both on the FT232 based DEV-09873 and also on this CH340 based DEV-15096 board. Found a huge difference: The DEV-09873's Rx input has an input-Z of ~400 K ohms, while this DEV-15096 had an input-Z in the single digit (K ohms). So a transmitter driving the Rx pin of this DEV-15096 will need to sink a couple of milliamps for a 0V level signal (as opposed to only a couple of microamps when driving the DEV-09873). This is almost certainly why the routers won't boot with this CH340 based board.
Also the schematics show that the FT232 IC has separate special pins for driving the Rx and Tx LEDs and separate dedicated pins for the Rx and Tx signal without any external pull-up resistors/LEDs (and I measured these signal lines to be of high-Z). The DEV-15096 board, if the schematics are right, assumes that the transmitter on the other side is capable of driving the board's Rx LED. That will work in most cases but it seems too much to demand that all RS232/TTL signal transmitters should be capable of driving an LED - some RS232/TTL transmitters may get overloaded by the LED circuit.
The schematics indicate that the FTDI based DEV-09873, although more expensive, have a superior robust, fault-tolerant design compared to this DEV-15096 board. Because the DEV-09873 board's FT232 chip has high input-Z on its Rx input signal line and provides separate pins (with driver/buffer circuit) for the Rx LED, it will not overload the other side transmitter, and so will work in more noisy/demanding/critical situations compared to the DEV-15096 design.
I will go back to using my DEV-09873 type (FT232 based) boards again.
Update: It appears that the culprit is the specific cost-cutting design of this DEV-15096 board (and other CH340 based boards), not the CH340 IC itself. True, the cheaper CH340 IC does not include separate driver/buffers for driving LEDs like the FT232 does, but one can overcome that shortcoming in a CH340 based board design by adding a single buffer gate for driving the Rx LED. In fact, SparkFun's DEV-14050 (CH340 based serial basic breakout) is exactly such a board, whose schematics clearly show that the board designer added a "74LVC1G08SE Buffer for RX LED". So with that buffer for the Rx LED added, the CH340 based DEV-14050 board does not suffer from the Rx-LED overloading issue, and is still significantly cheaper than any FT232 based board.
The V3 pin must be connected to 3.3V when 3.3V VCC is selected. When 5V VCC is used, it basically has a LDO built-in to step in down to 3.3V for it's USB logic to work.
Not sure if anyone noticed, but the LED resistors are not matched to the LEDs so the green LED is about half as bright as the yellow LED in operation. Would be nice if matched resistors were installed in the future.
Edit: maybe it's just the LED I have, both drop 1.8V, but the green one has an internal resistance of 1.3kOhm?
Can we get a SparkX version with the Red Squirrel 3V/5V Switch?
Excuse my ignorance, but what is the "Red Squirrel 3V/5V Switch"?
How much current can I pull from the 5V line? Is it as much as my Computer/Power brick will give me or is it somehow limited on board? I would like to use this for development but later on leave it on the board for Powering my project.
The board and USB-C in general, communicates it's "limit" with two resistors on the connector. This board is limited to 1.5 - 2A but is also limited by the trace width of the 5V line on the PCB. I can only safely recommend that you pull 1A, though I suspect you could pull a bit more. This could be a good question for the forums: forums.sparkfun.com, to pull on the experience of the SparkFun community.
I think I'm slightly confused. What's the difference between this and an FTDI Basic Breakout?
It is a serial device exactly the same as an FTDI, but with the difference being the chip on the product: a CH340C. It also uses a USB-C connector.
I really don't understand why sparkfun does not put a decent voltage selector like jumpers or a small switch on their serial breakouts. :(
Hello Vitor! If you look at the picture of the underside of the Serial Basic, it has a jumper for voltage selection (defaults to 3.3V).
yeah yeah, i know, but meant actually using jumper headers: https://www.sparkfun.com/products/9044 For example, this one is a really nice designed one with both a jumper selector to 5V and 3.3V AND disabling the power to the device. https://www.tindie.com/products/kdcircuits/ftdi-usb-serial-converter-5v33v/
if this only had a pin jumper instead of solder pads for the voltage selection it would be more useful than the visiport2.