We don’t see many EMG (electromyography) projects, despite how cool the applications can be. This may be because of technical difficulties with seeing the tiny muscular electrical signals amongst the noise, it could be the difficulty of interpreting any signal you do find. Regardless, [hut] has been striving forwards with a stream of prototypes, culminating in the aptly named ‘Prototype 8’
The current prototype uses a main power board hosting an Arduino Nano 33 BLE Sense, as well as a boost converter to pump up the AAA battery to provide 5 volts for the Arduino and a selection of connected EMG amplifier units. The EMG sensor is based around the INA128 instrumentation amplifier, in a pretty straightforward configuration. The EMG samples along with data from the IMU on the Nano 33 BLE Sense, are passed along to a connected PC via Bluetooth, running the PsyLink software stack. This is based on Python, using the BLE-GATT library for BT comms, PynPut handing the PC input devices (to emit keyboard and mouse events) and tensorflow for the machine learning side of things. The idea is to use machine learning from the EMG data to associate with a specific user interface event (such as a keypress) and with a little training, be able to play games on the PC with just hand/arm gestures. IMU data are used to augment this, but in this demo, that’s not totally clear.
All hardware and software can be found on the project codeberg page, which did make us double-take as to why GnuRadio was being used, but thinking about it, it’s really good for signal processing and visualization. What a good idea!
Obviously there are many other use cases for such a EMG controlled input device, but who doesn’t want to play Mario Kart, you know, for science?
When you want to measure temperature with an Arduino or other microcontrollers, there are a ton of options for sensors. Temperature chips and sensor modules abound, some with humidity sensors built-in and all with easy interfacing and an expansive supporting code library. But dip one of those sensors into, say, molten aluminum, and you’ve got a problem.
If you’re measuring something hot, you need a thermocouple. Trouble is, the signal from a thermocouple is pretty small, and needs amplification and compensation before being fed into the ADC of a typical microcontroller. Unable to find a commercial amp to meet his needs, [MonkHelios] built his own thermocouple amp for microcontrollers. The design is centered around an LTC2053 instrumentation amp, which does the job of converting the K-type thermocouple’s 40.6μV/°C output to a nicely scaled 10mV/°C range, just right for ADC consumption. He also thoughtfully included an LT1025 cold-junction compensator; thermocouple amps are referenced to 0°C, so the compensator measures the actual temperature of the cold end of the junction and scales the output accordingly. The whole amp is nicely laid out on a DIY single-sided PCB with meticulously applied solder mask — this is one of the nicest home-etched boards we’ve seen in a long time.
The human body has a lot to tell us if we only have the instruments to listen. Unfortunately, most of the diagnostic gear used by practitioners is pricey stuff that’s out of range if you just want to take a casual look under the hood. For that task, this full-featured biomedical sensor suite might come in handy.
More of an enabling platform than a complete project, [Orlando Hoilett]’s shield design incorporates a lot of the sensors we’ve seen before. The two main modalities are photoplethysmography, which uses the MAX30101 to sense changes in blood volume and oxygen saturation by differential absorption and reflection of light, and biopotential measurements using an instrumentation amplifier built around an AD8227 to provide all the “electro-whatever-grams” you could need: electrocardiogram, electromyogram, and even an electrooculogram to record eye movements. [Orlando] has even thrown on temperature and light sensors for environmental monitoring.
[Orlando] is quick to point out that this is an educational project and not a medical instrument, and that it should only ever be used completely untethered from mains — battery power and Bluetooth only, please. Want to know why? Check out the shocking truth about transformerless power supplies.
We don’t think of the human body as a piece of electronics, but a surprising amount of our bodies work on electricity. The heart is certainly one of these. When you think about it, it is pretty amazing. A pump the size of your fist that has an expected service life of nearly 100 years.
All that electrical activity is something you can monitor and–if you know what to look for–irregular patterns can tell you if everything is OK in there. [Ohoilett] is a graduate student in the biomedical field and he shares some simple circuits for reading electrocardiogram (ECG) data. You can see a video fo the results, below.
Sooner or later, we’ve all got to deal with torque measurement. Most of us will never need to go beyond the satisfying click of a micrometer-style torque wrench or the grating buzz of a cordless drill-driver as the clutch releases. But at some point you may actually need to measure torque, in which case this guide to torque sensors might be just the thing.
[Taylor Schweizer]’s four-part series on torque is pretty comprehensive. The link above is to the actual build of his DIY torque transducer, but the preceding three installments are well worth the read too. [Taylor] describes himself as an e-waste connoisseur and tantalizes us with the possibility that his build will be with salvaged parts, but in the end a $20 bag of strain gauges and an LM358 were the quickest way to his proof of concept. The strain gauges were super-glued to a socket extension, hot glue was liberally applied for insulation and strain relief, and the whole thing wired up to a Teensy for data capture. A quick script and dump of the data to Excel and you’ve got a way to visualize torque.
An LCD display for real-time measurements is in the works, as are improvements to the instrumentation amp – for which [Taylor] might want to refer to [Bil Herd]’s or [Brandon Dunson]’s recent posts on the subject.
Measuring the body’s electrical signals is a neat trick… if you can get your equipment dialed in enough to establish dependable measurements. The technique is called Surface ElectroMyography (SEMG) though you’ll hear many call this ECG. They’re essentially the same technology; the Electro CardioGraph instruments monitor the activity of the heart while SEMG Instruments monitor electrical signals used to control other muscles. Both types of hardware amount to an instrumentation type amplifier and some form of I/O or display.
This topic has been in my back pocket for many months now. Back in May we Hackaday’ites descended on New York City for the Disrupt NY Hackathon event. We arrived a day or so early so that we might better peruse the Korean BBQ joints and check out the other electronics that NY has to offer. On Saturday we gathered around, each shouting out the size of his or her t-shirt preference as we covered up our black Hackaday logo tees with maroon maroon ones (sporting the Hackaday logo of course) for a 24-hour craze of hardware hacking.
There were two individuals at our tables who were both hacking away on hardware to measure the electrical field produced by the body’s muscles in some form or another. The electrical signals measured from the skin are small, and need careful consideration to measure the signal despite the noise. This is a fun experiment that lets you work with both Instrumentation Amplifiers and OpAmps to achieve a usable signal from the movement of your body.