Is it possible to read more than one TTL sensor on serial RX GPIO 10? I know you can add multiple serial sensors on /dev/ttyUSBx
Does the same apply to /dev/ttyAMAx ?
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It only takes a minute to sign up.Sign up to join this community
While I have not been able to find a way to read multiple TTL sensors on a single GPIO pin, I did find this way of using other GPIO pins as serial RX pins via the pigpio library. Works great.
And a link to simple python code for reading a given GPIO pin as serial: