DIY Neuroscience Kit Basic#

Overview#

This kit is perfect for students, researchers and hobbyists alike who want to start exploring neuroscience. Whether it’s studying brain waves, monitoring heart rhythms, analyzing muscle movements, or tracking eye movements, this DIY kit provides an accessible and educational platform for understanding the complexities of human physiology and developing practical applications in the fields of human-computer interaction, and beyond.

../../../_images/diy-neuroscience-kit-basic.png

Contents of the kit#

From development board (Maker UNO), BioAmp EXG Pill, BioAmp cable v3, jumper cables, gel electrodes, dry electrode-based BioAmp bands to skin preparation kit, this includes everything that you need to get started with your awesome HCI/BCI project.

../../../_images/kit-contents5.png

Unboxing the kit:

Software requirements#

To use your DIY Neuroscience Kit Basic, you will need the softwares mentioned below. Instructions on how to use them are provided later in the guide.

  • Arduino IDE (Download this to upload Chords arduino firmware to your development board)

  • Chords Web (Use this open-source web application to visualize your biopotential signals)

  • Visual Studio Code (or any other Code editor of your choice)

  • Python (To run Chords-Python script)

  • Chords Python (Use this open-source python script designed to record and visualize biopotential signals)

Note

  1. The Chords Arduino firmware is identical for both Chords Web and Chords Python, so you only need to upload the code once, and you’re all set.

  2. You can choose either Chords Web or Chords Python to record and visualize your biopotential signals based on your needs. If you’re curious, you can try both one at a time.

Using the kit#

This kit is made in a way so that even beginners can use it and get started with recording biopotential signals from their body to explore the field of neuroscience by making HCI/BCI projects.

Step 1 (optional): Configure for EMG/ECG#

../../../_images/configuration-emg-ecg.png

BioAmp EXG Pill is by default configured for recording EEG or EOG, so if you are recording any of the two signals you can skip this step. But if you want to record good quality ECG or EMG, then it is recommended to configure it by making a solder joint as shown in the image above.

Note

Even without making the solder joint the BioAmp EXG Pill is capable of recording ECG or EMG as well but the signals would be more accurate if you configure it.

Step 2: Connect Maker UNO#

../../../_images/connection-with-maker-uno.png

Connect VCC to 5V, GND to GND, and OUT to Analog pin A0 of your Maker UNO via jumper cables provided by us. If you are connecting OUT to any other analog pin, then you will have to change the INPUT PIN in the arduino sketch accordingly.

Warning

Take precautions while connecting to power, if power pins (GND & VCC) are to be swapped, your BioAmp EXG Pill will be fried and it’ll become unusable (DIE).

Step 3: Connecting electrode cable#

../../../_images/bioamp-cable.png

Connect the BioAmp cable to BioAmp EXG Pill by inserting the cable end in the JST PH connector as shown above.

Step 4: Skin Preparation#

Apply Nuprep Skin Preparation Gel on the skin surface where electrodes would be placed to remove dead skin cells and clean the skin from dirt. After rubbing the skin surface thoroughly, clean it with an alcohol wipe or a wet wipe.

For more information, please check out detailed step by step Skin Preparation Guide.

Step 5: Electrode placement#

We have 2 options to measure the signals, either using the gel electrodes or using dry electrode based BioAmp Bands. You can try both of them one by one.

  1. Using Gel electrodes guide

  2. Assembling & using BioAmp Bands guide

Once you have made the connections, return here to proceed to the next steps.

Step 6: Uploading the code#

  1. Connect the Maker Uno to your laptop using the USB cable (Type A to Type B). Go to Chords Arduino Firmware github repository, open AVR-NANO-UNO-MEGA folder and copy paste the arduino sketch in Arduino IDE that you downloaded earlier.

    Link for the arduino sketch: Chords Arduino Firmware for Maker Uno

  2. Uncomment #define BOARD_MAKER_UNO in the code.

  3. Go to tools > board > Arduino AVR boards and select Arduino UNO. In the same menu, select the COM port on which your Maker Uno is connected. To find out the right COM port, disconnect your Maker UNO board and reopen the menu. The entry that disappears should be the right COM port. Now click on the upload button.

Warning

Make sure your laptop is not connected to a charger and sit 5m away from any AC appliances for best signal acquisition.

Step 7: Setting up Chords Web#

  1. Visit chords.upsidedownlabs.tech.

  2. Click on “Visualize now” button.

  3. At the bottom, you can see buttons to access various applications:
    1. Chords Visualizer: Use this application for real-time data visualization, recording and data management, filter options, and multi-channel support.

    2. FFT Visualizer: Use this app to visualize filtered EEG signals in real-time, FFT graph, EEG frequency bands, and a beta candle to determine your focus.

    3. Serial Wizard: This interface provides real-time serial data visualization using serial plotter and monitor, optimised data rendering, baud rate selection and options to toggle between different modes.

  4. Click on any of the button according to your requirement, select the COM port and click OK. You will be able to visualize your signals on the screen.

Step 8: Setting up Chords Python#

Since you have uploaded the firmware already to your Maker UNO, use our python script and follow the steps given in the Chords-Python documentation for lsl streaming, CSV data logging, verbose output with detailed statistics and error reporting. Not only that, you get a complete web interface to access various applications (like ECG with heart rate, EMG with envelope, GUI of channels, CSV plotter, etc.) that you can use to further analyse your signals and create HCI/BCI projects.

Some Project Ideas#

Upside Down Labs on Instructables:

Controlling video game using EEG
Recording EEG from visual cortex
Record publication-grade ECG signals
Measuring heart rate
Detecting heart beats
Creating a drowsiness detector
Detecting eye blinks
Detecting up and down eye movement
Recording publication-grade EMG

These are some of the project ideas but the possibilities are endless. So create your own Human Computer Interface (HCI) and Brain Computer Interface (BCI) projects and share them with us at contact@upsidedownlabs.tech.