3 Digit Engine or Engine oil Temperature monitor
For long way touring motorbikes, the engine or engine oil temperature monitor is a must have add-on. As temperature increases, biker can control the engine temperature by decreasing accelerator or stop for few hours, That may helps in engine seizure. So lets get started.Circuit diagram
Components
- IC1:PIC16F684
- J1 connector to LM35
- R1 to R3: 1K ohm
- R4 to R10: 330 or 470 Ohm
- D1: 5V1 Zener diode.
- T1 to T3: BC547
- DIS1 to DIS3: Common cathode 7 Segment display.
Description
The PIC microcontroller's RA0/AN0 pin is set to analog input. LM35 temperature will gives 0.01V for 1'C so for 20'C=0.20V. this voltage is fed to the ADC of PIC, the 10-bit ADC output is converted into Celsius form and distribute them to 3 7 segment displays
ADC to integer form converson (10 bit): ((adc_i/P)*500)/1023;
ADC to integer form converson (10 bit): ((adc_i/P)*500)/1023;
0 comments:
Post a Comment