Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I have 2 LDR sensors, they are connected to A0 and A1 pins, and the servo motor is connected to C2 pin. I want to

I have 2 LDR sensors, they are connected to A0 and A1 pins, and the servo motor is connected to C2 pin. I want to make a light tracking system. If the LDR on the right side has more light, I want the motor to turn to the right side, that is, to follow the light. If the light on the left side has more light, I want it to turn left, that is, follow it. In short, wherever I shine the light, the servo will turn there. I am using PIC16F887, I need ccs c codes for this. If this does not happen, another option could be PIC16F887A or PIC16F877. But the best would be pic16f887

image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

13. What are two mechanisms by which CCK increases satiety?

Answered: 1 week ago

Question

6. Identify characteristics of whiteness.

Answered: 1 week ago

Question

e. What are notable achievements of the group?

Answered: 1 week ago