Skip to content

sangeethankumar/DNO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game Demo

Game Demo

  • Two-player game
  • Player 1
    • Stick electrodes in the following locations
      • left arm (less muscular area)
      • right arm (less muscular area)
      • right leg near the shin
    • Set threshold on the Filtered Heartbeat Signal by manually dragging the horizontal line. A heart shows up on the game window.
  • Player 2
    • Collect hearts in the game by jumping (spacebar) to get points!

Heart Signal Acquisition

Setup and Installation

Shopping List:

ECG Data Acquisition GUI

Calliope and ECG Board

calliope editor

  1. Connect calliope mini v3 device from the Calliope Editor.
  2. Copy and paste the code from calliope_code.py to the editor and upload the code to the device.
  3. Connect ECG board to calliope device at A1 RX pin

ECG Stream

ecg monitor

(Note: Currently, the gui has only been tested on windows, but should work on other platforms as well.)

  1. Install Pixi: winget install --id=prefix-dev.pixi
  2. Set the CALLIOPE_PORT value in the plot_ecg.py file to match your device's location.
  3. Run the App (will auto-install any dependencies): pixi run python plot_ecg.py
  4. Use the scroll button on the mouse to zoom in and out, and drag the white threshold line in "Filtered Heartbeat Signal" to just below the maximum point where a heartbeat signal happens! You'll know it's working from the terminal: "Heartbead detected" will be printed each time the filtered signal goes above the threshold line.

iBOTS Heart Jump Game

alt text

(Note: Currently, the game has only been tested on windows, but should work on other platforms as well.)

  1. Install Pixi: winget install --id=prefix-dev.pixi
  2. Run the App (will auto-install any dependenci)s: pixi run python game.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages