Installation of All Software
a) Raspbian OS:
This is the recommended OS for Raspberry Pi. You can also installed another OS from a third party. Raspbian OS is a Debian based OS. We can install it from the NOOBS installer. You can download it here.
b) Python IDLE:
This is the software we get in Raspbian OS. For this project we have used a Python script.
This software is used to burn Raspbian Os onto a SD Card. You can download it here.
This software is used to format a memory card. You can download it here.
f) Installation of LAMP Server and PHPMYADMIN:
First of all let us clear one thing, that we are using LAMP Server for this project. In case you don’t know what LAMP is, it is an abbreviation of Linux, Apache, MYSQL and PHP. So if you have Windows or MAC, then you have to install WAMP and MAMP respectively. So what we are explaining is only for the LAMP server.
And here are the steps for installing LAMP server:
1. Install Apache:
sudo apt-get install apache2
2. Install MySQL:
sudo apt-get install mysql-server
3. Install PHP:
sudo apt-get install php5 libapache2-mod-php5
4. Restart Server:
5. Check Apache
If you install these steps successfully, then you will get the Apache page like the image above. Here we are using PHPMYADMIN as the web interface of MYSQL, so you have to install that also and the command for that is:
sudo apt-get install phpmyadmin
g) Installation of Arduino IDE:
You can download the latest Arduino IDE from this link: https://www.arduino.cc/en/Main/Software
For this project you need:
- Raspberry Pi
- NodeMCU V3
- RFID Reader with Tag
- Jumper Wire
a) Raspberry Pi:
This is the latest version of Raspberry Pi. In this we have inbuilt Bluetooth and WiFi, unlike previously we’ve had to use a WiFi dongle in one of its USB port. There are a total of 40 pins in RPI3. Of the 40 pins, 26 are GPIO pins and the others are power or ground pins (plus two ID EEPROM pins).
There are 4 USB ports, 1 Ethernet slot, 1 HDMI port, 1 audio output port and 1 micro USB port; as well, there are many other things you can see the diagram on right side. We also have one micro SD card slot wherein we have to installed the recommended Operating System on micro SD card. There are two ways to interact with your Raspberry Pi. Either you can interact directly through HDMI port by connecting HDMI to VGA cable and use a keyboard and mouse, or else you can interact from any system through SSH (Secure Shell). (For example in Windows you can interact from PuTTY SSH.)
b) NodeMCU V3:
NodeMCU is an open source IOT platform. It includes firmware which runs on the ESP8266 WiFi SoC from hardware which is based on the ESP-12 module. The term “NodeMCU” by default refers to the firmware rather than the dev kits.
For more detail: Attendance System Using MYSQL with Raspberry and RFID-RC522