Skip to content
All projects
Hardware · Game · Visual · Design · Electronics · Web · ResearchCompleted

Mind Controlled Scalextric Racing

Mind controlled scalextric racing. Move the cars with your mind, and race your opponent.

  • Circuit Design

A mind controlled scalextric racing. This involved adapting a Muse headset's readings to dictate the car's movement. The headset is capable of reading electroencephalography (EEG) signals, which is electrical potential difference from neurons in your prefrontal cortex - we can pick up this movement of charge as current and then aggregate its signal strength to allow you to move your car based on its fluctuations. We created a system that allowed two players, each with headsets, to focus and race each other.

I prototyped the circuitry and electronics needed to get an MVP of the product. This involved taking apart the Scalextric infrastructure, and bypassing the controller so the track and cars respond appropriately to PWM signals from a microprocessor-transistor system. PWM signals are sent from the arduino to a mosfet transistor to open and close its gates. The 12V DC power supply that the track needs to function passes through the mosfet transistor when its gate is opened, so if we want more power supply to the track then we open the gates for longer via the type of PWM signal sent over. Then, development of the software side to pipe the MUSE headset signals into the system - stronger signals correspond to a higher PWM value emitted, and therefore more power supplied.

Working with team members at Arcade Strange, we took it from prototypes to a finished product, having two microprocessors to eliminate electrical interference, taking it from one mosfet and lane supply to two, and taking our PWM-Mosfet-Power supply system from a protoboard circuit to a custom PCB, integrating double bluetooth headsets so people can race each other, robust and reliable circuitry and electronics, and through testing we were able to find a range of values that allowed for good racing without the car flying off the track.

We then developed a sensor system for lap counting using ToF (time of flight) sensors, implementing appropriate software guardrails to ensure that the lap count was accurate and reliable - such as taking a curve of values, not relying on just one. These were capable of recording each lane's lap times, and we were able to extract fastest laps, total laps, allowing us to easily present the game to players.

Rigorous testing and iterative development of the product was performed to combat technical difficulties and improve reliability, we solved issues with dual headset connectivity, such as certain tablet hardware struggling to parse data packets when 2 headsets were connecting due to the bluetooth antennas, as well as development and configuring of Local Network Communication (LAN) Architecture and optimising with Offline-First Application Design.

We partnered with a bespoke modelling company, the racing room, to create a detailed track with landmarks, features and bring life to the build.

This particular project was booked by clients such as Sage and Google, and is a huge success.

Gallery

Version 2, the protoboard circuit has been streamlined, removing the protoboard circuit and replacing it with a purpose designed dual mosfet circuit
Version 2, the protoboard circuit has been streamlined, removing the protoboard circuit and replacing it with a purpose designed dual mosfet circuit
Top to Bottom, ESP32 (Sensors) - Arduino Uno r3 (communication with compute and headset) - Protosheild (redirecting the 12V DC power supply to the track via a mosfet from Arduino PWM input signals)
The brain of the beast.
Sensor calibrating testing
Sensor calibrating testing
Administration page and leaderboard - Detailing our double Bluetooth headset connectivity page and the robot connectivity (re serial to the 2 microprocessors).
Administration page and leaderboard - Detailing our double Bluetooth headset connectivity page and the robot connectivity (re serial to the 2 microprocessors).
The sensors were in this rig here, hidden but functional.

1 / 10

Built with

  • Web Serial
  • Mechanical Assembly
  • Mechanical Design
  • Mechanical Fabrication
  • C++
  • CAD
  • Software Integration
  • Firmware
  • Hardware
  • Software
  • Research and Testing
  • Procurement
  • 3D Printing
  • ESP32
  • Arduino
  • Local Network Communication
  • Data Interface Layers
  • Embedded Systems
  • Offline-First
  • Custom PCB

Collaborators

When

Interested in something like this?

I’m open to collaborations and commissions.

Get in touch