ezpl Posted March 18, 2017 Posted March 18, 2017 I am just getting started using the Orange Pi Zero and installed Xenial 4.10.1. Currently I am using Python and am able to address the GPIO pins (using this project: https://github.com/duxingkei33/orangepi_PC_gpio_pyH3) However, I need to communicate with a serial device (projector) using RS232 on 9600 BAUD. For this, the built-in UART should do the trick (with an additional voltage converter). Does anyone know how I can address this device from Python? Alternatively, is there a way to clock" an GPIO output to 9600 BAUD and manually send the data? Thanks, Ezpl
martinayotte Posted March 18, 2017 Posted March 18, 2017 Simply use python-serial. http://pyserial.readthedocs.io/en/latest/shortintro.html
Recommended Posts