
Week 7: 10/07/2019 - 10/13/2019
Because we were able to get a successful object detection code to work on a small scale last week, we began trying to integrate some of the parts together to start the troubleshooting process. The first step in this integration process was the stepper motor/limit switch code with the new LIDAR detection code. Because the Microprocessor can not do everything we want simultaneously, we modified the code to seem as smooth as possible. Currently, the stepper motor will reset itself, take 25 LIDAR readings, rotate 8 steps clockwise, take 25 LIDAR readings, rotate 8 steps counterclockwise, and then repeat this process. Other changes will need to be made when we increase the range of the LIDAR code, however, this is a great step in the integration process. A short video can be seen below of the LIDAR sensor rotating on the stepper motor attached to a temporary bracket Sean had modeled.
​
An issue that occurred last week was getting the new TFT display to produce a live video feed from our camera module. After realizing there was an issue with the power jack of one of our Arduino boards, we uploaded the same code on a newer board and it immediately produced the desired result. Because of this, we also started integrating the LIDAR detection code with the live video code. On a small scale, once the LIDAR code detects that the object is actually incoming, it will produce a live video for 5 seconds, and then clear the screen again. As previously stated, this a great step in the integration process as we continue adding code together and increasing the scale and range of the LIDAR sensor. A short video displaying the live video on the TFT display can also be seen below.