Distance Measurement (Ultrasonic)
I connected the ultrasonic sensor to the breadboard and used jumper wires to connect the breadboard to the Arduino Uno. First, I placed the ultrasonic sensor firmly on the breadboard. Then, I connected its VCC and GND pins to the appropriate power connections. I connected the Trig and Echo pins to digital pins on the Arduino using jumper wires. Finally, I checked all the connections carefully to make sure everything was connected correctly and securely.