Reddit reviews HC–SR04 Ultrasonic Sensor - 2 Pack
We found 1 Reddit comments about HC–SR04 Ultrasonic Sensor - 2 Pack. Here are the top ones, ranked by their Reddit score.
Range: 2cm - 400cmPower: +5V DC Current: 15mAEffective Angle: <15 degreesDimension: 45mm x 20mm x 15mmTrigger Input Pulse Width: 10uS
Hello :-)
You can use a simple (leaver) switch when it bumps into something (or indeed use the flex sensor), but better would be a ultra-sonic sensor ($1 at Aliexpress or eBay, $5 at Amazon). Another method is something like a tcrt5000 infrared distance sensor, but it's vulnerable to ambient light. You could do this with the photocell as well (or line tracking).
Also ad a $1 9g servo to pan the sensor :-)
What parts do you have besides the kit?