Go Down

Topic: Sensor trouble!?!?(SOLVED) (Read 1 time) previous topic - next topic

vishalapr

May 02, 2011, 12:33 pm Last Edit: May 02, 2011, 04:55 pm by vishalapr Reason: 1
I just bought this sensor :
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=150570236665&ssPageName=STRK:MEWNX:IT

Could someone tell me how to wire this thing up as it has 5 pins and not 3.

And could you give me some test code to run with this...

Thanks a lot

AWOL

Didn't it come with a datasheet?
That could be an expensive cheap sensor.
"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.


AWOL

You could try wiring like an SRF04, which it resembles.
Otherwise, nope on help.
"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.

vishalapr

Ya I have wired it up but dont know where the Echo pulse output and trigger pulse input go because in many tutorial these ultrasonic sensors only have 3 pins 1 to - 1 to + and I to arduino. But now if I connect 2 to arduino is the code going to be different if yes what is the test code going to be...
Thanks

AWOL

The SRF04 has five pins, which is why I mentioned it.
"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.

vishalapr

I could not understand the schematic. Could you just give me some tips on how to write a program that with read the input from the sensor and echo the output to the screen where I can see it...Please as I really cannot understand a thing when I see the schematic, I just think its too complicated for a 13 year old like me

AWOL

http://www.robot-electronics.co.uk/htm/srf04tech.htm

You could try googling SRF04 and Arduino.

BTW, the spec on the eBay page said the device was IP65 rated.
I hope you're not depending on that.
"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.

vishalapr

Code: [Select]
IP65 rated
What dies that mean

vishalapr

Problem solved : with these two links

1)http://www.robot-electronics.co.uk/files/SRF04.pde
2)http://www.robot-electronics.co.uk/htm/arduino_examples.htm#SRF04%20Ultrasonic%20Ranger

Thanks

AWOL

If you don't know then you're probably not concerned.

It's an enironmental sealing rating - it is supposed to be proof against dust and directed spray.
I doubt very much that it is.
"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.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy