Bike Car

Bike Car

BIKE CAR is an interactive multiplayer racing game where players control the speed of their vehicles by pedaling real stationary exercise bikes. Designed for entertainment venues and activity centers, the system transforms physical cycling into a competitive digital racing experience, combining custom hardware with real-time game development.

UnityC#Arduino Mega 2560Rotary EncodersEmbedded SystemsReal-Time MultiplayerInteractive EntertainmentCustom Hardware Integration
Live Demo →

BIKE CAR was developed as a custom interactive attraction for an entertainment venue, allowing three players to compete simultaneously by riding real exercise bikes. Instead of using traditional game controllers, each bike is equipped with an industrial rotary encoder connected to an Arduino Mega 2560. The system continuously measures each player’s pedaling speed and transmits the data to Unity in real time, where it directly controls the acceleration of each racing vehicle.

The project required both hardware and software development, including custom electronics, embedded programming, real-time serial communication, and game development. Since the physical hardware was unavailable during much of development, a complete keyboard-based encoder simulation system was created to emulate real sensor input, allowing the entire gameplay system to be developed and tested before the final installation.

To provide an engaging experience, the game includes dynamic camera transitions that automatically follow the leading racer, responsive engine audio that changes according to player speed, tire smoke effects, finish-line celebrations, and a complete winner presentation sequence.

How It Works

Key Features

Technical Details

Game Engine: Unity

Programming Language: C#

Microcontroller: Arduino Mega 2560

Sensors: Industrial Rotary Encoders

Communication: USB Serial Communication

Platform: Windows PC

Graphics: 3D

Players: 3 (Local Multiplayer)

Architecture: Hardware–Software Integration

Core Logic: Real-time pedal speed measurement, Arduino-to-Unity communication, and physics-based vehicle control.