Professional Documents
Culture Documents
3.1 System and Design Overview
3.1 System and Design Overview
The two main parts of the system is the hardware and application software
components as shown in figure 3.1. Hardware can be broken up into three main
modules: A user interface, a processing and communications unit and a power
supply. The application software component can also be broken up into three
logical subsections: The GUIs (Graphical User Interfaces), wireless device
administration and synchronization and the database.
We explain hardware components in this chapter, and software component in next
chapter.
Application
Hardware
Software
Student
Student Device Mystudies
Identification power source
Wireless Module Feedback Parameters Integration
Scanner
Lecture
Device
battery charger Feedback & Authentication
Microcontroler Synchronization
Administration
System
Administration
|Page1
3.2 Detail Hardware Design and Synthesis:
From the tree-level diagram in figure 3.1 it can be seen that the hardware
components of the project can be broken up into three main sub-systems:
The user interface, processing and communications unit and power supply.
A list of possible choices for this hardware component are listed below.
Due to its ease of use, RFID technology is perfectly suited for use in an automated
class attendance recording system.
The advantages of using RFID are speed (more cards can be scanned at short
time), the disadvantages of RFID are that students could lose their student cards,
and that students could lend their cards to their friends to have it scanned for them.
Figure 3.2 and Table 3.1 represent a list of possible solutions to the problem of
student identification.
RFID chips embedded Fast, Efficient, Card may be given to friend for
RFID
in all student cards. Availability scanning
|Page2
Table 3.1 Student Identification Solutions
Features:
• MFRC522 chip based board
• Operating frequency: 13.56MHz
• Supply Voltage: 3.3V
• Current: 13-26mA
• Read Range: Approximate 3cm
• SPI Interface
• Dimensions: 60mm × 39mm
RFID card/tag
Tag is made up of an integrated antenna and memory. The information can be
written and rewritten on Tag memory. The unique ID written on Tag while
manufacturing is known as the EPC (Electronic Product Code). This Tag is
enclosed in a Rectangular Plastic Card of the size of Bank Debit / credit card.
Student cards are the primary method of student identification on campus. All
student cards are equipped with an RFID chip that can be read by holding it briefly
against a configured proximity scanner. Figure 3.3 is shown types of RFID tags.
|Page3
RFID card RFID key tag RFID tag
c. RFID tag
It has the ability to store information relating to the specific item to which they
are attached.
Memory: 1 Kbit.
Operating frequency: 13.56 MHz (HF)
Size: 35 x 35 mm
Used: In library to store information relating to the book which they are attached.
The processing and communications unit is the core of the hardware device
sub-systems that the other sub-systems connect to. It handles processing and
storage of data, provides wireless communications and provides the appropriate
interfaces for the power supply and user interface module to connect to.
|Page4
3.2.2.1 Wireless Communications Module
The most integral leaf-node component of this subsystem is the wireless
communications module. All other leaf-node design choices for this sub-system
must be compatible with the choice of wireless module.
Protocol Selection
There are four main wireless protocols represented in the table 3.2 table: ZigBee,
Bluetooth, GSM and Wi-Fi. The main design consideration for this component is
compatibility with existing wireless infrastructure in order to maximize operating
range and minimize additional costs and design, such as custom base station
hardware. Interoperability with this network will ensure wireless connectivity
across campus and in all classrooms, which makes it ideal for the objectives of
this project.
From the advantages and disadvantages columns in the table 3.2, It was concluded
that the most attractive option for this application is the 802.11 Wi-Fi modules.
|Page5
3.2.2.2 Memory
The memory module must provide non-volatile data storage for when the
scanning device is in case of power loss. Any flash memory module with at least
8 kilobytes of RAM will be sufficient for this project’s purposes.
NodeMCU
Is an open source IoT platform. Which includes firmware which runs on the
ESP8266 Wi-Fi Module (The ESP8266 is a low-cost Wi-Fi microchip with
full TCP/IP stack and microcontroller capability), and hardware which is based
on the ESP-12 module.
The most attractive option for this application is the NodeMCU module from
Espressif system, because it has Wi-Fi Module (ESP8266), Microcontroller and
Memory.
Advantages
• Low energy consumption
• Integrated support for WI-FI network
|Page6
• Reduced size of the board
• Low Cost
Disadvantages
• Need to learn a new language and IDE
• Less pinout
Features:
• Operating system: XTOS
• wireless protocol: 802.11b/g/n
• CPU: ESP8266
• Frequency Range: 2.412 - 2.484 GHz
• Memory: 128kBytes
• Storage: 4Mbytes
• Current: 200mA
• supply Voltage: 5-10 V
• Power By: USB
• Code: Arduino C++
• IDE Used: Arduino IDE
• GPIO : 10
The project specification indicates that the scanner device must be mobile;
therefore, the power source must be a battery.
The battery must adhere to the following requirements:
• It must be rechargeable.
• It must have large capacity.
• It must have a long lifespan.
• It must be able to deliver enough peak-current (152mA).
NodeMCU board works in nominal voltage 3.3V but the power supply can be
between (5-10V). the NodeMCU operating current average value is 80mA,and
maximal output current from one GPIO pin is 12mA, we only used 6 GPIO pins.
Total current for NodeMCU is sum of operating and GPIOs
currents=80+6×12=152mA.
RFID reader is fed by NodeMCU board.
|Page7
Figure 3.6 battery
• Equipped with dual USB (5V 2.1A ,1A) output, speed up battery charging time.
• Smart power output, automatically regulate the output current according to the
load with overcharge protection, over discharge protection, short circuit
protection, over current protection, over temperature protection, protect the
connected the devices, no need to worry about the overcharge your electronics
battery, or over discharge the battery, safer to use.
• On-board blue backlight display the power capacity with 0-100% display range
during charge or discharge process
• Equipped with LED lamp with push button switch control on/off.
|Page8
3.3 Hardware Connection
3.3.1 NodeMCU RFID reader connection
|Page9