You are on page 1of 3

Object counter using microcontroller

Dalvi Akshay Ramesh Gowda Akash Ravindra Department of Electronics Engineering M .H. Saboo Siddik College of Engineering Mumbai, Maharashtra 400 012 India
akshayrdalvi@hotmail.com akashgowda21@yahoo.com

Abstract it is micro controller based circuit in which we used Infra red transmitter & receiver to detect and count number of objects. The TSOP1738 is a IR detecting device, it detects the IR rays transmitted at 38kHz frequency.We will use this IR transmitter to detect objects passing through tranmitter & receiver.Count will be displayed on 7 segment display. Keywords object counter, microcontroller, IR transmitter, IR receiver.

B. Block diagram

1. INTRODUCTION Today in the era of mass production the production is massive. But a need also arises i.e.to count the products made. This can be done by either recruiting a person to count it or by using technology. This document will illustrate how stream of objects can be counted with the help of IR transmitter & receiver. To accomplish this, the project is using a8051 microcontroller (at89s52), a sensor to sense the object i.e. TSOP1738, 7 segment display to show the counted objects or products.

.
2. DESIGN MODEL A. Flowchart

Working: The TSOP1738 is a IR detecting device, it detects the IR rays transmitted at 38kHz frequency (it is transmitting frequency not the frequency of the IR rays). Its output is not affected by the surrounding lights; therefore it will sense the object only. To transmit IR rays at 38 kHz the astable multivibrator mode of IC 555 is used. The output of the sensor is processed by the microcontroller. After processing it the controllers output signal is fed to the 7segment which displays the output.

C. Circuit diagram

3.

SIMULATION

Working: When infra red rays transmitted by timer circuit at frequency 38 KHz are obstructed by object, IR sensor TSOP1738 detects it. After that micro controller responds to it by increasing count & display number of objects passed between detector & transmitter on the 7 segment display. D. Component list

4.

RESULT

Sr. No. 1. 2. 3. 4, 5. 6.

Component name Micro controller IC 555 TSOP1738 7 segment display Power supply IR LED

Specifications 40 pin DIP 8 pin DIP fo=38 KHz 5 V DC

Quantity 1 1 1 4 1 1

7. REFERENCES
[1] Muhammad Ali Mazidi. Janice Gillespie Mazidi. The 8051 Microcontroller And Embedded Systems Using Assembly And C, 2/E Datasheets from:www.datasheetcatalog.com Ramakant gayakwad Op amp and linear integrated circuits Pg 502

5.

APPLICATIONS

[2] [3]

It is a reliable circuit that takes over the task of counting number of objects & also persons/ visitors in the room very accurately. When somebody enters into the room then the counter is incremented by one. The total number of persons inside the room is displayed on LCD. Counting the objects helps to maximize the efficiency and effectiveness of factory, production and sales potential of a manufacturing company. Object counting is not limited to the entry/exit point of a company but has a wide range of applications that provide information to management on the volume and flow of objects throughout a production of certain products. A primary method for counting the objects involves sharing human auditors to standard manually tallies the number of objects who pass by. But human-based data collection comes at great expense. Here is a low-cost microcontroller based object counter that can be used to know the number of objects at a place. All the components required are readily available in the market and the circuit is easy to build.
[1] [2] [3]

8. Enclosures
Datasheet 8051 Datasheet 555 Datasheet TSOP1738

6.

CONCLUSIONS

We would like to conclude this project as an enriched learning experience for us. During the project we got familiar with the practical laboratory works. Using 555 timers IC as astable multivibrator we transmit IR rays at 38 KHz. When IR sensor TSOP 1738 receives these IR rays then at its output pin it gives 0 volts. But when these rays are obstructed by anything i.e. objects, IR rays will not reach to the receiver. Hence when object is detected TSOP will give output of 5 volts at pin number 3 which can be given to the micro controller directly. According to the voltage received micro controller will give output to the display & i will increase the count.

You might also like