Page 1 of 1

Medium range Infrared Sensor

PostPosted: Wed Aug 11, 2010 5:53 pm
by simfoni
i,m going to use this sensor, Medium range Infrared Sensor together with servo motor c36s that is controlled by PIC16F877A. the problem is i don't know how to program the sensor, so it will working like this, when the sensor sense an object and then the servo stop moving.

Re: Medium range Infrared Sensor

PostPosted: Wed Aug 11, 2010 11:34 pm
by sich
First of all, u need to know what is a RC servo motor and how to control it. You may find info by googling around and Cytron also provide a very simple sample source code in C36R servo page here.

The sensor u want to use will give you digital output, so just configure a pin to input and detect the high/low.