Line following robot

Thread Starter

samsoltats

Joined Jul 13, 2010
16
Hi, I am struggling with getting the threshold voltage (reference voltage) for the sensors to suite the pic16f887 such that it recognize the voltage level as logic zero and logic 1. I am using SENSOR HOA0709-1 with comparator to microcontroller.
I have threshold voltage of 1.6v for white surface and 3.6v for black surface; this does not do any effect as I programmed it to be.

May someone help please?
 
Top