GPS speedometer and clock
A bike or car speedometer that needs no wheel sensor: satellites do the measuring.
Shop by category
Shop all componentsThe PN5180 is NXP's high-performance NFC front end: it reads ISO 14443 cards like NTAG stickers and also ISO 15693 tags used in libraries, at a longer range than the RC522. It needs both 5 V (RF) and 3.3 V (logic) and has a BUSY pin the code must wait for. This reader keeps a small table of sticker IDs and names and prints each check-in with the time from NTP.
Tick anything you already have and the total updates.
PN5180 NFC reader/writer
Follow the colours: red is power, dark grey is ground, blue is a signal.
USB 5 V; the PN5180 RF part draws up to about 150 mA.
nfc_checkin.inoVerify & upload in Electrolark#include <WiFi.h>
#include <time.h>
#include <PN5180.h>
#include <PN5180ISO14443.h>
PN5180ISO14443 nfc(5, 16, 17); // NSS, BUSY, RST
const int BUZZER = 25;
const char* SSID = "your-wifi";
const char* PASS = "your-password";
struct Person { const char* uid; const char* name; };
Person PEOPLE[] = { {"04A1B2C3D4E5F6", "Asha"}, {"04112233445566", "Ravi"} };
String hex(uint8_t* b, int n) { String s; for (int i = 0; i < n; i++) { if (b[i] < 16) s += "0"; s += String(b[i], HEX); } s.toUpperCase(); return s; }
void setup() {
Serial.begin(115200);
pinMode(BUZZER, OUTPUT);
WiFi.begin(SSID, PASS);
configTime(19800, 0, "pool.ntp.org");
nfc.begin();
nfc.reset();
nfc.setupRF();
}
void loop() {
uint8_t uid[10];
int len = nfc.readCardSerial(uid);
if (len >= 4) {
String id = hex(uid, len);
const char* name = "Unknown";
for (auto& p : PEOPLE) if (id == p.uid) name = p.name;
struct tm t; getLocalTime(&t, 100);
Serial.printf("%02d:%02d %s %s\n", t.tm_hour, t.tm_min, name, id.c_str());
digitalWrite(BUZZER, HIGH); delay(100); digitalWrite(BUZZER, LOW);
delay(1500); // ignore the same tap for a moment
}
delay(100);
}
The PN5180 needs both 5 V and 3.3 V; check BUSY and RST wires.
Keep metal away from the antenna; mount it on wood or plastic.
Install the PN5180 library from its GitHub ZIP, not a similarly named one.
Do not use it on such cards; use your own NTAG stickers.
Yes, the PN5180ISO15693 class reads ISO 15693 tags.
Yes, send each check-in to a Sheets web app URL over Wi-Fi.
6 parts: ESP32-WROOM-32 38-Pin Development Board, PN5180 NFC RFID Reader/Writer Module – SPI Interface, ISO15693, ISO14443 A/B, FeliCa, 5 × NTAG215 NFC Tag 13.56 MHz 504Byte Sticker – 25x25mm, Buzzer Module 3.3–5V, Solderless Breadboard and Dupont Jumper Wires (40 pcs). On this page you can tick the parts you already have and add only the rest to your cart.
It is a intermediate project and takes about 2 hours. The build on this page has 6 steps.
About ₹1,347 for the parts at the prices on this page. Quantity price breaks lower the cost when you build several.
Wiring the PN5180: SPI plus BUSY and RST; Reading ISO 14443 UIDs; Matching IDs to names.
A bike or car speedometer that needs no wheel sensor: satellites do the measuring.
Records where you went every five seconds, ready to open on a map.
Two boards, two radios: press the button at the gate and it rings indoors.
Check temperature, humidity and pressure from any phone on your Wi-Fi.
Lessons are free to read. Maker (₹499/month) and Pro add quizzes, worked problems and certificates, paid with your Geekobot account. See plans
Learning project. Check every circuit and the datasheet of each part before you power it up.