The MyoWare EMG sensor measures electromyography (EMG) signals from muscles by detecting electrical activity generated during muscle contractions, producing an analog voltage output (0-5V) that can be read by an Arduino microcontroller and mapped to control devices like servos; proper electrode placement is critical for reliable readings, and safety precautions such as disconnecting from mains power are essential when working with biometric sensors.
Arduino MyoWare EMG: Muscle Biomechanics With Arduino Tutorial
Added:electromyography is typically reserved to really expensive biomedical devices but believe it or not you can do it with an Arduino - and this handy little breakout board from advanced er technologies and this is called the Maya where and you can see I've soldered a few header pins on here already for another project but today we're gonna just test it out and look at what the analog voltages are coming out of here and you can imagine if you can get an analog voltage from 0 to 5 volts you could map that to say a servo to turn from 0 to 180 degrees and create your own robotic arm or really anything you want remember Arduino is about gathering input data and then sending data out and this is a great way of getting EMG or the electoral signal from your muscles from your body into the Arduino now I'll have to admit I cheated a little bit you should read the datasheet and really understand how this works because placement is absolutely critical and what I like to do is I take the sensor and I put it on my arm and without kind of touching it I test and run a few tests till I find the perfect spot I happen to find that there's a muscle right here and the mids the mid muscle sensor sits perfectly on my arm in this location and the ground over here can sit right here on my arm and I've been getting really good results I will warn you though before you try something like this think about electricity and how it flows I'm gonna be trying this with my computer do I really want my laptop plugged in to mains power and have my arm connected electrically to the Arduino probably not a good idea certainly not for anything commercial or for anyone to try for testing purposes I don't see a huge problem from for me to unplug my laptop now is wow that was quite a crash and once my laptop's unplugged I feel a lot safer in using this for prototyping again read the manufacturer's data sheets because you can also run this off of a 9-volt battery and wire it differently so that you are completely disconnected for this video I want to show you the serial output so I want to connect to my computer again please read that safety instruction because this is really important you know you do not want to get hurt and certainly this is not how you would use it in a commercial application it's not being said if you go to the mile where website you can download the code I have some sample code that I've already downloaded and open it up and Arduinos loading up my Arduino is plugged in so before we wire it up I'm going to unplug my Arduino I look at the code here it's communicating at 9600 baud and we're reading analog zero it's really just a analog read so what I'm going to do is connect this up I'm going to use this brown wire for negative read for positive and signal orange and now I'll go ahead and connect that up to my Arduino and I will do read into 5 volts Brown into ground and analog zero with the orange wire now one other little bit of information it is much easier if you connect these electrodes to this first and then place it on your skin but because I'm shooting a video I decided to do it this way the problem with it this way is I got a push pretty hard to get these to snap on not fun but after a little bit of pushing and prodding you'll get it connected and then I also have this third lead and connecting up here on my arm now again laptops not plugged in I'll plug this in make sure my board and port are read there we go and I'll upload it done uploading and I'm going to open up the serial monitor and you can see I'm reading basically zero volts and what's interesting with this is as I flex I can increase that voltage quite a bit I'm getting up to about one I'll tell you I would probably tweak this a little more to get a little bit of a better voltage out of here I'm getting about one probably need to move this I actually think I can move it a little bit right here and we're starting to see more voltage as I flex my arm and there we go we're getting good four three four volts out of that sensor and that's basically how you would read the electrical energy that's in your muscles creating your own EMG with Arduino but again remember safety first especially when you're connecting yourself to your Arduino
Up Next

Gear Torque and Speed Relationships | Motor Winch Geartrain Problem
@TheBomPE
96.1K views•2018-03-31

Decarbonizing Shipping: New Marine Technologies Explained
@business
138.8K views•2024-11-08

Polymer Environmental Degradation: Mechanisms & Stabilization
@iit
1.8K views•2012-07-10

The Advanced Engineering Behind ASML's EUV Lithography Machines
@veritasium
18.2M views•2025-12-31
Related Study Plans & Knowledge Roadmaps
Structured learning paths in Engineering


















![GRUA con ARDUINO || PROYECTO con servomotores || Para principiantes [Explicado paso a paso]](https://i.ytimg.com/vi_webp/B2lwaLmHDEI/maxresdefault.webp)





![FREEEMG | Surface EMG fundamentals [Lesson 2]](https://i.ytimg.com/vi_webp/G8zmitq8DLQ/maxresdefault.webp)














