Docsity

Electrical engineering workshop, Study Guides, Projects, Research of Electrical Engineering

Toggle sidebar
bg1
Microproject Report | Design and Development of Object Counter Circuit
Page 1| Navsahyadri Education Society's, Group of Institutions Faculty of Engineering
MICROPROJECT REPORT
on
Design and Development of
Object Counter Circuit
1. Introduction
In today's industrial and commercial environments, counting objects accurately and automatically is
a critical requirement. Whether it is counting products on a conveyor belt, monitoring the number of
vehicles passing through a toll gate, or tracking the flow of people entering a building, an automated
object counter provides a reliable, fast, and error-free solution compared to manual counting.
This microproject presents the design and development of an Object Counter Circuit using an Arduino
Uno microcontroller and an IR (Infrared) sensor module. The IR sensor detects the interruption of an
infrared beam caused by a passing object. Each interruption is registered as one count, which is
displayed in real-time on a 16×2 LCD display. An optional buzzer provides an audio beep for every
detected object, making the system both visual and auditory.
The working principle is based on the behavior of IR light: the IR transmitter continuously emits
infrared light, and the IR receiver detects it. When an object passes between the transmitter and
receiver, the beam is broken and the receiver output changes state. The Arduino detects this state
change through edge detection logic (falling-edge detection) and increments the counter.
This project is simple to build, low in cost, and has extensive real-world applications in manufacturing,
logistics, retail, transportation, and security systems. It also serves as an excellent foundation for
learning about digital input processing, interrupt-driven programming, and human-machine interfaces
on embedded platforms.
pf3
pf4
pf5

Partial preview of the text

Download Electrical engineering workshop and more Study Guides, Projects, Research Electrical Engineering in PDF only on Docsity!

MICROPROJECT REPORT

on

Design and Development of

Object Counter Circuit

1. Introduction In today's industrial and commercial environments, counting objects accurately and automatically is a critical requirement. Whether it is counting products on a conveyor belt, monitoring the number of vehicles passing through a toll gate, or tracking the flow of people entering a building, an automated object counter provides a reliable, fast, and error-free solution compared to manual counting. This microproject presents the design and development of an Object Counter Circuit using an Arduino Uno microcontroller and an IR (Infrared) sensor module. The IR sensor detects the interruption of an infrared beam caused by a passing object. Each interruption is registered as one count, which is displayed in real-time on a 16×2 LCD display. An optional buzzer provides an audio beep for every detected object, making the system both visual and auditory. The working principle is based on the behavior of IR light: the IR transmitter continuously emits infrared light, and the IR receiver detects it. When an object passes between the transmitter and receiver, the beam is broken and the receiver output changes state. The Arduino detects this state change through edge detection logic (falling-edge detection) and increments the counter. This project is simple to build, low in cost, and has extensive real-world applications in manufacturing, logistics, retail, transportation, and security systems. It also serves as an excellent foundation for learning about digital input processing, interrupt-driven programming, and human-machine interfaces on embedded platforms.

2. Components and Materials Required The following components are required to build the object counter circuit. All components are easily available at local electronics shops or online platforms such as Amazon, Robu.in, or Flipkart. Sr. No. Component / Material Specification Quantity Approx. Cost (₹) 1 Arduino Uno R3 ATmega328P, 5V, 16 MHz 1 ₹ 350 2 IR Sensor Module FC-51, Digital Output, 5V 1 ₹ 60 3 16×2 LCD Display HD44780 Controller, 5V 1 ₹ 200 4 Buzzer (Active) 5V DC, 85 dB 1 ₹ 40 5 Breadboard Full size, 830 tie-points 1 ₹ 60 6 Connecting Wires (Jumpers) M-M & M-F sets 10 ₹ 20 7 USB A to B Cable For Arduino programming 1 ₹ 20 8 9V Battery + Connector For standalone operation 1 ₹ 40 9 Computer / Laptop With Arduino IDE installed 1 — TOTAL ESTIMATED COST ₹ 790

4. Circuit Diagram The circuit connections between the Arduino Uno, IR sensor module, 16×2 LCD display, and buzzer are described in the pin connection tables below. Figure 1: Circuit Diagram of Object Counter Circuit Using Arduino

5. Program Code The following Arduino sketch implements object detection, counting, LCD display, and buzzer feedback: #include LiquidCrystal lcd (7, 8, 9, 10, 11, 12); int sensorPin = 2; int count = 0; int sensorState = 0; int lastState = 0; void setup () { pinMode(sensorPin, INPUT); lcd.begin(16, 2); lcd.print("Object Counter"); } void loop () { sensorState = digitalRead(sensorPin); if (sensorState == LOW && lastState == HIGH) { count++; lcd.clear(); lcd.setCursor(0, 0); lcd.print("Count:"); lcd.setCursor(0, 1); lcd.print(count); delay (200); } lastState = sensorState; }

7. Applications The object counter circuit finds applications across a wide range of industries and everyday scenarios:

7.1 Manufacturing and Industry

  • Counting products on conveyor belts in food, pharma, or electronics manufacturing plants.

7.2 Retail and Logistics

  • Counting items in inventory management and warehouse tracking systems.

7.3 Transportation and Access Control

  • Vehicle counters at toll plazas, parking lots, and traffic monitoring systems.

7.4 Agriculture and Food Processing

  • Count eggs, fruits, or vegetables on grading and sorting conveyor lines.

7.5 Healthcare

  • Counting tablets and capsules in pharmaceutical dispensing machines. 8. Conclusion This project successfully designed and implemented an Arduino-based Object Counter using an IR sensor and LCD display. The system accurately detects and counts objects in real time, providing reliable performance with simple operation. It is low-cost, compact, and suitable for various applications such as industry, retail, and automation. Overall, this project enhanced understanding of sensor interfacing, Arduino programming, and embedded system design.