An open API service indexing awesome lists of open source software.

https://github.com/rh0/cp2104_lcd_test


https://github.com/rh0/cp2104_lcd_test

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# CP2104 to serLCD test
Just a simple python sketch to test [Silicon Labs CP2104](https://www.silabs.com/products/interface/Pages/cp2104-mini.aspx).

The CP2104 is a USB to UART bridge. This allows serial communication over USB. When the device is attached to a USB port, it will appear as a serial interface. _In my case `/dev/ttyUSB0`._

### What do I do?
To test this device, connect the TX pin of the CP2104 to the RX pin of a [sparkfun serLCD backpack](https://www.sparkfun.com/products/258) driving an LCD display. Connect the CP2104 to the computer via USB verify that it appears as `/dev/ttyUSB0`.
This python sketch will send keypress characters via serial communication to be rendered on the LCD. You will need the pySerial and Curses modules installed.