In this project, a partner and I worked on creating a 3D pan and tilt scanner using an IR distance sensor, servos, and an Arduino Uno. I worked on the software to pan and tilt the scanner, take readings, and process the results to create accurate visualizations.
To start this project, we initially calibrated the IR distance sensor by recording the voltage outputs of the sensor at several known distances, then creating a calibration curve to convert the voltage reading to a distance reading. After calibration, I developed code to pan and tilt the scanner, taking distance readings across the desired range. Each reading and its associated pan and tilt angles were then read into Python and saved as a CSV. This data was then converted back to cartesian coordinates and actual distances and plotted on a graph to create a visualization of the scan.