Nodmcu RFID Attendance Server With Processing

A cool way to mark attendance.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

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.

1 Person Made This Project!

Recommendations

  • Made with Math Contest

    Made with Math Contest
  • Multi-Discipline Contest

    Multi-Discipline Contest
  • Robotics Contest

    Robotics Contest

15 Discussions

None
AziisP

Question 2 months ago

hei bruh, i have problem. the oled display still offline but i already change ip address just like displayed on the oled screen
"Open processing sketch and click run" its that the excell file or arduino sketch?.

2 answers
None
RajaH22AziisP

Answer 4 weeks ago

"Open processing sketch and click run" it mean:
you need to download Processing 3 software

None
AziisPRajaH22

Reply 4 weeks ago

Oh ok its work, thank you very much :)

None
RajaH22

Question 4 weeks ago

Hi , already try your project it work, but my OLED not show any display. Can you help me?

None
gps432299ajaymatkar24

Reply 5 months ago

Very good project..

Had several issues:
1. Serial.begin(115200); was missing (added).
2. Added the OLED library, per your instructions. That worked
3. I a message on the OLED screen saying my IP address is offline.

I did change the SSID and Password to my wireless network.

Can comment on Item #3. Also, can you forward me the code that does not uses the wireless network.

Thanks

None
code25

6 months ago

Hi,

I'm interested in your project, but I have a question.

Can we use a static IP address ? In case I don't have any WiFi to connect to.

Thank you ! and great project by the way !

None
Xehraan

6 months ago

Pin connections plz..

None
abdulkabir.eniola

Question 9 months ago

nice project you have here, please how can i use this with arduino uno r3? if you do have any the source code for arduino uno r3 regarding this, could you please send to my mail. abdulkabireniola@gmail.com
thank you sir

1 answer
None
Shaheer Sajidabdulkabir.eniola

Answer 9 months ago

Hey,
Thanks for being interested in my project.
The only difference will be that in Arduino we are going to communicate via a wired connection instead of wifi.
I haven't already written a code for that but I am willing to make the modifications so that it runs on Arduino.
I'll mail you the code in a few days.
Probably by this weekend.

None
AustinBob

Question 1 year 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 answers
None
AustinBobShaheer Sajid

Reply 1 year 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!

None
Shaheer SajidAustinBob

Reply 1 year 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
None
AustinBobShaheer Sajid

Reply 1 year 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...