RFID Attendance System With SMS Notification
Component List:
- RFID Tag
- RFID Reader
- Buzzer
- GSM Module
- Capacitor
- RTC Module
- Arduino Nano
- 16*2 LCD Display
- Resistor
- Printed PCB
- Connecting wires
- Battery
- ISP Connector
- Potentiometer
- Voltage Regulator IC 7805
Procedure:
Step 1:
1) Add the ESP boards to
the Arduino IDE.
2)Add the RFID library
from Sketch--Include Library--Manages Libraries--search for (RFID)--then
Install it.
3)After having the
RFID-module wired to the nodeMCU like this:
SDA --- D8
SCK --- D5
MOSI --- D7
MISO --- D6
IRQ --- Not connected
GND --- GND
RST --- D3
3.3V --- 3.3V
connect it to the
computer using a Micro USB.
4)Open the RFID_NodeMCU code and enter your
WiFi setting(Name, Password) and your computer IP(you can know it from the
command line by typing "ipconfig" then check ipv4), after that select
the nodeMCU board from Tools--boards with the correct Port COM, and then upload
it.
5)Open the serial
monitor and set the baud rate to 115200 to check the connection status and the
nodeMCU IP, save the IP(to put it in the server file "httpd.conf").
step 2:
1)Download the WampServer or xampp and install
it.
2)Run it.
3)If you're using
WAMPServer 2.1: Click on wamp icon: Apache--httpd.conf--Add the nodeMCU IP to
the permit list ( Allow from "nodeMCU IP")or try(Allow from all) next
to this line: Allow from 127.0.0.1, then save it. while If you're using
WAMPServer 3.0.6: Click on wamp icon: Apache--httpd-vhosts.conf--simply replace
“Require local” with “Require all granted“ or "Require ip 192.168.xx.xx"(nodeMCU
IP), then save it.
4)Click on wamp icon: Restart all services.
5)Click on wamp icon:
www directory, then copy the website folder(login system folder) into it.
6)Click on wamp icon:
localhost--login system--install.php(It should give you a success message, if
not check the PHPMyAdmin password and username from
(C:\wamp\apps\phpmyadmin3.3.9\config.inc.php) then put the password in
(connectDB.php and install.php) pages.
7)Go to
localhost/loginsystem/AddCard.php to add the users.
8)Then
localhost/loginsystem/view.php to check the log. It should appear on the serial
monitor these messages: for a new card or an available card: 200 successful
"the cardID" and should the two LEDs blink for a login: 200 login
"the cardID" and should the red LED turn on for a logout: 200 logout
"the cardID" and should the blue LED turn on.
Connections And Circuit Diagram:
Now let’s discuss about the circuit schematic of this project. First of all LCD display, LCD display has 16 pins among them VSS, RW, and cathode pin is connect to the Arduino GND pin. The VDD pin is connected to the Arduino 5Vand the anode pin is also connected through a 330-ohm resistor. The potentiometer output pin is connected to the LCD V0 pin and the rest of potentiometer pins are connected to 5V and GND.LCD RS andE pins are connected to the Arduino digital pins 2 and 3. Next LCD D4, D5, D6, and D7 pins are connected to the Arduino digital pins 4 to 7 respectively. After that, the RFID module VCC pin is connected to the Arduino 3.3V pin. The RST and GND pin of RFID is connected tothe Arduino analog pin A0 and GND. Next the RFID module MISO, MOSI, and SCK pins must be connected to the Arduino digital pins 12, 11, and 13 respectively. The last pin SDA is connected to the Arduino digital pin 10. Now the sim 800l GSM module VCC and GND pins are connected to Arduino 5V and GND pins with a capacitor. Next the TX and RX pins are connected to the Arduino digital pins 8 and 9 respectively. Then RTC module GND pin is connected to the GND and VCC pin is connected to the 5v. RTC SDA pin is connected to the Arduino Analog Pin A4 and SCL pin is connected to Analog pin A5. The buzzer is connected to Arduino analog pin A1 and GND.
CODE:
|
Comments
Post a Comment
If you have any doubts ,Please let me know.