Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1275

Python • Serial communication via GPIO Pins?

$
0
0
Hello!

I have a serial device with 4 pins (GND/VCC/TXD/RXD), that I connect right now via an UART USB Adapter. Instead I would like to connect this serial device via GPIO pins on my Raspberry Pi 2 W so I don't need the UART USB Adapter. Is there a way to connect a UART device directly to some GPIO PINs?

As some background: I'm trying to build a apple homekit compatible home key reader. I found this sample project: https://github.com/kormax/apple-home-key-reader

I bought a bunch of PN532 NFC Readers and it works nicely when connected directly to my macbook and now I'm trying to turn it into something that I can glue directly to my door.

Statistics: Posted by 343max — Thu Feb 08, 2024 4:37 pm



Viewing all articles
Browse latest Browse all 1275

Trending Articles