I would like to measure muscle tension with a sensor. When I'm sleeping sometimes a shoulder muscle cramps and I would like to make something (for example with an Arduino board) to wake me up. The problem is to measure the muscle tension.
A EMG sensor uses three pads. The Myoware EMG board can be used for DIY projects. I have not tried it yet. I think it is not easy to attach it every evening and I don't known where to attach the three pads to select a specific shoulder muscle. But so far this is the only thing that comes close.
[ADDED] I wonder what happens if I attach the pads to a muscle that has already a high tension. Would the EMG be able to measure the absolute tension ?
A ultrasonic liquid density sensor is big, they can not stay attached while sleeping. It could also be a safety risk. Perhaps the ultrasonic could harm tissue and blood cells.
The best way to measure muscle tension is to pinch or press it. Perhaps something small that mechanically pushes into the muscle and measures the strength could work. I have no idea how to make this.
With dry needling, a relaxed muscle does not react, but with a muscle that cramps or has a high tension, then the muscle reacts a lot. However, I can't push needles into my body while sleeping, that would be silly.
If you know a way to measure muscle tension in a practical way, please let me know.
A similar question was asked in the Health section as well: How can I quantify muscle tightness?
[Update] First tests with a EMG sensor.
I have been testing a EMG sensor. The Myoware 4th generation EMG sensor is easy to use for DIY project. To prevent grounding or noise, I used a battery and it is not connected to the computer.
Sadly, it is not near to what I want.
With my fingers I can feel how much tension a (shoulder)muscle has, when I move my back/head/shoulder a little I can feel what is going on. The EMG sensor is more like a lie detector. It detects the tension of a muscle, but that is mostly relative tension and it depends a lot on where the pads are located an how well they are attached. When I use it the next day, I want the same tension to result into the same numbers. That is not possible.