Contact Less Tachometer: IC 741c:an IC 741c Is Single Op-Amp Device. An
Contact Less Tachometer: IC 741c:an IC 741c Is Single Op-Amp Device. An
1. Introduction
In order to constructing a simple digital RPM meter,
we need to work in three different fields. They are- Fig.1
2. Hardware
In Hardware section we thoroughly discuss about the Fig.2: Schematic Diagram of 741c.
comparator circuit and the following parts.
Here in our circuit we use this device to convert the
IR PAIR analog voltage signal into digital voltage signal
HARDWARE
1|Page
LCD, control the display contrast, and turn on and off
the LED backlight, respectively.
Fig.3 : BD 135
2|Page
Microcontroller: ATmega328 Memory: The ATmega328 has 32 KB (with 0.5 KB
Operating Voltage: 5V used for the bootloader). It also has 2 KB of SRAM
Input Voltage 7-12V and 1 KB of EEPROM (which can be read and
(recommended): written with the EEPROM library).
Input Voltage (limits): 6-20V
Digital I/O Pins: 14 (of which 6 provide Input and Output:Each of the 14 digital pins on the
PWM output) Uno can be used as an input or output, using
Analog Input Pins: 6 pinMode(), digitalWrite(), and digitalRead()
DC Current per I/O Pin 40 mA functions. They operate at 5 volts. Each pin can
DC Current for 3.3V Pin 50 mA provide or receive a maximum of 40 mA and has an
Flash Memory 32 KB (ATmega328) of internal pull-up resistor (disconnected by default) of
which 0.5 KB used by 20-50 kOhms. In addition, some pins have
bootloader specialized functions:
SRAM 2 KB (ATmega328)
EEPROM 1 KB (ATmega328)
Clock Speed 16 MHz
3|Page
analogReference() function. Additionally, some pins setCursor(): Position the LCD cursor; that is, set the
have specialized functionality: location at which subsequent text written to the LCD
will be displayed. Syntax: lcd.setCursor(col, row).
TWI: A4 or SDA pin and A5 or SCL pin. Support Parameters-lcd: a variable of type LiquidCrystal. col:
TWI communication using the Wire library. There are the column at which to position the cursor (with 0
a couple of other pins on the board: being the first column).row: the row at which to
AREF: Reference voltage for the analog inputs. position the cursor (with 0 being the first row).
Used with analogReference(). print(): Prints text to the LCD.Syntax:
Reset:Bring this line LOW to reset the lcd.print(data).Parameters-lcd: a variable of type
microcontroller. Typically used to add a reset button to LiquidCrystal.data: the data to print (char, byte, int,
shields which block the one on the board. long, or string).
5. Troubleshooting
Circuit Diagram:
4|Page
Fig. 6: The project Diagram Instead of reflection of beam method cutting of beam
method can be applied to measure the speed of a fan.
Here we use IC 7805 for voltage regulation so that
we can get 5V constant dc supply from its output. Reflecting distance can be increased by varying the
Then we setup the comparator circuit. When the IR- voltage of pin 3 of IC 741.
pair is disconnected we set the voltage of pin 3 of IC
By change the coding we can make a people counter.
741 at 0.34V & voltage of pin 2 is 0.15V. As a result
we get high output voltage at pin 6 about 4.23V. Here
8. Future Development
we use reflection method to link between Infrared
People counter.
LED & phototransistor. When this pair is connected
Controlling the switching system of a room.
the pin 2 voltage goes high about 4.6V. As a result we
get the lower output voltage about 1.13V. To improve 9. Costing &Equipments
these outputs we use a BJT BD135. We connect a Name Specification Quantity Price(BDT)
resistor valued 470 ohm with the collector to pull-up IR- pair - 1 pair 10/-
the output voltage 4.23V to 5V. We also connect a led Voltage 7805 1 pc 20/-
parallel with that resistor to indicate when the link is Regulator
created between the infrared led & phototransistor. Resistance 100Ω, 220Ω, 1 pc 5/-
The output from the collector is then connected to the 470Ω, 4.7K
digital pin 2 of arduino. To control the lcd we use the Ω, 5.6K Ω.
following connection: Trimmer 50K Ω 3 pc 9/-
LED - 1 pc 3/-
Arduino Pin out LCD Pin out Op-amp IC 741 1 pc 15/-
12 RS BJT BD 135 1 pc 15/-
11 E LCD 16*2 1 pc 170/-
10 DB 0 Arduino Uno R3 1 pc 1200/-
09 DB 1 Conneting - - 20/-
08 DB 2 wire
07 DB 3 Bread - 1 pc 180/-
06 DB 4 Board
05 DB 5 TOTAL = 1624/-
04 DB 6
03 DB 7
10. Limitations
A good reflector is needed.
The rest pins are connected as following: Reflection distance should be minimum for
good accuracy.
LCD pin out Connected to Direct sunlight may hamper the accuracy.
VSS Ground
R/W Ground
11. Reference
Vcc 5V Coughling& Driscoll, Operational amplifier
Vo Mid- point of a 50 K & Linear integrated Circuits, 6th edition,
trimmer Prentice- Hall India.
LED + 5V Arduino.cc (http://arduino.cc/)
LED- Ground ZulkarnimeSifat, ex-student of AUST,
Project Engineer, Bangladesh Army.
Jeremy Blum, Video lectures,
6. Development (http://www.jeremyblum.com/category/ardui
no-tutorials/).
We use our rpm meter to control the speed of a low
volt DC motor. For this we only need to develop our
coding section not the hardware section.
7. Modification
5|Page
6|Page