In this project we connect an IR remote decoder with a Serial interface to Serial port of Raspberry Pi.
We use Python Threading Library to read incoming Data.
The Data is shown in Graphic by using Tkinter Sprite Library.
- On Raspberry Pi Create a directory
- download Test_Serial and unzip them in that folder
- On Raspberry Pi under Menu Programming select Thonny Python IDE
- from menu file open file Test_Serial.py
- Connect Serial Device to Raspberry Pi
- run the Python file
Pin Device | Pin Raspberry # | Pin name |
---|---|---|
RxD | 8 | GPIO14/TxD |
TxD | 10 | GPIO15/RxD |
GND | Any | Any Ground |
5V | 2 | 5V |
Beeper Sig | 15 | GPIO22 |
Beeper GND | Any | Any Ground |
Beeper 3.3V | 1 | 3.3V |
download: Test_Serial