I built a small Chrome Dino auto-player using a Digispark ATtiny85.
Key idea:
The ATtiny85 enumerates as a standard USB HID keyboard.
Two LM393 LDR modules are mounted vertically on the monitor:
lower sensor for cactus zone
upper sensor for bird zone
Firmware decides jump/duck from sensor state and adapts timing as game speed increases (using lower-sensor envelope width).
Why I built it:
1 comment
[ 2.9 ms ] story [ 8.9 ms ] threadKey idea:
The ATtiny85 enumerates as a standard USB HID keyboard. Two LM393 LDR modules are mounted vertically on the monitor: lower sensor for cactus zone upper sensor for bird zone Firmware decides jump/duck from sensor state and adapts timing as game speed increases (using lower-sensor envelope width). Why I built it:
Explore low-cost real-time sensing + control on a tiny MCU. Avoid host-side scripts and mechanical key actuators. Keep the design portable across host OSes. Repo: https://github.com/hackboxguy/chrome-dinoplayer Write-up: https://prolinix.com/blog/chrome-dino-auto-player/
AI disclosure: I used Claude Code during development and Codex for review; hardware testing and tuning were done on the physical setup.