Use the Elecfreaks cutebot's ultrasound distance sensor and the Adafruit CLUE's proximity sensor to avoid objects. The cutebot's neopixels display the current action state.
| Neopixel Color | Sensor | Action |
|---|---|---|
| green | Ultrasound | going forward |
| yellow | Ultrasound | avoiding an object between 20 to 50 centimeters away |
| red | Ultrasound | avoiding an object 20 centimeters or less away |
| blue | Proximity | avoiding an object seen by the proximity sensor |
-
You can find the code for this demo in the "Example" folder of the CircuitPython_CLUE_Cutebot repository.
Github Repository: https://github.com/jisforjt/CircuitPython_CLUE_Cutebot
JT
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.