View Full Version : Vending machine: Temp/fan and tilt vibration

02-20-2008, 08:46 AM
I have a snack machine and am really getting tired of people shaking the thing. Its got to the point I had to put up a vandal proof camera and record the thing, but they STILL do it! I'd rather refund their money back double than them damage my machine.
Using Phidgets:
I was wondering if I could use a small x86 thin client I have to make an tilt or vibration - alarm. ideally I'd want this:
a) detect tilt or vibration to the machine beyond a certain amount
b) log it
c) set off a audible alarm (OR sound file from computer!!!! LOL) with relay for so many seconds
d) optional- use a solenoid to lock vendbay shut until alarm resets

Could I buy a 8/8/8 and a couple of 2 relay boards and a vibration sensor (would that work in this application if I mount it on standoffs to the chassis or would I need the usb accelerometer?).

Two ways I can see to do all this:
usb accelerometer - $72
usb 4 relay board - $58

2) analog -
8/8/8 - $77.60
dual relay - $18.43
Vibration sensor x2 - $21.34

Analog would be harder to setup but would be more flexible in the future allowing me to add temp sensors or other analog/digital sensors.

What do you think?

or could I use a mercury tilt switch with a 0/16/16 with relays??

02-20-2008, 11:45 AM
An 8/8/8 with a vibration sensor would probably do the trick, but the accelerometer would be more precise.

I would also recommend mounting a paintball gun on top of the machine to tag anyone who shakes it.

02-20-2008, 02:08 PM
An R2D2 taser would definitely be the best solution. The change slot could open up, and then BZZZT!

02-20-2008, 02:28 PM
I was thinking of getting the lowest amp per shock electric fence and hooking that to the chassis!

04-07-2009, 05:58 PM
You might be able to sell a product like that to other vending machine operators.

04-08-2009, 12:12 PM
2) analog -
8/8/8 - $77.60
dual relay - $18.43
Vibration sensor x2 - $21.34

would be cool because in the future you could hook up distance sensor and record if an item dropped while it was being shaked and all sorts of fun stuff.