You are on page 1of 13

Digital Bicycle Speedometer

Nitish edit Master subtitle style Click toKumar Aerospace 4th year IIST

3/5/12

Equation evolved

3/5/12

How to measure rotation

Change of voltage from 5v to 0 observed Interrupt module is used for watching on Falling edge Timer 1 is used for 1 sec interrupt

3/5/12

IR Sensor

IR light of 38 kHz falls on receiver then its output is low otherwise its high Blink of led indicates one rotation

3/5/12

IR Receiver TSOP 1738


Photo detector Output active low Disturbance from other signal like tungsten bulb or sunlight are suppressed

3/5/12

LCD Module Pin configuration 1 VSS(GND Supply) 2 VCC (+5V)

LCD Module 4 RS
6E

3 VEE (Contrast Adjust) 5 R/W 7 DB0

8 DB1 PIN Configurations 9 DB2 10 DB3 11 DB4 12 DB5 13 DB6 14 DB7 3/5/12 15 LED+ 16 LED-

Connection with Microcontroller


Fig: Connection

RS - PORTB Bit 0 RD - PORTB Bit 1 EN - PORTB Bit 2 D4 - PORTB Bit 4 D5 - PORTB Bit 5 D6 - PORTB Bit 6 D7 - PORTB Bit 7

3/5/12

LCD Pins

Register Select (R/S) - Sending Instructions or Sending Characters to PORT Read/Write (R/W) - This pin is high if we want to read from LCD and low if we want to write on LCD Clock (Enable) - This pin gets toggled high-low to "clock in" the data that is on the data pins to PORT
3/5/12

Power Supply
AC LM7805to DC 4 bridge input up Voltage full to 24v output wave rectifier Regulator remains 5v

3/5/12

The Full Wave Bridge Rectifier

Positive Half-cycle Bridge

The Negative 3/5/12Half-cycle

LM7805 Voltage Regulator


Capacitor is to filter out the noise and voltage variations from the input source and is usually necessary when transformer and rectifier is used for supplying input to the capacitor.

3/5/12

Program

3/5/12

3/5/12

You might also like