Hi - I am creating an escape room for my daughter's after-prom party. I am looking to create a simulated minefield that the kids have to traverse. I bought some velostat and wires and have seen a number of basic videos online but am stuck wondering how I can connect, say, a dozen of these to an arduino such that stepping on any one of them will set off an alarm. I am new to this, so any pointers to code, schematics, etc. would be very helpful.
Oh, yeah - after prom is this Saturday (4/28) - hey, I had my hands full making the laser tripwire!
DrDiettrich: I am making the sensors myself using velostat and wire and connecting them to the Arduino.
Blh64: Thanks - it seems like creating the sensors isn't too difficult (?) - just exposing two wires connected to the velostat that completes the circuit when pressure is applied. I guess I'll find out if that is a foolish assertion tonight or tomorrow.
INTP: I want to hook them all up to the same Arduino such that if any of them gets stepped on, the alarm sounds.
And here's where I embarrass myself by asking how to actually do that "parallel wiring w/ 10k resistor" config with Arduino - connect them up to a breadboard? (I'm really new to this stuff.)
Also, practically speaking, that means much more wire on the floor... is wiring in series that much more difficult? If I create a 5 x 8 grid and connect each pressure sensor (two wires attached to aluminum foil separated by velostat) along the path using the wires, will that work? What issues will I have?
PeteLind45:
...two wires attached to aluminum foil separated by velostat...
is not an on/off switch. It's a variable resistor whose resistance varies with pressure.
To make a momentary contact switch, see the "button" instructions in the PDF in post #2 (BTW, it doesn't involve Velostat).
That's not to say that Velostat couldn't be used as proposed, but if you go that route, you would have to consider the sensor resistances, how much one changes with pressure, determine the other voltage divider resistor value, and what analogRead() level to trigger on.