delifadzli
Member level 2

Hi everyone,
First of all,I am newbie here. can u all give me an explanation regarding ADC things. The project is to develop an automatic fan based on temperature sensor. to interface PIC16f877 - conversion of ADC are really important matter to me (since i not quite good in programming). since the range of PIC is 0-5 v, i want make it in this way
if the sensor give 1v voltage = speed no 1 on (slow speed)
if the sensor give 2-3 vol = speed no 2 on ( medium speed)
if the sensor give 4-5 vol = speed no 3 on ( high speed)
the problem is to justify the input. How to make the PIC see it as digital input ( 1-5 only). I really confused in converting ac source ( temperature sensor) to PIC ( digital source).
Please everyone, can u help me??
sorry for my English
First of all,I am newbie here. can u all give me an explanation regarding ADC things. The project is to develop an automatic fan based on temperature sensor. to interface PIC16f877 - conversion of ADC are really important matter to me (since i not quite good in programming). since the range of PIC is 0-5 v, i want make it in this way
if the sensor give 1v voltage = speed no 1 on (slow speed)
if the sensor give 2-3 vol = speed no 2 on ( medium speed)
if the sensor give 4-5 vol = speed no 3 on ( high speed)
the problem is to justify the input. How to make the PIC see it as digital input ( 1-5 only). I really confused in converting ac source ( temperature sensor) to PIC ( digital source).
Please everyone, can u help me??
sorry for my English