Dual ESP32 Ping Pong using ESP Now
Автор: BlitzGeek: Tech, Math, AI in a Flash
Загружено: 2025-04-29
Просмотров: 9440
Описание:
Distributed Pong: Real-Time Game Across 2x ESP32 Devices Using ESP-NOW
Watch as we demonstrate a fascinating implementation of the classic Pong game distributed across two ESP32-powered devices communicating wirelessly in real-time!
The ball travels between the two devices as if they were one continuous display, demonstrating the power of ESP-NOW for low-latency wireless communication.
Zero configuration wireless game state synchronization
Ultra-low latency ESP-NOW peer-to-peer communication
LVGL graphics library creating smooth visual experiences
Real-time paddle position updates across devices
Seamless ball transfer between displays with proper physics maintained
Complete score tracking and game state management
The devices are positioned vertically with Device 1 below and Device 2 above. When the ball reaches the top of Device 1's screen, it "transfers" to the bottom of Device 2's screen and continues its trajectory. The game physics are maintained perfectly as the ball travels between devices, creating the illusion of one continuous play area.
ESP-NOW technology enables direct device-to-device communication without requiring a WiFi router, resulting in latencies as low as 5-10ms - perfect for responsive gaming. The wireless communication is handled in the background while the game logic ensures a smooth experience regardless of minor packet losses.
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: