SparkFun Forums 

Where electronics enthusiasts find answers.

General project discussion / help
Did you make a robotic coffee pot which implements HTCPCP and decafs unauthorized users? Show it off here!
By yamitenshi
It all depends on the sensors you use. But no, this is definitely not right.

You're not supplying your uC with power, and the two signal lines should go to separate pins on the uC. Also, I think you need to supply 5V to the vibration sensor and hook it up to the uC input instead of ground. But that depends on the exact vibration sensor. Do you have a part number?