PDA

View Full Version : Question Sensor's Connection



brian25
10-17-2013, 05:43 AM
is this right the connection diagram? tnx


https://www.google.com.ph/search?q=pir+sensor&espv=210&es_sm=122&source=lnms&tbm=isch&sa=X&ei=x71fUsziA-WBiQf5poC4CQ&sqi=2&ved=0CAcQ_AUoAQ&biw=1440&bih=811#facrc=_&imgdii=_&imgrc=a_hsEAEhJRMi2M%3A%3B-UrvC30cQp0owM%3Bhttp%3A%2F%2Fshop.sumeetinstrument s.com%2Fimage%2Fcache%2Fdata%2FPIR%2520Sensor-500x500.jpg%3Bhttp%3A%2F%2Fshop.sumeetinstruments. com%2Findex.php%3Froute%3Dproduct%2Fproduct%26prod uct_id%3D306%3B500%3B500

https://www.google.com.ph/search?q=vibration+sensor&espv=210&es_sm=122&source=lnms&tbm=isch&sa=X&ei=C7pfUvOkMY2WiQeo6oDQBw&ved=0CAkQ_AUoAQ&biw=1440&bih=811#facrc=_&imgdii=_&imgrc=OdDUa3o95ShzrM%3A%3B5cQ1tYWmMTdl4M%3Bhttps%3 A%2F%2Fdlnmh9ip6v2uc.cloudfront.net%2F%2Fimages%2F products%2F9%2F1%2F9%2F9%2F09199-03-L.jpg%3Bhttps%3A%2F%2Fwww.sparkfun.com%2Fshort%2F9 199%3B600%3B600
http://i1230.photobucket.com/albums/ee484/MrYu2316/samp_zpsef680fc9.jpg

jwatte
10-17-2013, 12:41 PM
That doesn't look right.

The microcontroller needs to share ground with the sensors for the signaling to work right.
How does the vibration sensor get power?
How does the vibration sensor and PIR sensor share signaling? Are you using the I2C bus? If so, you need data + clock lines. If not, then you cannot connect two outputs to the same wire.
How does the microcontroller get power?