LXer: How to connect a Raspberry Pi to a serial USB port with Python from the terminal
by LXer from LinuxQuestions.org on (#52Y9M)
Published at LXer:
Raspberry Pi can be used to interface with the real world from its GPIO, for example, by controlling a stepper motor. You can also use Raspberry Pi to dialog with some devices-like Arduino-by using a serial USB port. In this guide, I[he]#039[/he]ll show you how to connect your Raspberry Pi to a serial USB port and read its values with Python from the terminal (without a desktop environment). For this purpose, we[he]#039[/he]ll use Pyserial and its terminal tool.
Read More...


Raspberry Pi can be used to interface with the real world from its GPIO, for example, by controlling a stepper motor. You can also use Raspberry Pi to dialog with some devices-like Arduino-by using a serial USB port. In this guide, I[he]#039[/he]ll show you how to connect your Raspberry Pi to a serial USB port and read its values with Python from the terminal (without a desktop environment). For this purpose, we[he]#039[/he]ll use Pyserial and its terminal tool.
Read More...