PIC + Cny70

Status
Not open for further replies.

moonstreat

New Member
Hello everybody ...

I wanted to build a car to follow a line, and for that, I use the component CNY70 ..

my doubt is whether the links that I use for the PIC ..
 
Hi, if you mean how do you connect it to the PIC, then follow the diagram below.

In the blue box is the CNY70. You will also need the 220R current limiting resistor for the LED and the 10K pull-down resistor from the transistor.

Where it connects to pin 3 of the op-amp is where you want to connect it to your PIC.


Edit: Picture borrowed from **broken link removed**
 

Attachments

  • CNY70..gif
    11.9 KB · Views: 5,932
Last edited:
With just one CNY70 the robot won't be able to follow a line.

Using a black line (to follow) the right and left sides must be white (IR sensitivity) to recognize crossing the black line and correct path as necessary.

Boncuk

P.S. Take a look at the CNY70 datasheet.
 
Last edited:
my goal is to program the pic, to make the car follow the line, and give the necessary instructions pra the car stop, and then perform some functions ..

for example, the car travels 50 cm, and for the past 2 or 3 seconds, the car runs and follows the route.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…