FlappyBird with EMG-Controlled Mouse 🐦

What is this project?

Modified a computer mouse so that its left button is operated by the electromyographic (EMG) signal. This signal is produced when the EMG electrodes are connected on the left forearm, so that left-clicks would be produced by closing the hand. To verify and test this system video game, Flappy Bird, was used to test the output.

Block Diagram

  1. Three electrode leads are connected from the forearm muscles to an instrumentation amplifier incorporating a circuit for common-mode rejection.
  2. The signal will then be band-pass filtered in accordance with the EMG signal bandwidth. Since the EMG signal is not rhythmic in nature, typical signal processing usually consists in rectification and integration.
  3. A comparator with hysteresis will then compare the integrator output to a threshold before triggering a monostable circuit that will send a pulse through an optoisolator to a relay that will activate the mouse left button while playing a game of Flappy Bird.

What You'll Need

…return to projects.ibrahimsaid.ca or ibrahimsaid.ca.