Pages: [1]   Go Down
Author Topic: rookie questions  (Read 1902 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have a metal plate that I want to know when it gets hit by an object.
I intend to use a Duemilanove  and a Digital Vibration Sensor...

however, I dont have any instructions on how to connect the sensor to my Duemilanove ...

.. my sensor has 3 male connectors... 1,2,3 ...

where should I connect these ?

Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 285
Posts: 25626
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Post the spec of the device, and maybe someone will be able to help.
Logged

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

vibration sensor is a DFRobot Digital Vibration Sensor ...

not certain which pinouts on the duemilanove I should connect to?
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 88
Who doesn't like blinking LEDs
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

for those looking, here it is: http://www.robotshop.com/dfrobot-digital-vibration-sensor-3.html

there's no mention of a pinout, but i'd guess it would follow 1: Vin 2: ouptut 3: Gnd

but of course, I'm not sure about that. It really sucks that they don't tell you the pinout, did you get any documentation with it when you bought it?
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 3
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

that the sensor... there was  no documentation and I have searched the web and can still find nada...

am guessing that I should use the analog side of the board
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 126
Posts: 8471
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I can't see any active semis on the board, so maybe it's just a tremble switch with a couple of resistors.

Mind you it boggles the mind that people can sell stuff with no documentation. Email them for some. If your Chinese is up to speed you could try emailing the manufacturer DFrobot smiley
Logged

Rob Gray aka the GRAYnomad www.robgray.com

New York
Offline Offline
Edison Member
*
Karma: 1
Posts: 1023
E != m*c^2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

From the looks of the picture given, I say its GND, PWR (5v most likely), and a SIG (perhaps meant to be used with an interrupt, doesn't look like its connected to an analog pin)
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 2
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Any chance somebody made this thing work? I always get 0's. If somebody made it work, it would be nice to put an example of how he did - it's the only sensor I can't get to work! smiley
Logged

UK
Offline Offline
Sr. Member
****
Karma: 1
Posts: 491
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Looking at the pictures on their web page the wires connecting to the sensor board go black, red, green for pins 1, 2 and 3. So I would assume that 1 is 0v, 2 is +5v and 3 is the signal wire. But I don't have one, so don't blame me if you blow up your Arduino...

Andrew
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 11
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I agree that the pinout is probably GND +5v and SIGNAL judging by the cable. It states that the output is digital so I would assume it can go straight into a digital input, and it says on the website

• The conductive pin will make an instant turn-on (ON) state when touched by the outside force to achieve the proper vibration force, or an appropriate speed from the (partial) energy.

• On-Time: 0.1ms

So I would guess from this that all it does is give a high pulse on the signal wire for 0.1ms when disturbed.
Logged

Austin, TX
Offline Offline
Faraday Member
**
Karma: 71
Posts: 6106
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

One of the pictures (http://www.robotshop.com/Images/xbig/en/dfrobot-digital-vibration-sensor-1-B.jpg) shows it connected to a "Roboduino I/O Expander. (http://www.robotshop.com/dfrobot-i-o-expansion-board-4.html
)"  

So based on those two pictures it appears

Pin 1:  Black  : GND
Pin 2:  Red    : D
Pin 3:  Green : +5V

Those colors really don't make sense (neither does an undocumented sensor), but that's the best I can tell without seeing an actual board.
« Last Edit: August 27, 2010, 02:23:12 pm by cmiyc » Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.com

0
Offline Offline
Sr. Member
****
Karma: 7
Posts: 476
what?
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Just attach a microphone to the plate?
Logged

Canada
Offline Offline
Full Member
***
Karma: 0
Posts: 138
Power Level is futile (if < 9 000)
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Couldnt you use a piezo speaker to detect oscilliation?
Logged

0
Offline Offline
Newbie
*
Karma: 1
Posts: 35
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


For the vibration doc, please take a look at


http://www.dfrobot.com/wiki/index.php?title=DFRobot_Digital_Vibration_Sensor_(SKU:DFR0027)
« Last Edit: September 17, 2010, 03:10:49 am by YeRobot » Logged

Pages: [1]   Go Up
Jump to: