Finds and detects a light source in a room by pointing at it. tries to track the light source on movement and keeps to point at it.
Light tracking system will behave similar to radar, it will find the source of the light pointing the sensor to it, system will move in 180 degrees horizontally and 180 degrees vertically.
System will be build around ZedBoard – board with Xilinx FPGA, 4 pmodColor sensors, 2 servomotors.
the two motors are placed on the rotating (holder) device, one motor rotates the device horizontally while the other rotates it vertically. The four sensors are placed on the device platform, one at each direction (up,down,right,left).
An algorithm was built and tested on MATLAB using the image-processing toolbox, after exploring the problem and testing various set of algorithms also using MATLAB.
The algorithm was split into two “unrelated” parts. One is responsible for reading values from the sensors, the other is responsible for controlling the movement of the motors.
Sensors part: using Diglent packaged IP’s for the pmod library and writing a software in C (run by SDK).
Motors part: a main controller block with two additional blocks responsible for:
1. Convert angle representation into pwm sginal.
2. convert motor feedback into angle representation.
A simulation project was built to test the main controller block. Only after that all the pieces were put together, built the system, connected the wires and it’s ready to launch.