Arduino/ESP32 Bot Beats Chrome Dino Game! (LDR Sensor & ServoMotor Automation) 🎮
Автор: ElectroNoise
Загружено: 2025-10-30
Просмотров: 30
Описание:
[Part 1: The Hook & Overview]
Hey everyone! Check out my latest project: building a physical Chrome Dino Game bot using a microcontroller!
I decided to take on the challenge of automating Google Chrome's famous "No Internet" game, but instead of using software and code injection, I created a physical hardware setup. This little machine uses a Light-Dependent Resistor (LDR) sensor to detect the black obstacles (cacti and birds) on the screen and a micro servo motor to physically press the spacebar key to make the T-Rex jump!
It's a perfect blend of electronics, coding, and classic gaming. Watch the video to see the full setup, the code logic, and the bot achieving an incredible high score!
[Part 2: The Tech Deep Dive (For Fellow Makers)]
This bot is powered by an ESP32 (or specify Arduino if you used one) board, which runs the detection and actuation logic.
Key Components & Logic:
Obstacle Detection: The LDR is taped to the screen in the path of the obstacles. When a black cactus or bird passes, the light level drops rapidly, triggering a change in the analog reading.
Control/Brain: The ESP32/Arduino reads the LDR sensor value. If the reading drops below a certain threshold (indicating an obstacle), the code triggers the next step.
Input Actuation: A low-cost SG90 Servo Motor is used to physically move and press the keyboard's Spacebar key for the jump action, mimicking a human player.
Debouncing/Timing: The code includes timing logic to ensure the servo doesn't press the key multiple times for a single obstacle and to adjust the jump duration as the game speed increases.
This project is a great demonstration of physical computing and an alternative to software-based automation.
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: