Sensing Squeeze using Arduino

I’m researching squeeze sensing as a mode of tactile interface. Here I will cover the process of developing a squeezeable sensor and the firmware/software concerns associated with interpreting the data from the sensor. This fulfills the “sensor project” for my class called Computational Principles in Media Arts taught in AME at ASU by Todd Ingalls and Hari Sundaram.

Arduino Sensing Squeeze

First off, how do we sense “squeeze?” People squeeze all kinds of things: lemons, steering wheels, loved ones, toothpaste and other toiletries, pimples, stress balls, hand exercisers. I would like to focus on the latter two, which provide a therapeutic activity for those with Repetitive Strain Injury (RSI). Using flex sensors arranged in a certain pattern on a spherical object, in this case a rubber dog toy, one can capture whenever the ball is squeezed. Here’s a sketch of the sensor layout:

There are three types of interactions I wish to sense with this setup. The first is how hard the user is squeezing. The second is whether or not that squeeze is sustained. The third is if the user is squeezing and releasing the sensor. With these three pieces of information, I believe it’s possible to create a software exercise program to prevent RSI symptoms by strengthening hand muscles.

In regards to sampling rate, I am inputting this data via analog-digital conversion using an Arduino board (Atmega168). My firmware samples the state of the each sensor ten times every second and delivers it via serial to the computer. The sampling rate has to be high enough to sense quick changes in the state of the sensor, such as quick squeezing and releasing, but not too fast as to overload the serial port receiving the data.

Arduino Sensing Squeeze schematic

In the imagined scenario of an anti-RSI exercise software application, the routine would guide you through a program of motions and evaluate them in real time. For instance, a command might be given to say “squeeze the ball as hard as you can for 10 seconds,” then start timing when you start squeezing, showing you on screen how many seconds you had left to squeeze. In another exercise, you could be instructed to “squeeze and release the ball 20 times.” The software would then count how many discreet squeezes were performed and allow you to complete the routine when all 20 squeezes had been counted.

[box color=”#985D00″ bg=”#FFF8CB” font=”verdana” fontsize=”14 ” radius=”20 ” border=”#985D12″ float=”right” head=”Major Components in Project” headbg=”#FFEB70″ headcolor=”#985D00″]Arduino[/box]

For more detail: Sensing Squeeze using Arduino

About The Author

Scroll to Top
Read previous post:
Exar’s USB serial bridge devices
Exar’s USB serial bridge devices

Exar has announced a new family of USB to serial bridge devices for industrial applications. The XR21B142x family interfaces with...