RPI + Python Serial


I would like to build an "onboard computer" to be installed in a vehicle. I want to use the existing touch screen connected to a Raspberry Pi. The Raspberry pi is powered with a UPS to ensure safe shutdowns when the power is turned off. The UPS-Hat i'm using is communicating over the built in serial port and a python script.

I have managed so far to:

  • Install Termux
  • Install Python, Python-PIP and Pyserial
  • Configured Enable UART in config.txt

When i'm executing the script i get "Permission Denied" [Errno 13]/dev/ttyAMA0. I have seen the documentation regarding using the SuShell app but i do not understand how to set it up or forward the Termux request to SuShell. Any advice?

Sign In or Register to comment.