For this week, I spend a majority of time trying to wire the ToF sensor. I was having lot of compilation issues, where the Arduino IDE imported libraries weren’t fully supported with the ToF sensor we specifically chose.
After a bit of tinkering, I found that the specific sensor we purchased was unable to communicate via SPI to the Arduino Nano, although SPI is supported on other models of ESP32 microcontrollers. As an alternative, we are able to use I2C to wire up the ToF sensor. The drawback with using I2C is a higher latency, however the distance the frisbee is off of the ground does not need to have a high sampling rate, therefore making I2C a suitable communication protocol in our use-case.
