For week 8's input design, I wanted to test the proximity sensor! I decided to use the XIAO RP2040 as my main microcontroller. This robot is happy around objects and sad when it is alone.
Used the HC-SR04 Ultrasonic Distance Sensor
Because the HC-SR04 that I had is from an arduino kit and compatible with 5V, and the Seeed XIAO only has a 3.3V, I needed a Level Convertor- decided to just use the arduino for now as the level convertor for the sensor.
image coming soon