iam doing my final year project i have designed colour sensor now i need to interface it with pic 16f877a so someone plz
give the circuit for interfacing sensors with pic 16f877a
sorry for not giving details about the sensor
the sensor iam using in my project is black and white sensor .The sensor provides a output voltage of 2.4 volts when it is over a black surface and o.1v for white surface. The output of sensor is in voltage.
You're still not been very clear?, is it an ON/OFF signal (digital) or a variable one (analogue) - connect it to a digital input pin or an analogue one as required.
Next question about the sensor: how much current can it source (to ground) while its output is at 2.4V? How much current can it sink (from a positive voltage source) while its output is at 0.1V?
Oh, I was thinking it was just a logic output. If it is analog, what is the input voltage range of the ADC you will be interfacing it to? (Hint: if using a PIC, what is the PIC's supply voltage)?
You better read the data sheet for the PIC you intend to use. Pay particular attention to the sections called ABSOLUTE MAXIMUM LIMITS, and SUGGESTED OPERATION.