A simple script that utilizes a raspberry pi and a MFRC522 module to emulate the beep payment system of LRT / MRT to jeepneys.
- This code requires the SPI-Py installed. Get it from the offical github repo
- Also, I used this module
Name | Pin # | Pin name |
---|---|---|
SDA | 24 | GPIO8 |
SCK | 23 | GPIO11 |
MOSI | 19 | GPIO10 |
MISO | 21 | GPIO9 |
IRQ | None | None |
GND | Any | Any Ground |
RST | 22 | GPIO25 |
3.3V | 1 | 3V3 |
- Install SPI-Py from here
- Run
python app.py