MCH2022 badge?
go to mch2022.badge.team

Git revision: 6b637c7a28c98d7dac042697b5ff2d98477c5e01 robot_eyes rev. 6 (by Jeroen)

Eyes

Shows eyes on a hackzone badge campzone 2019 https://badge.team

Eyes can play any pattern, like blinking (one or two eyes) and looking around.

Support for an HCSR04 ultrasonic distance sensor is included, to close the eyes if something comes near. To use this, connect the sensor to the top four connection of the six-pin expansion connector. trigger_pin=4, echo_pin=5

Press A to (un)pause (sometimes long press is needed). Press up/down to change color, left/right to change to next/prev pattern.

Demo at https://youtu.be/4UacRFUc8uE

https://github.com/JeroenvO/robot_eyes

Category: graphics
Status: working
Vote Comment Date
No votes yet :(
Warning!
This should update from https://github.com/JeroenvO/robot_eyes but it does not :( Can you check what is wrong?
Compatibility
  • CampZone 2019: working
Dependencies
  • No dependencies found
Dependants
  • No dependants found
Author: Jeroen

File Last edited Size
README.md 2020-11-22 22:47:39 588 B
__init__.py 2020-11-22 22:47:39 8.64 KiB
hcsr04.py 2020-11-22 22:47:39 2.81 KiB
icon.py 2020-11-22 22:47:39 781 B