I’m planning a target board for throwing a ball against a wall. My first approach was to use piezo elements to detect the hits. My second approach is using velostat sheets to detect pressure from the ball. This second approach got me to this idea, probably nothing new, but anyhow, I couldn’t quite find anything similar on this forum.
A stripe of velostat can detect pressure. Used together with a resistor, it can act as a voltage divider:
Pressing the velostat stripe will cause the voltage at A0 to drop. Then I thought of replacing the resistor with another stripe of velostat:
Pressing the other stripe will cause the voltage at A0 to rise. Sure one can add more strips to the same analog input A0, but since we’re talking about velostat sensors, there will be problems with accuracy. But as far as we have only two stripes per analog input, we should be ok. At startup, the value at A0 could be read and saved. Then, when in action, one would only have to care of voltage raise or voltage drop. It’s almost as accurate as digital input.
Pressing on both stripes at the same time will cause the resistant to drop in each stripe, which will cause the voltage at A0 to… well… be unstable and unreliable. And in a worst case the total resistance will drop and cause a near shortcut between the 5V and ground. If there’s a risk for this, an additional resistor should be placed there. Each stripe would be a ring. With 6 analog inputs, one could have 12 rings.
So the next thing would be to arrange the stripes in a target board pattern. Since 2 rings share the same analog input, each pair should be as far from each other as possible, so a ball hit would never trigger both rings in a pair. Like this:
Here I have 6 pieces of velostat, which would need three analog inputs.