Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions website/docs/Deprecated/01-DeprecatedDocs.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Deprecated Hardware:
- [Myoware v1.0 Cyton Integration](Deprecated/14-MyoWare_Integration.md)
- [Myoware v1.0 Ganglion Integration](Deprecated/15-MyoWare_Integration_Ganglion.md)
- [WiFi Shield](Deprecated/WiFiShield/Wifi.md)
- [IDUN Dryode](Deprecated/16-Dryode_Guide.md)

Deprecated Software:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
---
id: Dryode
id: DeprecatedDryode
title: "IDUN Dryode"
---

### Overview
:::note
**THIS HARDWARE VERSION HAS BEEN DEPRECATED AND IS NO LONGER IN PRODUCTION.**
:::

We are very excited to work with IDUN Technologies to offer this affordable, high-quality biosensing kit to our community.
The Dryode™ has been discontinued and is no longer available for sale. This document remains active for legacy support and reference.

The Dryode™ offers waterproof, research-grade signal quality with the ease of a consumer product. This state-of-the-art flexible dry electrode is designed for biopotential data acquisition (ECG, EMG, and EEG). It can be connected to the OpenBCI [Cyton](https://shop.openbci.com/collections/frontpage/products/cyton-biosensing-board-8-channel), [CytonDaisy](https://shop.openbci.com/collections/frontpage/products/cyton-daisy-biosensing-boards-16-channel), or [Ganglion board](https://shop.openbci.com/collections/frontpage/products/ganglion-board) using OpenBCI [snap electrode cables](https://shop.openbci.com/collections/frontpage/products/emg-ecg-snap-electrode-cables), and is also compatible with most standard snap electrode cables.
### Overview

Head over to the [EMG Getting Started Guide](GettingStarted/Biosensing-Setups/02-EMG-Setup.md) to learn how to connect the EMG setup!
The Dryode™ offers waterproof, research-grade signal quality with the ease of a consumer product. This state-of-the-art flexible dry electrode is designed for biopotential data acquisition (ECG, EMG, and EEG). It can be connected to the OpenBCI [Cyton](https://shop.openbci.com/collections/frontpage/products/cyton-biosensing-board-8-channel), [CytonDaisy](https://shop.openbci.com/collections/frontpage/products/cyton-daisy-biosensing-boards-16-channel), or [Ganglion board](https://shop.openbci.com/collections/frontpage/products/ganglion-board) using OpenBCI [snap electrode cables](https://shop.openbci.com/collections/frontpage/products/emg-ecg-snap-electrode-cables), and is also compatible with most standard snap electrode cables. These Dryodes are used in the same way as, and as a replacement for, standard gel-based snap electrodes.
2 changes: 1 addition & 1 deletion website/docs/Examples/EMGProjects/01-EMG_Scrolling.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The following instructions are written for use with Windows 10.
## Materials Required

1. OpenBCI [Cyton Board](https://shop.openbci.com/collections/frontpage/products/cyton-biosensing-board-8-channel?variant=38958638542)
2. [Solid Gel Electrodes](https://shop.openbci.com/products/kendall-emg-ecg-foam-solid-gel-electrodes-50-pack) or [IDUN Dryode](https://shop.openbci.com/collections/frontpage/products/idun-dryode-kit)
2. [Solid Gel Electrodes](https://shop.openbci.com/products/kendall-emg-ecg-foam-solid-gel-electrodes-50-pack)
3. [EMG/ECG Snap Electrode Cables](https://shop.openbci.com/collections/frontpage/products/emg-ecg-snap-electrode-cables?variant=32372786958)
4. Computer with downloaded OpenBCI [GUI](../../Software/OpenBCISoftware/01-OpenBCI_GUI.md)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The following instructions are written for use with Windows 10.
## Materials Required

1. OpenBCI [Cyton Board](https://shop.openbci.com/collections/frontpage/products/cyton-biosensing-board-8-channel?variant=38958638542)
2. [Solid Gel Electrodes](https://shop.openbci.com/products/kendall-emg-ecg-foam-solid-gel-electrodes-50-pack) or [IDUN Dryode](https://shop.openbci.com/collections/frontpage/products/idun-dryode-kit)
2. [Solid Gel Electrodes](https://shop.openbci.com/products/kendall-emg-ecg-foam-solid-gel-electrodes-50-pack)
3. [EMG/ECG Snap Electrode Cables](https://shop.openbci.com/collections/frontpage/products/emg-ecg-snap-electrode-cables?variant=32372786958)
4. Computer with downloaded OpenBCI [GUI](../../Software/OpenBCISoftware/01-OpenBCI_GUI.md)

Expand Down
102 changes: 51 additions & 51 deletions website/docs/Examples/EMGProjects/05-EMG_Chrome_Dino_Game.md
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
---
id: EMG_Chrome_Dino_Game
title: EMG Chrome Dino Game
---
In this tutorial we will show you how to play the Google Chrome Dinosaur Game without touching your laptop. To do that, we will read EMG data from your arm muscles and find the peaks which correspond to flexing, using them to trigger a jump of the dinosaur.
Check out an example video of this tutorial being put into action!
![EMGdinogif](https://media.giphy.com/media/Iyxb0WAiUUvffbg3mV/giphy.gif)
The following instructions have been written for use with Linux 16.04.
## Materials Required
1. OpenBCI [Cyton Board](https://shop.openbci.com/collections/frontpage/products/cyton-biosensing-board-8-channel?variant=38958638542)
2. [Solid Gel Electrodes](https://shop.openbci.com/products/kendall-emg-ecg-foam-solid-gel-electrodes-50-pack) or [IDUN Dryodes](https://shop.openbci.com/collections/frontpage/products/idun-dryode-kit)
3. [EMG/ECG Snap Electrode Cables](https://shop.openbci.com/collections/frontpage/products/emg-ecg-snap-electrode-cables?variant=32372786958)
4. Computer with downloaded OpenBCI [GUI](Software/OpenBCISoftware/01-OpenBCI_GUI.md)
## Step 1: Hardware Assembly.
Follow the EMG Getting Started [tutorial](GettingStarted/Biosensing-Setups/02-EMG-Setup.md) on this link to connect the electrodes to your body and the Cyton board, and read data from it using the OpenBCI GUI. For this tutorial, you will need to connect one of your arms to Channel 1 and Ground.
## Step 2: Software Setup.
Install Python version 2 or 3. [Here](https://www.geeksforgeeks.org/how-to-download-and-install-python-latest-version-on-linux/) is a useful tutorial to find out if Python is already installed on your computer and to install it. To use this program, you need the following Python packages installed:
- **pylsl** : use `pip install pylsl` from the command line to install it.
- **pyautogui** : use `pip install pyautogui` to install it.
- **brainflow**: use `pip install brainflow`.
- **numpy**: use `pip install numpy`.
## Step 3: Download and Run the Script.
The Python script will set up the Cyton board, read data from it, and analyze it to detect any spikes that correspond to muscle flexing. If a flex is detected and 100 milliseconds have passed since the last one, it will press the space bar, which will make the dinosaur jump. The threshold for the time between flexes can be modified as needed to avoid debouncing.
In this tutorial, we provide two alternative ways of processing the data to detect the peaks and encourage you to think of your own ways to do it. Get either the `chrome_dino_v1.py` or the `chrome_dino_v2.py` Python script from [here](https://github.com/evaesteban/brainflow/tree/games/games) by cloning the repository or copying the individual code file to a .py script. Once your board is connected, open a terminal and launch the script by running `python <script name> --serial-port /dev/ttyUSB0 --board-id 0` from the folder its stored in.
**Important:** If you are using a serial port other than /dev/ttyUSB0, replace it in the above command.
Once the script has launched, follow the instructions on the terminal. The script `chrome_dino_v1.py` removes the noise from the signal, squares it, and sets a threshold to detect the peaks. The script `chrome_dino_v2.py` denoises the signal and then uses a rolling window with normalization to detect the peaks.
**Important**: If you are using `chrome_dino_v1.py` and the mean value printed out is negative, swap the N and P electrode cables and repeat calibration to get a positive mean.
Next, open a Google Chrome tab and go to the url `chrome://dino`. You do not have to disable your internet to access this free game. Start the game by pressing the spacebar or flexing your arm. Every time you flex, the dinosaur will jump. Since we’re processing raw signals, the threshold might need to be adjusted. If the jump is not getting triggered, play with the value of `flex_thres` by modifying the variable directly in `chrome_dino_v2.py` or the percentage multiplier set to 0.5 in `chrome_dino_v1.py`. You can also modify the time between flexes by changing the parameter `time_thres`.
To learn more about brainflow visit its [GitHub repository](https://github.com/brainflow-dev/brainflow) and its [Documentation](https://brainflow.readthedocs.io/en/stable/).
This is a great example to get started with brainflow. Try it out and send us a video of how you modify this prototype!
**Note**: This tutorial is based on Brainflow 2020. If you experience any issues with the latest versions email us at [contact@openbci.com](mailto:contact@openbci.com).
---
id: EMG_Chrome_Dino_Game
title: EMG Chrome Dino Game
---
In this tutorial we will show you how to play the Google Chrome Dinosaur Game without touching your laptop. To do that, we will read EMG data from your arm muscles and find the peaks which correspond to flexing, using them to trigger a jump of the dinosaur.

Check out an example video of this tutorial being put into action!

![EMGdinogif](https://media.giphy.com/media/Iyxb0WAiUUvffbg3mV/giphy.gif)

The following instructions have been written for use with Linux 16.04.

## Materials Required

1. OpenBCI [Cyton Board](https://shop.openbci.com/collections/frontpage/products/cyton-biosensing-board-8-channel?variant=38958638542)
2. [Solid Gel Electrodes](https://shop.openbci.com/products/kendall-emg-ecg-foam-solid-gel-electrodes-50-pack)
3. [EMG/ECG Snap Electrode Cables](https://shop.openbci.com/collections/frontpage/products/emg-ecg-snap-electrode-cables?variant=32372786958)
4. Computer with downloaded OpenBCI [GUI](Software/OpenBCISoftware/01-OpenBCI_GUI.md)

## Step 1: Hardware Assembly.

Follow the EMG Getting Started [tutorial](GettingStarted/Biosensing-Setups/02-EMG-Setup.md) on this link to connect the electrodes to your body and the Cyton board, and read data from it using the OpenBCI GUI. For this tutorial, you will need to connect one of your arms to Channel 1 and Ground.

## Step 2: Software Setup.

Install Python version 2 or 3. [Here](https://www.geeksforgeeks.org/how-to-download-and-install-python-latest-version-on-linux/) is a useful tutorial to find out if Python is already installed on your computer and to install it. To use this program, you need the following Python packages installed:

- **pylsl** : use `pip install pylsl` from the command line to install it.
- **pyautogui** : use `pip install pyautogui` to install it.
- **brainflow**: use `pip install brainflow`.
- **numpy**: use `pip install numpy`.

## Step 3: Download and Run the Script.

The Python script will set up the Cyton board, read data from it, and analyze it to detect any spikes that correspond to muscle flexing. If a flex is detected and 100 milliseconds have passed since the last one, it will press the space bar, which will make the dinosaur jump. The threshold for the time between flexes can be modified as needed to avoid debouncing.

In this tutorial, we provide two alternative ways of processing the data to detect the peaks and encourage you to think of your own ways to do it. Get either the `chrome_dino_v1.py` or the `chrome_dino_v2.py` Python script from [here](https://github.com/evaesteban/brainflow/tree/games/games) by cloning the repository or copying the individual code file to a .py script. Once your board is connected, open a terminal and launch the script by running `python <script name> --serial-port /dev/ttyUSB0 --board-id 0` from the folder its stored in.

**Important:** If you are using a serial port other than /dev/ttyUSB0, replace it in the above command.

Once the script has launched, follow the instructions on the terminal. The script `chrome_dino_v1.py` removes the noise from the signal, squares it, and sets a threshold to detect the peaks. The script `chrome_dino_v2.py` denoises the signal and then uses a rolling window with normalization to detect the peaks.

**Important**: If you are using `chrome_dino_v1.py` and the mean value printed out is negative, swap the N and P electrode cables and repeat calibration to get a positive mean.

Next, open a Google Chrome tab and go to the url `chrome://dino`. You do not have to disable your internet to access this free game. Start the game by pressing the spacebar or flexing your arm. Every time you flex, the dinosaur will jump. Since we’re processing raw signals, the threshold might need to be adjusted. If the jump is not getting triggered, play with the value of `flex_thres` by modifying the variable directly in `chrome_dino_v2.py` or the percentage multiplier set to 0.5 in `chrome_dino_v1.py`. You can also modify the time between flexes by changing the parameter `time_thres`.

To learn more about brainflow visit its [GitHub repository](https://github.com/brainflow-dev/brainflow) and its [Documentation](https://brainflow.readthedocs.io/en/stable/).

This is a great example to get started with brainflow. Try it out and send us a video of how you modify this prototype!

**Note**: This tutorial is based on Brainflow 2020. If you experience any issues with the latest versions email us at [contact@openbci.com](mailto:contact@openbci.com).
Loading