Jorgen-VikingGod / Esp8266 Mfrc522
Licence: mit
MFRC522 RFID module connected to ESP8266 (ESP-12) WiFi module
Stars: ✭ 147
Labels
Projects that are alternatives of or similar to Esp8266 Mfrc522
Openfpgaduino
All open source file and project for OpenFPGAduino project
Stars: ✭ 137 (-6.8%)
Mutual labels: arduino
Liquidmenu
Menu creation Arduino library for LCDs, wraps LiquidCrystal.
Stars: ✭ 141 (-4.08%)
Mutual labels: arduino
Binarykeyboard
A keyboard with two buttons that types in binary.
Stars: ✭ 141 (-4.08%)
Mutual labels: arduino
Si5351arduino
Library for the Si5351 clock generator IC in the Arduino environment
Stars: ✭ 141 (-4.08%)
Mutual labels: arduino
Openbot
OpenBot leverages smartphones as brains for low-cost robots. We have designed a small electric vehicle that costs about $50 and serves as a robot body. Our software stack for Android smartphones supports advanced robotics workloads such as person following and real-time autonomous navigation.
Stars: ✭ 2,025 (+1277.55%)
Mutual labels: arduino
Tmc2130stepper
Arduino library for Trinamic TMC2130 Stepper driver
Stars: ✭ 141 (-4.08%)
Mutual labels: arduino
Liveov7670
A step-by-step guide to building the circuit for this project:
Stars: ✭ 143 (-2.72%)
Mutual labels: arduino
Esp32 Rhasspy Satellite
The repo has implementing an esp32 standalone MQTT audio streamer. Is is desinged to work as a satellite for Rhasspy (https://rhasspy.readthedocs.io/en/latest/). It supports multiple devices
Stars: ✭ 138 (-6.12%)
Mutual labels: arduino
Teensypolysynth
A polyphonic synth build for teensy 3.2 and teensy audio adapter.
Stars: ✭ 140 (-4.76%)
Mutual labels: arduino
Arduino Fsm
Arduino library for implementing a finite state machine.
Stars: ✭ 142 (-3.4%)
Mutual labels: arduino
Youyue 858d Plus
CODE: Custom firmware for Youyue 858D+ (ATmega168/328P)
Stars: ✭ 138 (-6.12%)
Mutual labels: arduino
Esp32 Blecollector
ᛡᛒ BLE Scanner + Data persistence on SD Card for M5Stack, Odroid-Go, ESP32-Wrover-Kit and other models
Stars: ✭ 145 (-1.36%)
Mutual labels: arduino
Rf24
OSI Layer 2 driver for nRF24L01 on Arduino & Raspberry Pi/Linux Devices
Stars: ✭ 1,813 (+1133.33%)
Mutual labels: arduino
Esp8266 Tiny Door And Window Sensor
Battery powered door and window sensor with ultra low standby power. Arduino, ESP-12, Reed switch, ATtiny, LDO
Stars: ✭ 146 (-0.68%)
Mutual labels: arduino
ESP8266-MFRC522
MFRC522 RFID module connected to ESP8266 (ESP-12) WiFi module
Many thanks to nikxha from the ESP8266 forum (for initial work) and omersiar (for more details of wiring and additional examples)
Requirements
You have to install Arduino IDE 1.6.10 or later. Links are listed below.
- Arduino > Preferences > "Additional Boards Manager URLs:" and add: http://arduino.esp8266.com/stable/package_esp8266com_index.json
- Arduino > Tools > Board > Boards Manager > type in ESP8266 and install the board
- Download MFRC522 library and extract to Arduino library folder or you can use "Library Manager" on the IDE itself to install the MFRC522 library.
Download Links
- Arduino IDE - The development IDE
- ESP8266 Core for Arduino IDE - ESP8266 Core
- MFRC522 Library - MFRC522 RFID Library
Simple Example
Wiring RFID RC522 module
The following table shows the typical pin layout used:
Signal | MFRC522 | WeMos D1 mini | NodeMcu | Generic |
---|---|---|---|---|
RST/Reset | RST | D3 [1] | D3 [1] | GPIO-0 [1] |
SPI SS | SDA [3] | D8 [2] | D8 [2] | GPIO-15 [2] |
SPI MOSI | MOSI | D7 | D7 | GPIO-13 |
SPI MISO | MISO | D6 | D6 | GPIO-12 |
SPI SCK | SCK | D5 | D5 | GPIO-14 |
- [1] (1, 2) Configurable, typically defined as RST_PIN in sketch/program.
- [2] (1, 2) Configurable, typically defined as SS_PIN in sketch/program.
- [3] The SDA pin might be labeled SS on some/older MFRC522 boards
Define RFID module
#include "MFRC522.h"
#define RST_PIN 5 // RST-PIN for RC522 - RFID - SPI - Modul GPIO5
#define SS_PIN 4 // SDA-PIN for RC522 - RFID - SPI - Modul GPIO4
MFRC522 mfrc522(SS_PIN, RST_PIN); // Create MFRC522 instance
Initialize RFID module
void setup() {
Serial.begin(115200); // Initialize serial communications
SPI.begin(); // Init SPI bus
mfrc522.PCD_Init(); // Init MFRC522
}
Read RFID tag
void loop() {
// Look for new cards
if ( ! mfrc522.PICC_IsNewCardPresent()) {
delay(50);
return;
}
// Select one of the cards
if ( ! mfrc522.PICC_ReadCardSerial()) {
delay(50);
return;
}
// Show some details of the PICC (that is: the tag/card)
Serial.print(F("Card UID:"));
dump_byte_array(mfrc522.uid.uidByte, mfrc522.uid.size);
Serial.println();
}
// Helper routine to dump a byte array as hex values to Serial
void dump_byte_array(byte *buffer, byte bufferSize) {
for (byte i = 0; i < bufferSize; i++) {
Serial.print(buffer[i] < 0x10 ? " 0" : " ");
Serial.print(buffer[i], HEX);
}
}
More Examples
- ESP RFID - Embedded RFID Access Control Project for MFRC522
- Paralelni Polis RFID Access System - Access Control with Server - Client communication.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].