RPICT USB Adaptor: Difference between revisions

From lechacal
Jump to navigation Jump to search
Line 9: Line 9:
Baud rate is 38400.
Baud rate is 38400.


A good cross platform tool for reading serial ports is putty. [https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html]
A good cross platform tool for reading serial ports is [https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html putty].


Note that a Raspberrypi is needed to configure the RPICT board.
Note that a Raspberrypi is needed to configure the RPICT board.

Revision as of 20:32, 13 May 2022

The RPICT USB Adaptor aim to interface any RPICT series board with a USB port. This can equally be used on a computer or a Raspberrypi.

Usage on a computer

Data output is read on the serial port. The serial port will depend on your operating system.
This will be /dev/ttyUSB0 on linux and a com port on windows.

Baud rate is 38400.

A good cross platform tool for reading serial ports is putty.

Note that a Raspberrypi is needed to configure the RPICT board.

Usage on a Raspberry pi

As an alternative to stack the RPICT on the Raspberry it is possible to use this USB adaptor to connect the RPICT to the USB port of the Raspberry. This can be a good way to free up the GPIO ports.

The configuration tool lcl-rpict-config can be used but in this case requires the serial port to be informed.

An example for reading the configuration

lcl-rpict-config.py -p /dev/ttyUSB0

An example for writing a configuration file

lcl-rpict-config.py -p /dev/ttyUSB0 -w myfile.conf

You should read the data stream with the commands below.

stty -echo -F /dev/ttyUSB0 raw speed 38400
cat /dev/ttyUSB0