0

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 ?

| improve this question | | | | |
0

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.

http://abyz.me.uk/rpi/pigpio/python.html#bb_serial_read

And a link to simple python code for reading a given GPIO pin as serial:

https://www.rs-online.com/designspark/raspberry-pi-2nd-uart-a-k-a-bit-banging-a-k-a-software-serial

| improve this answer | | | | |
  • Please accept your own answer with a click on the tick on its left side. Only this will finish the question and it will not pop up again year for year. – Ingo Feb 22 at 21:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.