RPICT USB Adaptor

From lechacal
Revision as of 11:04, 20 May 2022 by Administrator (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.

Link to the shop

Rpict-usb-adaptor 01.jpg

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.

Or you can use SerialPlot which is good for plotting data in realtime. Use data format as ASCII and Column delimiter as space.

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


Rpict-usb-adaptor 02.jpg Rpict-usb-adaptor 03.jpg