1 of 25

Barcode Scanner Interfacing With Arduino Uno

2 of 25

Introduction

  • At present, biometrics are used in a wide range of domains. The top three industries that accept biometric approaches are financial services, telecommunications, and government, according to a 2018 survey by German and Barber from the Center of Identification, University of Texas at Austin. The office, recreation, and healthcare are preceded by this and by the least use in the area of education. The multiple domains as mentioned were reflected, along with the percentage of biometric use.

3 of 25

Methodology - Hardware

  • Microcontroller
  • Barcode scanner
  • servo motor
  • SD card module
  • LCD display
  • LED
  • USB host shield
  • Resistors
  • Ultrasonic distance sensor
  • Printed Circuit Board

4 of 25

Microcontroller

Microcontroller

ATmega32u4

Operating Voltage

5V

Input Voltage (recommended)

7-12V

Input Voltage (limits)

6-20V

Digital I/O Pins

20

PWM Channels

7

Analog Input Channels

12

DC Current per I/O Pin

40 mA

DC Current for 3.3V Pin

50 mA

Flash Memory

32 KB (ATmega32u4), 4 KB used by bootloader

SRAM

2.5 KB (ATmega32u4)

EEPROM

1 KB (ATmega32u4)

Clock Speed

16 MHz

​

​

5 of 25

Barcode scanner �

6 of 25

Servo Motor

  • Definition
  • How is the servo controlled?

​

​

​

7 of 25

SD card module

SD card module 

Wiring to Arduino Uno

Wiring to Arduino Mega

 

VCC

3.3V or 5V (check module’s datasheet)

3.3V or 5V (check module’s datasheet)

CS

4

53

MOSI

11

51

CLK

13

52

MISO

12

50

GND

Gnd

Gnd

 

8 of 25

LCD display

9 of 25

LED

10 of 25

USB host shield

11 of 25

Resistors

12 of 25

Ultrasonic distance sensor�

  • Definition
  • How It Works – Ultrasonic Sensor

​

13 of 25

PCB Design: How to Create a Printed Circuit Board from Scratch

  • Step 1: Create or Find A Circuit Diagram
  • Step 2: Draw Your Schematics
  • Step 3: Design Your Board Layout
  • Step 4: Get Your PCB Made
  • Step 5: PCB Assembly – Soldering the Components to the Board

14 of 25

Step 1: Create or Find A Circuit Diagram �

  • You need to know what circuit you want to build before you start drawing wires and things. And you need a diagram of a circuit.
  • Either you can have one made by someone else, or you can build your own from scratch.

​

15 of 25

Step 2: Draw Your Schematics�

16 of 25

Step 3: Design Your Board Layout�

17 of 25

Step 4: Get Your PCB Made�

18 of 25

Step 5: PCB Assembly – Soldering the Components to the Board�

19 of 25

Prototype Costs�

Component

Quantity

Unit Price

2Arduino UNO

1

125

SD card module

1

45

PING Ultrasonic Sensor

1

40

Barcode scanner

1

250

1 kΩ resistor

12

20

pcb

2

35

Assorted wires

~35

15

wood

-

0.00

USB HOST SHEILD

1

175

Servo motor

1

93.39

 

Led

2

0.5

 

LCD display

1

35

 

USB cable

1

25

 

Fecl3

2

30

 

Total cost

 

1013.9

 

20 of 25

Methodology – Software �First step �

  • By using the first Arduino UNO we will connect ultrasonic sensor with servo motor through this code, then barcode arm will come down when someone stand in front of ultrasonic sensor, and to confirm that mission the red led will be on

​

21 of 25

Second step

  • By using thee second Arduino uno the barcode scanner will read the data from the student id, Then the Arduino will recognize this data and show it in the lcd display, to confirm this mission the green led will be on

​

22 of 25

Third step

  • In the end of day or the lecture the data will be stored in the SD card and the doctor or any official person can take this SD card and put it in his laptop, it will show up in excel file form.

​

23 of 25

Final Project

24 of 25

Conclusion �

  • The suggested Barcode scanner attendance device architecture addresses the problems of attendance by the following means: No time lost as attendance is taken during lecture without teacher intervention, accessibility to use college calendars, attendance control is streamlined, no opportunity for false attendance labeling, automatically determine student attendance level, display student attendance reports on the site, SD card, and send e-mail reports to guardians. This scheme can also conveniently be extended to teaching personnel to determine the status of the curriculum of teachers at lecture times. In addition, it can be expanded to cover all student details that can be seen on the web. The low cost is the key advantage of the suggested method.

​

25 of 25

Thank

You