Summary: Starting and stopping Toggl timer with RFID tag using Serial API and Arduino.
Required hardware
- Arduino UNO or similar
- RFID-RC522,
- 7 jumper cables
- RFID card/tag
Required software
- Arduino IDE
- Chrome browser
Arduino logic is in the file /rfid.ino. Compile and upload the rfid.ino to an Arduino board.
Change REGISTERED_CARD
to recognize your card. Check this if you don't know the ID.
Pin | Connect to an Arduino |
---|---|
VCC | 13 |
RST | 12 |
GND | 4 |
IRQ | NOT_CONNECTED |
MISO | 10 |
MOSI | 9 |
SCK | 8 |
SDA | 7 |
Change variables in serial.html to your configuration.
const WORSPACE_ID = -1
const API_KEY = '<API_KEY>'