Instructables
loading
loading

DIY Muscle Sensor / EMG Circuit for a Microcontroller

Featured
Picture of DIY Muscle Sensor / EMG Circuit for a Microcontroller
Measuring muscle activation via electric potential, referred to as electromyography (EMG) , has traditionally been used for medical research and diagnosis of neuromuscular disorders. However, with the advent of ever shrinking yet more powerful microcontrollers and integrated circuits, EMG circuits and sensors have found their way into prosthetics, robotics and other control systems. Yet, EMG systems remain expensive and mostly outside the grasp of modern hobbyist.

This instructable will teach you how to make your own muscle sensor / EMG circuit to incorporate into your next project. Use it to control video games, robot arms, exoskeletons, etc.

Click on the video below for a demonstrations on how to hook up and use your EMG circuit board!

You can now also purchase  EMG sensors, kits, cables and electrodes at www.AdvancerTechnologies.com!
Muscle Sensor Kit (now also on SparkFun)
Muscle Sensor Electrodes

Note: This sensor is not intended for use in the diagnosis of disease or other conditions, or in the cure, mitigation treatment, or prevention of disease, in a man or other animals.

About Advancer Technologies 
Advancer Technologies is a company devoted to developing innovative game-changing biomedical and biomechanical technologies and applied sciences. Additionally, Advancer Technologies promotes all forms of interest and learning into biomedical technologies. To help culture and educate future great minds and concepts in the field, they frequently post informative instructions on some of their technologies. For more information, please visit www.AdvancerTechnologies.com .

 
Remove these adsRemove these ads by Signing Up
1-40 of 268Next »
RománV13 months ago

what programs and code for arduino you used for the data acquisition and the visual representation of the emg signals?, thanks for your time and for your project (:

Gundanium (author)  RománV13 months ago
Hi The sample code can be found on our website: http://www.advancertechnologies.com/p/muscle-sensor-v3.html

DIY Muscle Sensor / EMG Circuit fohi, may we connect servo motor on the breadboard or Arduino to control them with the EMG system,thanks in advance

galaxyc18 days ago

hello and good day. im working on my fyp which is related to the hand gesture in controlling home appliance. by using the coding given, i am actually stuck and confused to what actually this sensor will displayed. i dont know if im on right track or not. as there is no further explanation on it. and how i can drive a dc motor from the muscle signal output by using arduino uno. please help me and thank u if u can help me..T_T

What's a good alternative to the TL072 and INA106? I think they don't sell them here.

can u tell me the output voltage of this diy muscle sensor on pin 1 of chip D and ground and another question is can i use the schmitt trigger on the input of ardunio.

Hi,

I am doing a project on Measurement of ECG signals using
Textile electrode.

I have some doubts. I request you to help me.


  • I have two textile conductive fabric electrodes E1 & E2 (+/-)
    which can be placed in chest. Is it required to use electrode E3?
  • What type of electrode can be used for ground
    (E3)?... Conductive fabric?
  • Do I have to excite the electrode?

Please reply me as early as possible.

Kindly give me some materials on Textile electrodes
measurement and its signal conditioning circuits. (Email ID: aashajoe@gmail.com)

I am waiting for your reply sir.

I have a question about the basic materials required.

I don't see the Arduino or Breadboard listed in the materials.

What boards do I need to accomplish this project if I order everything in the materials list?

This is my first time working with electronics on this level. Thank you.

Hi, Actually i m making a battery plates tester, in which i pass 21Amp and 5V dc across the the plate, and the voltage drop across the plate is 0.3mv to 0.4mv , if drop is 0.3mv it is satisfactory, and if it is 0.4vm that is not satisfactory,

i m using instrumentation amplifier, ad620, to detect the small signal and amplify it to certain voltage, then i compare the two voltages by using comparator is lm324, but the problem is that it produces chattering in relay operation , i have added hyterisis but it still produces chattering

kindly help me

actually there are two wires in the EMG electrode cable.how can we connect to the circuit?

2015-02-07 17.48.47.jpg

Actually there are two wires in EMG electrode cable(red and white).how can we connect to the circuit?

2015-02-07 17.48.47.jpg

Hi, Gundanium. Im trying to build the sensor and was curious about what are the improvements I should make tô the project tô add two more channels? Should I double the circuit os there are other alternatives? Im no eng, but a biophysicist and enthusiast of tech and electronics. Thank you

Gundanium (author)  fernando.limoeiro1 month ago
You basically would need to duplicate the circuit 2 more times to add 2 more channels. There are technical obstacles that will prevent you from using more elegant solutions like muxing.
J_Aparecido8 months ago

Hello,

I managed to assemble this project is operating normally ... like a hint, how can I increase the sensitivity of the circuit? For example, if I want to monitor variations in electrical potential without even having muscle contractions, or in a state of relaxation or strees would be an example.

I tried to increase or decrease the gain resistor between pins 5 and 6, but to no avail, however lost sensitivity.

I'm starting in the area of electronics, if someone give some hint where I can find information on, I thank you.

And sorry, my english is not very good, I am "writing" with the help of a translator ...

Thank you,

Gundanium (author)  J_Aparecido4 months ago
Youd probably be best using the raw emg waveform rather than the envelope. Just use an instrumentation amplifier like the first stage of this circuit. Remove DC offset from its ouput with a high pass filter and then amplifier with as much gain as you need to get the sensitivity youre looking for.

Hello,

Thanks for the feedback, for a while I was not looking at the messages here. Thanks for the tip, I've done other attempts, I obtained some success, but not as expected ... I'll try this way.

thank you very much

anka-mehmet1 month ago

hi, can we connect servo motor on the breadboard or Arduino to control them with the EMG system, and if so where connected. thank you very much.

建宏賴1 month ago

Oh! I made one by MSP430 four years ago in Taiwan, the instrument amplifier I adopted is AD620, plus band pass filter from 60~1.0kHz to get signals. You can read the paper in Taichung Chin-E Univ. of technology.

The other signals like ECG, body temperature...etc. Did you ever tried?

photo.png
sunny.bhuyan22 months ago

My project is about Headache measurement using EMG sensors. How could I get the EMG sensor electrodes that can collect the pulses in about 200mV.

husnalebiu2 months ago

hye Gundanium, my final year project is about wireless EMG for nominal switching controller. I want to control the on-off switching for lamp or bulb for 240V. from what I have proposed, my project concept is build an EMG circuit with a tranceiver and build one circuit with a transceiver as switch for my 240V bulb. The EMG circuit will be controlled the switch to on or off the bulb.So do I need isolation circuit in my EMG circuit? may you give me some idea about my proposed project.

Gundanium (author)  husnalebiu2 months ago
Yeah you will probably want isolation between the power source and the EMG circuit and between the EMG output and whatever connects to the bulb controller.
husnalebiu2 months ago

hye Gundanium, my final year project is about wireless EMG for nominal switching controller. I want to control the on-off switching for lamp or bulb for 240V. from what I have proposed, my project concept is build an EMG circuit with a tranceiver and build one circuit with a transceiver as switch for my 240V bulb. The EMG circuit will be controlled the switch to on or off the bulb.So do I need isolation circuit in my EMG circuit? may you give me some idea about my proposed project.

OppaC2 months ago

Hello! May I ask if I can also use this circuit for other applications, such as ECG?

Gundanium (author)  OppaC2 months ago
No. ECG waveform has a vastly different shape and requires different filtering. You could potentially use it as a crude heart rate sensor.
ReyhanS2 months ago

We used Arduino but we couldn't visualize it. Which program have you used for processing for Arduino? We used Firmata but we couldn't understand how to use both codes together. Can you please tell us how to make it step by step? Thanks for your consideration.

Gundanium (author)  ReyhanS2 months ago
Here's the Arduino and Processing code

https://github.com/AdvancerTechnologies/Muscle-Sensor-v3/tree/master/Example%20Code/BarGraph
Gundanium (author)  ReyhanS2 months ago
It's called Processing https://processing.org/

There's sample code on our product page: http://www.advancertechnologies.com/p/muscle-sensor-v3.html
ReyhanS3 months ago

How can you connect the circuit to computer and which program are you using for monitorizing output signals? Also can we get the signals from oscilloscope?

Gundanium (author)  ReyhanS3 months ago
The circuit outputs an analog signal so you need either an analog-to-digital converter or a microcontroller to convert it to a digital signal the computer can understand. I usually do with with an Arduino MCU. I'm using an Arduino sketch to send the sensor data over serial and Processing to take that data and visualize it. You can find the code on our website or on our GitHub repository.

As for an o-scope, the signal is analog so you can view it with an o-scope.
umranyaman063 months ago

i couln't find INA106 can u suggest another IC instead of that?

umranyaman063 months ago

i couln't find INA106 can u suggest another IC instead of that?

hai am bhavana, the project is very good , building our own EMG circuit for many applications, iam thinking to use this in my project, but my question is where can i get the software or program to be installed into arduino. please help in this regard
thank u
Gundanium (author)  chepuri bhavana3 months ago

http://www.advancertechnologies.com/p/muscle-sensor-v3.html

Gundanium (author)  chepuri bhavana3 months ago

It can be found on our website http://www.advancertechnologies.com/p/muscle-sensor-v3.html

Can u help me with connecting arduino to the computer and logging the data? Or share your code with me. My email id is abrahimshah99@gmail.com

Sudhir Sonkar4 months ago

Any alternate ic for ina106.

Gundanium (author)  Sudhir Sonkar3 months ago

I don't know of any that can simply swapped out. However, there are other ICs that are suitable for the first stage of the circuit. For instance, AD620 or the AD822* family of ICs (e.g. AD8226, AD8221). Our latest sensor uses the AD8226: http://www.advancertechnologies.com/p/muscle-sensor-v3.html

Can i use this sensor more than one time ?

Gundanium (author)  ahmed.yousif.96153 months ago

Yes. Why wouldn't you?

zohaib Shabir3 months ago

i am using proteus software and i do not have ina106 in my library .plz guide me what should i do. 2nd thing plz send me clear areas and schematic of DIY muscle sensor at zohaibshabir786@gmail.com

because it is not clear on website

Waiting for a kind response.

Regards

1-40 of 268Next »