Medium range Infrared Sensor

Autonomous Robot, Manual Robot, DC Motor Driver, Stepper Motor Driver, Servo, Multi PWM chip.....

Medium range Infrared Sensor

Postby simfoni » Wed Aug 11, 2010 5:53 pm

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.
simfoni
Greenhorn
 
Posts: 3
Joined: Mon Jul 26, 2010 9:28 pm

Re: Medium range Infrared Sensor

Postby sich » Wed Aug 11, 2010 11:34 pm

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.
~> How to ask QUESTIONS the SMART way in FORUM? <~
User avatar
sich
Moderator
 
Posts: 603
Joined: Tue Apr 21, 2009 2:15 pm


Return to Robot Controller

Who is online

Users browsing this forum: No registered users and 12 guests