Skip to content

Commit

Permalink
Merge pull request #9 from Sahil142002/main
Browse files Browse the repository at this point in the history
Changes in the documentation website
  • Loading branch information
lorforlinux authored Feb 19, 2024
2 parents f9be769 + a71766d commit 074c955
Show file tree
Hide file tree
Showing 102 changed files with 1,749 additions and 200 deletions.
19 changes: 19 additions & 0 deletions blog/2023-05-10-Soldering.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Soldering is one of the most fundamental skills needed to dabble in the world of electronics. The two go together like peas and carrots. And, although it is possible to learn about and build electronics without needing to pick up a soldering iron, you'll soon discover that a whole new world is opened with this one simple skill.

Soldering is a process used in electronics and metalwork to join two or more pieces of metal together by melting a filler metal, called solder, which has a lower melting point than the pieces being joined.

### Here's how soldering typically works:

1. ***Preparation***: The surfaces to be joined are cleaned and prepared to ensure a good connection. This often involves removing any oxidation or contaminants from the metal.

2. ***Heating***: A soldering iron or soldering gun is used to heat the metal parts to be joined. The soldering tool reaches a temperature high enough to melt the solder but not so high that it damages the components or materials being soldered.

3. ***Application of Solder***: When the metal surfaces are hot enough, the solder is applied to the joint. The solder melts and flows into the gap between the metal parts, forming a strong and electrically conductive bond when it cools and solidifies.

4. ***Cooling***: As the solder cools and solidifies, it forms a solid connection, effectively joining the pieces of metal together.

Soldering is commonly used in various applications, including assembling electronic circuits, repairing electrical connections, plumbing, jewelry making, and more. It is a fundamental technique in many industries that require precise and reliable metal connections.

Checkout the article to know more about Soldering

https://learn.sparkfun.com/tutorials/how-to-solder-through-hole-soldering/all
Empty file removed blog/2023-05-10-new-code.md
Empty file.
40 changes: 39 additions & 1 deletion docs/BioAmp-Hardware/BioAmpEXGPill.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,42 @@ BioAmp EXG Pill is perfect for researchers, makers, and hobbyists looking for no
- Capturing photos with a blink of an eye (EOG)
- Controlling LEDs via brain waves (EEG)
- Patient monitoring
and many more examples.
and many more examples.

## Some project ideas

1. [Record Publication Grade ECG at Your Home Using BioAmp EXG Pill](/docs/Experiments/ECG%20Experiments/Record%20Publication%20Grade%20ECG%20at%20Your%20Home%20Using%20BioAmp%20EXG%20Pill/Record%20Publication%20Grade%20ECG%20at%20Your%20Home%20Using%20BioAmp%20EXG%20Pill.md)


<iframe width="100%" height="444" src="https://www.youtube.com/embed/l1Z8S0pUAvY?feature=oembed&autoplay=0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>


2. [Detecting Heart Beats Using BioAmp EXG Pill](/docs/Experiments/ECG%20Experiments/Detecting%20Heart%20Beats%20Using%20BioAmp%20EXG%20Pill/Detecting%20Heart%20Beats%20Using%20BioAmp%20EXG%20Pill.md)


<iframe width="100%" height="444" src="https://www.youtube.com/embed/uB5R-vGJjJo?feature=oembed&autoplay=0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>


3. [Measuring Heart Rate Using BioAmp EXG Pill](/docs/Experiments/ECG%20Experiments/Measuring%20Heart%20Rate%20Using%20BioAmp%20EXG%20Pill/Measuring%20Heart%20Rate%20Using%20BioAmp%20EXG%20Pill.md)


<iframe width="100%" height="444" src="https://www.youtube.com/embed/PvWtCFNK3_s?si=Q9RoDCHXmS4lJy4F&autoplay='0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

4. [Recording EEG From Pre Frontal Cortex of Brain Using BioAmp EXG Pill](/docs/Experiments/EEG%20Experiments/Recording%20EEG%20From%20Pre%20Frontal%20Cortex%20of%20Brain%20Using%20BioAmp%20EXG%20Pill/EEGExperiments.md)

<iframe width="100%" height="444" src="https://www.youtube.com/embed/QzZh243-Ac8?feature=oembed&autoplay=0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

5. [Visualizing Electrical Impulses of Eyes (EOG) Using BioAmp EXG Pill](/docs/Experiments/EOG%20Experiments/EOG%20EXPERIMENT/EOG%20Experiment.md)


<iframe width="100%" height="444" src="https://www.youtube.com/embed/Txo7DjUr5Tk?feature=oembed&autoplay=0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

6. [Eye Blink Detection by Recording EOG Using BioAmp EXG Pill](/docs/Experiments/EOG%20Experiments/BioAmp%20EXG%20Pill_Eye%20Blink%20Detection/BioAmp%20EXG%20Pill_Eye%20Blink%20Detection.md)


<iframe width="100%" height="444" src="https://www.youtube.com/embed/4dnCX3U7LS8?feature=oembed&autoplay=0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

7. [Drowsiness Detector by Detecting EOG Signals Using BioAmp EXG Pill](/docs/Experiments/EOG%20Experiments/Drowsiness%20Detector%20by%20Detecting%20EOG%20Signals%20Using%20BioAmp%20EXG%20Pill/Drowsiness%20Detector%20by%20Detecting%20EOG%20Signals%20Using%20BioAmp%20EXG%20Pill.md)


<iframe width="100%" height="444" src="https://www.youtube.com/embed/h4F41mp4mWk?feature=oembed&autoplay=0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
19 changes: 18 additions & 1 deletion docs/BioAmp-Hardware/DIYMuscleBioAmpShield.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,21 @@ These features make it the ultimate plug-and-play kit for students, researchers,

2. Scrolling Instagram Reels/YouTube Shorts by using your muscle signals (EMG)

<iframe width="100%" height="444" src="https://www.youtube.com/embed/ZzhrNyndky4" title="Scrolling Instagram Reels or YouTube Shorts using muscle signals (EMG) | BioAmp Hardware | @Arduino" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
<iframe width="100%" height="444" src="https://www.youtube.com/embed/ZzhrNyndky4" title="Scrolling Instagram Reels or YouTube Shorts using muscle signals (EMG) | BioAmp Hardware | @Arduino" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>


3. [Making a Muscle Strength Game Using Muscle BioAmp Shield & Arduino Uno](/docs/Experiments/EMG%20Experiments/Making%20a%20Muscle%20Strength%20Game%20Using%20Muscle%20BioAmp%20Shield%20&%20Arduino%20Uno/Making%20a%20Muscle%20Strength%20Game%20Using%20Muscle%20BioAmp%20Shield%20&%20Arduino%20Uno.md)


<iframe width="100%" height="444" src="https://www.youtube.com/embed/bSfTnFcCHYM?feature=oembed&enablejsapi=1&origin=https://www.instructables.com" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>


4. [Record, Visualize & Listen to Muscle Signals Using Muscle BioAmp Shield](/docs/Experiments/EMG%20Experiments/BisCute%20Visualize%20EMG/Record,%20Visualize%20&%20Listen%20to%20Muscle%20Signals%20Using%20Muscle%20BioAmp%20Shield.md)


<iframe width="100%" height="444" src="https://www.youtube.com/embed/kgvK51UIXdo?feature=oembed&autoplay=0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

5. [Controlling Servo Claw With Muscle Signals Using Muscle BioAmp Shield](/docs/Experiments/EMG%20Experiments/Controlling%20Servo%20Claw%20With%20Muscle%20Signals%20Using%20Muscle%20BioAmp%20Shield/Controlling%20Servo%20Claw%20With%20Muscle%20Signals%20Using%20Muscle%20BioAmp%20Shield.md)


<iframe width="100%" height="444" src="https://www.youtube.com/embed/kgvK51UIXdo?feature=oembed&autoplay=0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
10 changes: 8 additions & 2 deletions docs/BioAmp-Hardware/MuscleBioAmpCandy.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,11 @@ CAUTION: Make sure to follow the above diagram while making the connections betw

## Some project ideas

We have curated a playlist for you which consists some awesome project ideas for you to get started with your next HCI project.
<iframe width="100%" height="444" src="https://www.youtube.com/embed/videoseries?list=PLtkEloJ7UnkQIoz1HK4IXWujCB8hKdiKU" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
1. We have curated a playlist for you which consists some awesome project ideas for you to get started with your next HCI project.
<iframe width="100%" height="444" src="https://www.youtube.com/embed/videoseries?list=PLtkEloJ7UnkQIoz1HK4IXWujCB8hKdiKU" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

2. [Measuring Muscle Signals Using Candy Size Muscle Sensor (EMG)](/docs/Experiments/EMG%20Experiments/BisCute%20Visualize%20EMG/Candy_Visualize%20EMG.md)


<iframe width="100%" height="444" src="https://www.youtube.com/embed/lPX2TGBcHOA?feature=oembed&autoplay=0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

10 changes: 9 additions & 1 deletion docs/BioAmp-Hardware/MuscleBioAmpPatchy.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,12 @@ For the connections and electrode placements, you can follow the diagram given b

After snapping the Patchy onto gel electrodes(placed on our targeted muscle), you can connect your patchy to the arduino via jumper cables, arduino to your battery operated laptop, and start recording your EMG easily. Follow the steps shown in the video below for the demonstration.

[![Muscle BioAmp Patchy](img/Muscle%20BioAmp%20Patchy/patchy_demo_thumbnail.jpg)](https://www.youtube.com/watch?v=4dnCX3U7LS8&)
[![Muscle BioAmp Patchy](img/Muscle%20BioAmp%20Patchy/patchy_demo_thumbnail.jpg)](https://www.youtube.com/watch?v=4dnCX3U7LS8&)


## Some project ideas

1. [Recording and Visualizing Muscle Signals (EMG) Using Muscle BioAmp Patchy (wearable Muscle Sensor)](/docs/Experiments/EMG%20Experiments/BisCute%20Visualize%20EMG/EMGExperiment1.md)


<iframe width="100%" height="444" src="https://www.youtube.com/embed/4dnCX3U7LS8?feature=oembed&autoplay=0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
# Detecting Heart Beats Using BioAmp EXG Pill


![dodge gif](./ECGimg2/Thumbnail.jpg)

In this project we will be recording Heart Beats using BioAmp EXG Pill.

## What is Electrocardiography (ECG)?

Electrocardiography is the measurement of electrical activity in the heart.

## What is a heartbeat?

Heartbeat is the contraction of your heart to pump blood to your lungs and the rest of your body. Your heart's electrical system determines how fast your heart beats.

### About BioAmp EXG Pill:

BioAmp EXG Pill is one of a kind pill-size chip that can record publication-grade biopotential signals from your body be it from the heart (ECG), brain (EEG), eyes (EOG), and muscles (EMG).

The entire BioAmp series of sensors from Upside Down Labs is designed in a way to teach you the basics of the instrumentation amplifier, active bandpass filtering, soldering, programming, neuroscience, HCI, and BCI just to name a few concepts.

## Supplies
### HARDWARE:

1 x BioAmp EXG Pill (with JST PH 2.0 connector and a header pin)

1 x BioAmp Cable

3 x Gel Electrodes

3 x Jumper Cables

1 x Arduino Uno / Maker Uno with USB Cable (You can also use any other microcontroller board with an ADC)

1 x Nuprep Skin Preparation Gel

1 x Wet wipe

1 x Heart BioAmp Band (optional)

1 x Electrode Gel (only if using Heart BioAmp Band)

### SOFTWARE:

Arduino IDE


***Note:*** You can either get DIY Neuroscience Kit Basic or BioAmp EXG Pill Packs by clicking the links below:



DIY Neuroscience Kit Basic ([Upside Down Labs Store](https://store.upsidedownlabs.tech/product/diy-neuroscience-kit-basic/) |
[Tindie Store](https://www.tindie.com/products/upsidedownlabs/diy-neuroscience-kit-basic/) | [Amazon Store](https://www.amazon.in/dp/B0CBMTHLDJ?ref_=cm_sw_r_cp_ud_dp_E2A1CNJXN6ACZ4THA5ZQ))

BioAmp EXG Pill Pack ([Upside Down Labs Store](https://store.upsidedownlabs.tech/product/bioamp-exg-pill/) | [Tindie Store](https://www.tindie.com/products/upsidedownlabs/bioamp-exg-pill-sensor-for-ecg-emg-eog-or-eeg/) )

BioAmp EXG Pill - EXG Explorer Pack ([Upside Down Labs Store](https://store.upsidedownlabs.tech/product/bioamp-exg-pill/) |
[Tindie Store](https://www.tindie.com/products/upsidedownlabs/bioamp-exg-pill-x2-sensor-for-ecg-emg-eog-eeg/) | [Amazon Store](https://www.amazon.in/dp/B0B29CCPQB?ref_=cm_sw_r_cp_ud_dp_4D6ZTBD5RRASS5QM6HK1&th=1))

## Step 1: Assembly

![](./ECGimg2/Assembly.jpg)

The BioAmp EXG Pill comes presoldered with DIY Neuroscience Kit Basic but in case you are getting BioAmp EXG Pill seperately then you will have to assemble it for this project by soldering the header pins and JST PH 2.0 connector as shown in the diagram.

## Step 2: Configuration for ECG

![](./ECGimg2/Solder%20Joint.jpg)

BioAmp EXG Pill is by default configured for recording EEG or EOG 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 3: Connecting Electrode Cable

![dodge gif](./ECGimg2/Connecting%20Electrode%20Cable.gif)

Connect the BioAmp Cable to BioAmp EXG Pill. We have different variants of the BioAmp Cable so don't go with the color coding and focus on the REF, IN+ and IN- written on the BioAmp EXG Pill.

## Step 4: Skin Preparation


![dodge gif](./ECGimg2/Skin%20Preparation.gif)

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 a wet wipe.

### About Nuprep Gel:

Nuprep skin preparation gel is a mildly abrasive, highly conductive gel that should be applied before placing the electrodes on the skin to improve measurements. When applied gently, it strips away the top layer of skin and moistens the underlying skin layer which reduces the skin impedance with minimal skin irritation and discomfort.

## Step 5: Electrode Placements


![dodge gif](./ECGimg2/Using%20Gel%20Electrodes.gif)

![dodge gif](./ECGimg2/Using%20ECG%20Band.gif)


So now we have 2 options to measure the ECG signals, either using the gel electrodes or using dry electrode based ECG band. You can try both of them one by one.

### Option 1 - Measuring ECG using Gel electrodes:

1. Connect the BioAmp Cable to gel electrodes,
2. Peel the plastic backing from electrodes
3. Place the IN- cable on the left side, IN+ in the middle and REF (reference) on the far right side as shown above.


### Option 2 - Measuring ECG using Heart BioAmp Band, a dry electrode based ECG band:

1. Place the IN- cable on the left side, IN+ in the middle and REF (reference) on the far right side as shown above.
2. Now put a small drop of electrode gel on the dry electrodes between the skin and metallic part of BioAmp Cable to get the best results.


## Step 6: Connections

![](ECGimg2/Connections%20with%20Maker%20Uno.jpg)


Connect BioAmp EXG Pill to Maker Uno using the jumper cables as directed below:

- VCC to 5V
- GND to GND
- OUT to A0

***Note:*** BE VERY CAREFUL and follow the above diagram while making the connections between your BioAmp EXG Pill & Maker Uno, especially the GND and VCC else it may damage the sensor.

We specifically chose Maker Uno for this experinment as it is Arduino compatible board but has onboard LEDs and a buzzer.

You can also use Arduino Uno or any other development board with an ADC but in that case the buzzer should be seperately connected to the board.

## Step 7: Download Arduino IDE
Download the Arduino IDE from the link given below:

https://www.arduino.cc/en/software

(We have used Arduino IDE version 1.8.19 for this project)

After downloading, connect the Maker Uno to your laptop using the USB Cable (Type A to Type B)

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


## Step 8: Coding Time!
Copy paste the Arduino Sketch given below in Arduino IDE.

HeartBeat Detection: https://github.com/upsidedownlabs/BioAmp-EXG-Pill/blob/main/software/HeartBeatDetection/HeartBeatDetection.ino

After flashing the code, open the serial plotter to visualize the ECG signals.

## Step 9: Enjoy

<iframe width="100%" height="444" src="https://www.youtube.com/embed/uB5R-vGJjJo?feature=oembed&autoplay=0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

The project is complete!!

Now you will be able to detect the heart beats on the serial plotter of Arduino IDE, LED of Maker Uno and the buzzer as shown in the video above.

Let us know your feedback in the comments and feel free to ask any questions.

You can also mail us at support@upsidedownlabs.tech for any kind of support while you are making this project.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 0 additions & 5 deletions docs/Experiments/ECG Experiments/ECGExperiments.md

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 074c955

Please sign in to comment.