Professional Documents
Culture Documents
Report - Advanced Electronic Voting Machine Using Finger Print Module
Report - Advanced Electronic Voting Machine Using Finger Print Module
Report - Advanced Electronic Voting Machine Using Finger Print Module
PRINT MODULE
ABSTRACT
India being the largest democracy faces a lot of issues during elections. Lot of
secured system that can eliminate such controversies involving elections in our
system is to give a straight and fair elections and to curb all other factors that
affect it, this goal has been achieved by providing dual verification of the voters
based on their fingerprint and unique id. In this System all the relevant
information is taken from the voters and are stored in the database, then they are
provided with unique ID. The process of verification involves matching of this
id and fingerprint from the database. This is a faster and more secured way of
holding elections. Our system is secured, reliable and also cost- effective.
CHAPTER-1
INTRODUCTION
Embedded systems are computing systems, but they can range from having no
user interface (UI) -- for example, on devices in which the system is designed to
perform a single task -- to complex graphical user interfaces (GUIs), such as in
mobile devices. User interfaces can include buttons, LEDs, touchscreen sensing
and more. Some systems use remote user interfaces as well.
Microcontrollers include not only a CPU, but also memory and peripherals such
as flash memory, RAM or serial communication ports. Because
microcontrollers tend to implement full (if relatively low computer power)
systems, they are frequently put to use on more complex tasks. For example,
microcontrollers are used in the operations of vehicles, robots, medical devices
and home appliances, among others. At the higher end of microcontroller
capability, the term system on a chip (SoC) is often used, although there's no
exact delineation in terms of RAM, clock speed and so on.
The embedded market was estimated to be in excess of $140 billion in 2013,
with many analysts projecting a market larger than $20 billion by 2020.
Manufacturers of chips for embedded systems include many mainstays of the
computer world, such as Apple, IBM, Intel and Texas Instruments, as well as
numerous other companies less familiar to those outside the field. Arm has been
a highly influential vendor in this space.
The company began as an outgrowth of Acorn, a U.K. maker of early PCs. Arm
chips, produced under license by other companies, are based on the reduced
instruction set computer (RISC) architecture and are often used in mobile
phones; they remain the most widely deployed SoC in the embedded world,
with billions of units fielded.
Embedded firmware
Wearable devices with sensors and software can collect and analyze user data,
sending messages to other technologies about the users with the aim of making
users' lives easier and more comfortable. Wearable devices are also used for
public safety -- for example, improving first responders' response times during
emergencies by providing optimized routes to a location or by tracking
construction workers' or firefighters' vital signs at life-threatening sites.
In healthcare, IoT offers many benefits, including the ability to monitor patients
more closely to use the data that's generated and analyze it. Hospitals often use
IoT systems to complete tasks such as inventory management, for both
pharmaceuticals and medical instruments.
CHAPTER-2
LITERATURE SURVEY
The basic idea of this project is to create an electronic voting machine that will
help to eradicate defrauding of the manual voting systems and prior versions of
electronic voting. The thesis looks into and proposes a system that includes
multiple layers of verifications to ensure the reliability of the device. With the
inclusion of biometric fingerprint sensor, each voter is entered into the system
only after being recognized and checked with the given database of enlisted
voters. Once the corresponding fingerprint is matched with the information
provided, the voter will be allowed to proceed for choosing their preferred
candidate from the panel of buttons. The final vote is then displayed onto a
LCD for the satisfaction of voters. The proposed project displays transparency
and also carries the feature of being autonomous during the course of operation.
PROJECT DESCRIPTION
Disadvantage:
Advantage
• ARDUINO UNO
• IOT
• RFID READER
• RFID TAG
• BUZZER
• FINGER PRINT SENSOR
3.5 SOGTWARE REQUIREMENTS:
• ARDUINO IDE
• EMBEDDED C
CHAPTER-4
HARDWARE DESCRIPTION
4.1 ARDUINO UNO:
1.0 pinout: added SDA and SCL pins that are near to the AREF pin and two
other new pins placed near to the RESET pin, the IOREF that allow the shields
to adapt to the voltage provided from the board. In future, shields will be
compatible both with the board that use the AVR, which operate with 5V and
with the Arduino Due that operate with 3.3V. The second one is a not connected
pin, that is reserved for future purposes.
Atmega 16U2 replace the 8U2. "Uno" means one in Italian and is named to
mark the upcoming release of Arduino 1.0. The Uno and version 1.0 will be the
reference versions of Arduino, moving forward. The Uno is the latest in a series
of USB Arduino boards, and the reference model for the Arduino platform; for a
comparison with previous versions, see the index of Arduino boards.
POWER:
VIN. The input voltage to the Arduino board when it's using an external power
source (as opposed to 5 volts from the USB connection or other regulated power
source). You can supply voltage through this pin, or, if supplying voltage via
the power jack, access it through this pin.
5V. This pin outputs a regulated 5V from the regulator on the board. The
board can be supplied with power either from the DC power jack (7 - 12V), the
USB connector (5V), or the VIN pin of the board (7-12V). Supplying voltage
via the 5V or 3.3V pins bypasses the regulator, and can damage your board. We
don't advise it.
ARDUINO UNO:
Memory
The ATmega328 has 32 KB (with 0.5 KB used for the bootloader). It also has 2
KB of SRAM and 1 KB of EEPROM (which can be read and written with the
EEPROM library). Input and Output Each of the 14 digital pins on the Uno can
be used as an input or output, using pin Mode (), digital Write (), and digital
Read () functions. They operate at 5 volts. Each pin can provide or receive a
maximum of 40 mA and has an internal pull-up resistor (disconnected by
default) of 20-50 kilo Ohms.
Serial: 0 (RX) and 1 (TX). Used to receive (RX) and transmit (TX) TTL serial
data. These pins are connected to the corresponding pins of the ATmega8U2
USB-to-TTL Serial chip.
PWM: 3, 5, 6, 9, 10, and 11. Provide 8-bit PWM output with the analog Write
() function.
LED: 13. There is a built-in LED connected to digital pin 13. When the pin is
HIGH value, the LED is on, when the pin is LOW, it's off. The Uno has 6
analog inputs, labeled A0 through A5, each of which provide 10 bits of
resolution (i.e., 1024 different values). By default, they measure from ground to
5 volts, though is it possible to change the upper end of their range using the
AREF pin and the analog Reference () function. Additionally, some pins have
specialized functionality:
TWI: A4 or SDA pin and A5 or SCL pin. Support TWI communication using
the Wire library. There are a couple of other pins on the board:
AREF. Reference voltage for the analog inputs. Used with analog Reference
().
Reset. Bring this line LOW to reset the microcontroller. Typically used to add
a reset button to shields which block the one on the board. See also the mapping
between Arduino pins and ATmega328 ports. The mapping for the Atmega8,
168, and 328 is identical. Communication The Arduino Uno has a number of
facilities for communicating with a computer, another Arduino, or other
microcontrollers.
The Arduino Uno has a resettable poly fuse that protects your computer's USB
ports from shorts and overcurrent. Although most computers provide their own
internal protection, the fuse provides an extra layer of protection. If more than
500 mA is applied to the USB port, the fuse will automatically break the
connection until the short or overload is removed.
Physical Characteristics
The maximum length and width of the Uno PCB are 2.7 and 2.1 inches
respectively, with the USB connector and power jack extending beyond the
former dimension. Four screw holes allow the board to be attached to a surface
or case. Note that the distance between digital pins 7 and 8 is 160 mil (0.16"),
not an even multiple of the 100-mil spacing of the other pins.
The chip first came to the attention of western makers in August 2014 with
the ESP-01 module, made by a third-party manufacturer Ai-Thinker. This small
module allows microcontrollers to connect to a Wi-Fi network and make simple
TCP/IP connections using Hayes-style commands. However, at first there was
almost no English-language documentation on the chip and the commands it
accepted.[2] The very low price and the fact that there were very few external
components on the module, which suggested that it could eventually be very
inexpensive in volume, attracted many hackers to explore the module, chip, and
the software on it, as well as to translate the Chinese documentation
FEATURE:
Memory:
32 KiB instruction RAM
32 KiB instruction cache RAM
80 KiB user-data RAM
16 KiB ETS system-data RAM
External QSPI flash: up to 16 MiB is supported (512 KiB to 4 MiB
typically included)
IEEE 802.11 b/g/n Wi-Fi
Integrated TR switch, balun, LNA, power amplifier and matching
network
WEP or WPA/WPA2 authentication, or open networks
16 GPIO pins
SPI
I²C (software implementation)[6]
I²S interfaces with DMA (sharing pins with GPIO)
UART on dedicated pins, plus a transmit-only UART can be enabled on
GPIO2
10-bit ADC (successive approximation ADC)
ESP8266 module is low cost standalone wireless transceiver that can be used
for end-point IoT developments.
There are many third-party manufacturers that produce different modules based
on this chip. So, the module comes with different pin availability options like,
GPIO0 & GPIO2: - General Purpose I/O Pins. These pins decide what mode
(boot or normal) the module starts up in. It also decides whether the TX/RX
pins are used for Programming the module or for serial I/O purpose.
To program the module using UART, Connect GPIO0 to ground and GPIO2 to
VCC or leave it open. To use UART for normal Serial I/O leave both the pins
open (neither VCC nor Ground).
4.3 RFID:
RFID is an acronym for “radio-frequency identification” and refers to a
technology whereby digital data encoded in RFID tags or smart labels (defined
below) are captured by a reader via radio waves. RFID is similar to barcoding in
that data from a tag or label are captured by a device that stores the data in a
database. RFID, however, has several advantages over systems that use barcode
asset tracking software. The most notable is that RFID tag data can be read
outside the line-of-sight, whereas barcodes must be aligned with an optical
scanner.
WORKING
Defining RFID:
RFID Tag
Active RFID system: These are systems where the tag has its own power
source like any external power supply unit or a battery. The only constraint
being the life time of the power devices. These systems can be used for larger
distances and to track high value goods like vehicles.
Passive RFID system: These are systems where the tag gets power
through the transfer of power from a reader antenna to the tag antenna. They
are used for short range transmission.
Here we are mostly concerned with the passive RFID system as it is most
widely used in regular applications like in retail market organizations.
The tag can be powered either using inducting coupling method or through EM
wave capture method. Lets us have a brief knowledge about the system using
these two methods.
In the active RFID system, the reader sends signal to the tag using an antenna.
The tag receives this information and resends this information along with the
information in its memory. The reader receives this signal and transmits to the
processor for further processing.
An Active RFID system
Smart labels differ from RFID tags in that they incorporate both RFID and
barcode technologies. They’re made of an adhesive label embedded with an
RFID tag inlay, and they may also feature a barcode and/or other printed
information. Smart labels can be encoded and printed on-demand using desktop
label printers, whereas programming RFID tags are more time consuming and
requires more advanced equipment.
RFID APPLICATIONS
Although RFID technology has been in use since World War II, the demand for
RFID equipment is increasing rapidly, in part due to mandates issued by the
U.S. Department of Defense (DoD) and Wal-Mart requiring their suppliers to
enable products to be traceable by RFID. Whether or not RFID compliance is
required, applications that currently use barcode technology are good candidates
for upgrading to a system that uses RFID or some combination of the two.
RFID offers many advantages over the barcode, particularly the fact that an
RFID tag can hold much more data about an item than a barcode can. In
addition, RFID tags are not susceptible to the damages that may be incurred by
barcode labels, like ripping and smearing. From the read distance to the types of
tags available, RFID has come a long way since World War II and there is a
bright future ahead. Review the evolution of RFID. For more information about
how RFID works and how to integrate this technology into your business
processes, read our RFID Basics.
4.4 BUZZER
TYPES
Electromechanical
Mechanical
Piezoelectric
APPLICATIONS
Novelty uses
Judging panels
Educational purposes
Annunciator panels
Electronic metronomes
Game show lock-out device
Microwave ovens and other household appliances
Sporting events such as basketball games
Electrical alarms
Joy buzzer (mechanical buzzer used for pranks)
Piezo buzzers are one of the most common buzzers available around, they got
their name from the piezoelectric material used as the active element.
These buzzers are usually driven at a relatively higher voltage but low current,
consumes a little power, but still capable of producing very high sound.
The Piezo element must be a three terminal one, like in the picture.
The blue wire is connected to feedback(F) terminal, red wire to the main (M)
terminal and the black wire to the piezo element’s ground(G) plate.
The inductor coil’s value and shape is not crucial. You can use any coil
from 1mH to 10mH or more, or even no measured value at all. I used a 40 turn
coil on a small ferrite toroid in the final design.
The circuit is fairly simple, you can use a little piece of strip board to make it.
As this piezo buzzer circuit uses very few components, so it also could be
constructed by soldering the components to each other.
When A voltage is applied to the electrodes of the piezo element, they produces
flex in either way. This flex force bends the ground plate up and down.
As you’ve seen before, self drive piezo buzzers are constructed with an extra
electrically isolated feedback electrode. The voltage created by the flex force is
available in the feedback terminal.
The piezo buzzer is placed in a resonant cavity, there is a hole in the opposite
side of the resonant cavity from where the buzzing sound comes out.
The driver circuit and piezo buzzer co-operates soon between themselves and
they starts oscillating on the resonant frequency of the piezo buzzer.
Larger footprint
Higher sound pressure level
There are two types of piezo buzzers - transducers and indicators. Transducers
consist of a casing, a piezoceramic element and a terminal. In order to operate a
transducer, the user must send a square wave signal to the buzzer. Indicators
consist of a casing, a piezoceramic element, a circuit board and a terminal. In
order to operate an indicator, the user must send the buzzer a specified dc
voltage.
Optical reflexive
They are based on the oldest technique, that consists of placing your finger on a
glass surface or a prism that is illuminated by a led diode. When the ridges of
fingerprints touch the surface, the light is absorbed, while between these crests a
total reflection occurs. The resulting light and dark areas are recorded in an
image sensor.
In practice there are some difficulties with this technique: the images obtained
with wet and dry fingers are very different and, in addition, the system is
sensitive to dust and dirt on the surface. The unit has a considerable size,
impractical and expensive. This system is easy to cheat and if the skin is
damaged, the fingerprint is not recognized correctly. The recognition of the
fingerprint of older people is also difficult to do because the skin is not elastic
enough. In some circumstances this may result in false recognition. If the stored
fingerprint was taken with less pressure, false acceptances may occur.
Capacitive
The sensor is a silicon integrated circuit with a surface that is covered by a large
number of transducer elements (or pixels), with a typical resolution of 500 dpi.
Each element contains two adjacent metal electrodes. The capacity between the
electrodes, which forms a feedback path for an inverting amplifier, is reduced
when the finger is applied to said surface: it is further reduced when it detects
ridges and less reduced when it detects the space between them.
Mechanical
Thermal
In this case the heat driven by the finger is detected, which is greater when there
is a ridge than when there is a valley. A silicon component has been developed
with a matrix of pixels called "Finger Chip", that is, "finger integrated circuit",
each of which is covered with a layer of pyroelectric material in which a change
in temperature translates into a change in the load distribution of its surface. The
image is in the gray scale that has the right quality even with the finger worn,
with dirt, with grease or with humidity. The sensor has a robust protective layer
and can provide a dynamic output.
Dynamic output
Most of the sensors described have been altered in the past. To avoid this, a new
operating mode has been added. Instead of simply placing your finger statically
on the sensor, the finger moves slowly along it. The sensor only has a narrow
sensitive area, and generates a complete sequence of images, which can be
reassembled, by means of a processor, in a complete image. The benefits are
improved appreciably and the elimination of any residual grease is guaranteed.
Uses
The most important use area is in access control for computers. This is
especially important for laptops and PDAs. Thanks to the price falling, more
and more devices are equipped with sensors. Other devices with built-in
fingerprint sensors include USB hard drives, USB memory modules and card
readers. They are also available in mice and keyboards.
Direct physical access to rooms and devices can also be ensured by coupling
fingerprint sensors with door opening systems.
CHAPTER-5
SOFTWARE DESCRIPTIONS
ARDUINO IDE:
Projects made using the Arduino are called sketches, and such sketches are
usually written in a cut-down version of C++ (a number of C++ features are
not included). Because programming a microcontroller is somewhat different
from programming a computer, there are a number of device-specific
libraries (e.g., changing pin modes, output data on pins, reading analog
values, and timers). This sometimes confuses users who think Arduino is
programmed in an “Arduino language.” However, the Arduino is, in fact,
programmed in C++. It just uses unique libraries for the device.
The 6 Buttons
While more advanced projects will take advantage of the built-in tools in the
IDE, most projects will rely on the six buttons found below the menu bar.
1. The check mark is used to verify your code. Click this once you have
written your code.
2. The arrow uploads your code to the Arduino to run.
3. The dotted paper will create a new file.
4. The upward arrow is used to open an existing Arduino project.
5. The downward arrow is used to save the current file.
6. The far-right button is a serial monitor, which is useful for sending
data from the Arduino to the PC for debugging purposes.
The source code for the IDE is released under the GNU General Public License,
version 2. The Arduino IDE supports the languages C and C++ using special
rules of code structuring. The Arduino IDE supplies a software library from
the Wiring project, which provides many common input and output procedures.
User-written code only requires two basic functions, for starting the sketch and
the main program loop, that are compiled and linked with a program
stub main() into an executable cyclic executive program with the GNU
toolchain, also included with the IDE distribution. The Arduino IDE employs
the program avrdude to convert the executable code into a text file in
hexadecimal encoding that is loaded into the Arduino board by a loader
program in the board's firmware
Projects made using the Arduino are called sketches, and such sketches are
usually written in a cut-down version of C++ (a number of C++ features are
not included). Because programming a microcontroller is somewhat different
from programming a computer, there are a number of device-specific
libraries (e.g., changing pin modes, output data on pins, reading analog
values, and timers). This sometimes confuses users who think Arduino is
programmed in an “Arduino language.” However, the Arduino is, in fact,
programmed in C++. It just uses unique libraries for the device.
The Arduino IDE employs the program avrdude to convert the executable code
into a text file in hexadecimal encoding that is loaded into the Arduino board by
a loader program in the board's firmware.
5.2 EMBEDDED C:
Data types
The data type refers to an extensive system for declaring variables of different
types like integer, character, float, etc. The embedded C software uses four data
types that are used to store data in the memory.
The ‘char’ is used to store any single character; ‘int’ is used to store integer
value, and ‘float’ is used to store any precision floating point value.
The size and range of different data types on a 32-bit machine is given in the
following table. The size and range may vary on machines with different word
sizes.
Keywords
There are certain words that are reserved for doing specific tasks. These words
are known as keywords. They are standard and predefined in the Embedded C.
Keywords are always written in lowercase. These keywords must be defined
before writing the main program. The basic keywords of an embedded software
are given below:
Keywords
sbit: This data type is used in case of accessing a single bit of SFR register.
Syntax: sbit variable name = SFR bit;
Ex: sbit a=P2^1;
Explanation: If we assign p2.1 as ‘a’ variable, then we can use ‘a’ instead
of p2.1 anywhere in the program, which reduces the complexity of the
program.
Bit: This data type is used for accessing the bit addressable memory of RAM
(20h-2fh).
Syntax: bit variable name;
Ex: bit c;
Explanation: It is a bit sequence setting in a small data area that is used
by a program to remember something.
SFR: This data type is used for accessing a SFR register by another name. All
the SFR registers must be declared with capital letters.
Syntax: SFR variable name = SFR address of SFR register;
Ex: SFR port0=0x80;
Explanation: If we assign 0x80 as ‘port0’, then we can use 0x80 instead
of port0 anywhere in the program, which reduces the complexity of the
program.
SFR Register: The SFR stands for ‘Special Function Register’. Microcontroller
8051 has 256 bytes of RAM memory. This RAM is divided into two parts: the
first part of 128 bytes is used for data storage, and the other of 128 bytes is used
for SFR registers. All peripheral devices like I/O ports, timers and counters are
stored in the SFR register, and each element has a unique address.
comments
preprocessor directives
global variables
main() function
{
local variables
statements
…………..
…………..
}
fun(1)
{
local variables
statements
…………..
…………..
}
CHAPTER-6
CONCLUSION
To make the voting system of faster and more secure, an attempt has been taken
so that the voting system can be acceptable to all kind of citizen of the nation.
The security was the main concern of the whole project. More security has been
added compared to usual electronic voting machine by adding the fingerprint
feature so that there cannot be any kind of cheating. By using this system, the
national voting system will be more secure, faster, easy to use and more
economical. The system also consumes very low power and the device is easy
to carry. The total cost of one machine would be less than BDT 5500. In one
word, the system will make voting system more reliable and more secure. It is
better than traditional ballot-paper system.
REFERENCE
[3] Prof. Sunita Patil, Amish Bansal, Utkarsha Raina, Vaibhavi Pujari,
Raushan Kumar, “E-Smart Voting Machine with Secure Data
Identification Using Cryptography”, 2018 Publisher: IEEE
[12] Rohan Patel, Vaibhav Ghorpade, Vinay Jain and Mansi Kambli,
“Fingerprint Based e-Voting System using Aadhar Database”, 2015.
[14] Qijun Zhao, Lei Zhang, David Zhang and Nan Luo, “Adaptive Pore
Model for Fingerprint Pore Extraction”, IEEE, 978-1-4244-2175 - 6/08.