Nodmcu RFID Attendance Server With Processing

Intro: Nodmcu RFID Attendance Server With Processing

A cool way to mark attendance.

Step 1: Introduction

Have you ever felt the need to automate your attendance process?

If yes, then this is the perfect project to work upon.

Based on nodemcu, mfrc522 rfid module and processing IDE, this allows you to keep a record of whoever comes in your maker space/office.

Step 2: Gather the Material

The following material is required for the project:

  1. MFRC522 module MFRC522 RFID Module
  2. Nodemcu Nodemcu
  3. OLED Display OLED Module
  4. Processing and Arduino IDE Processing IDE / Arduino IDE

Gather the above material and you are ready to go!!!

Step 3: The Circuit

Connect all of the components by following the given circuit.

Step 4: The Code

Download the following sketches.

Install Arduino and Processing IDEs. You have to install ESP8266 board to Arduino in case you haven't.

Guide to Install ESP8266 on Arduino

OLED library link for Nodemcu

https://github.com/klarsys/esp8266-OLED

Instructions:

  1. Open the Arduino sketch and change the ssid and pass to your local wifi's credentials.
  2. Connect nodemcu and upload the code
  3. The oled will display connected when your nodemcu successfully connects to your wifi.
  4. Oled will also display the IP addressof your module.
  5. Now open the RFID zip folder and locate the text file "IP" in data folder and change the ip to the ip address displayed on the screen.
  6. Open processing sketch and click run.
  7. You should see ONLINE on the oled screen.
  8. Scan any rfid card and register it after entering the name on the screen that pops up when you run processing sketch.
  9. Every registered card if scanned, the time of entry and the name of person shall be updated in the attendance sheet file in the data folder.
  10. In case OLED screen does not display invert its I2C pins.

Share

Recommendations

  • Electronics Tips & Tricks Challenge

    Electronics Tips & Tricks Challenge
  • Optics Contest

    Optics Contest
  • Plastics Contest

    Plastics Contest

5 Discussions

0
None
AustinBob

Question 4 weeks ago on Step 4

Hi - this is a cool project! It is the first electronic thing I have attempted to build - I am an absolute beginner. When I try to flash RFID_Attendance_Server.ino to the NodeMCU, I get this error:

"error: OLED.h: No such file or directory."

I understand that I have to install a library for the display. The Arduino library manager has lots of them, but none named simply "OLED."

Could I trouble you to provide a zip file of the OLED library you used, or could you suggest which library already in the Arduino library manager I should use instead? If the latter, also please tell me which lines to change in the sketch - I have no idea what I'm doing here! I tried including a couple of plausible sounding OLED libraries, and changing the sketch accordingly to match those library names, and the result was MANY errors instead of just one, lol.

Thank you!

4 more answers
0
None
Shaheer SajidAustinBob

Answer 4 weeks ago

Hi,
Thank you for working on my project.

Download the library from the following link.
https://github.com/adafruit/Adafruit_SSD1306
Use the original code.
No need to change any lines for this library.

Please feel free to contact if any more issues follow.

Thanks again and good luck.

0
None
AustinBobShaheer Sajid

Reply 26 days ago

Hmmm that did not work. I did upload that library (and the Adafruit GFX library), but still got errors like "OLED no such file or directory" or "OLED does not name a type." I went to a meet up, and three guys who knew what they were doing couldn't figure it out. It may have something to do with my library file structure, although I have set it up the way the Arduino website says to do. The guy who knew the most about Arduino IDE said the sketch looked like it had some problem that I couldn't understand, since I don't know what I'm doing. Guess I'm going to have to back up and learn a little about Arduino IDE!

0
None
Shaheer SajidAustinBob

Reply 25 days ago

My bad. I accidentally gave you the link for the wrong library.

So basically when you use nodemcu you have to use oled library specially for nodemcu.

Here is the link:

https://github.com/klarsys/esp8266-OLED

I'm really sorry for the inconvenience. I literally forgot at the moment that I made this project on Nodemcu.

I've attached a screenshot to show this works.

Thanks.

Capture.PNG
0
None
AustinBobShaheer Sajid

Reply 23 days ago

That did the trick! It works! Thank you so much for your additional help. I'll post a couple of pics in the "I made it" section of this project. Now to try it in class as a tool for taking attendance...