00:01
Hello students in this question we are asked to create a micro c code and proteus circuit for the solar tracking and distance measuring systems.
00:11
So this is the basic outline of the functionality which you can implement using pic16f877a micro controller.
00:26
So you can use this for solar tracking and you can use this outline to write the code and descend the circuit in proteus.
00:33
So first outline of the functionality.
00:44
So you have to first use light independent sensors resistors which is ldr light dependent resistors to measure the light intensity to measure light intensity.
01:07
Now you have to connect ldr analog input pins to analog input pin to the micro controller.
01:22
Now third you have to implement an algorithm to compare the algorithm compare comparing ldr to determine strong light source.
01:52
That is the idea.
01:54
Fourth you have to move control the movement like control movement of solar panel and you using and my motors motor drivers which connected which are connected to the output pins.
02:21
So connect the motor drivers motor driver.
02:28
So motor driver this is md motor driver is connected to output in of the micro controller.
02:43
Now the second part is distance measurement.
02:48
So you have to for distance measurement you can use first use an ultrasonic ultrasonic sensor.
03:01
You can use something like hcsr04 which is an ultrasonic sensor.
03:11
You can use that to measure the distance of the object.
03:14
Second you connect the sensors connect trigger and echo pins to digital input output pins of the micro controller.
03:41
Ok...