|
|
Global Moderator
UK
Offline
Brattain Member
Karma: 137
Posts: 19006
I don't think you connected the grounds, Dave.
|
 |
« Reply #1 on: May 02, 2011, 09:20:52 am » |
Didn't it come with a datasheet? That could be an expensive cheap sensor.
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
Offline
Sr. Member
Karma: 0
Posts: 266
|
 |
« Reply #2 on: May 02, 2011, 09:26:40 am » |
Nope no datasheet
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
UK
Offline
Brattain Member
Karma: 137
Posts: 19006
I don't think you connected the grounds, Dave.
|
 |
« Reply #3 on: May 02, 2011, 09:28:14 am » |
You could try wiring like an SRF04, which it resembles. Otherwise, nope on help.
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
Offline
Sr. Member
Karma: 0
Posts: 266
|
 |
« Reply #4 on: May 02, 2011, 09:34:05 am » |
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
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
UK
Offline
Brattain Member
Karma: 137
Posts: 19006
I don't think you connected the grounds, Dave.
|
 |
« Reply #5 on: May 02, 2011, 09:36:16 am » |
The SRF04 has five pins, which is why I mentioned it.
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
Offline
Sr. Member
Karma: 0
Posts: 266
|
 |
« Reply #6 on: May 02, 2011, 09:39:44 am » |
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
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
UK
Offline
Brattain Member
Karma: 137
Posts: 19006
I don't think you connected the grounds, Dave.
|
 |
« Reply #7 on: May 02, 2011, 09:47:23 am » |
http://www.robot-electronics.co.uk/htm/srf04tech.htmYou 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.
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
Offline
Sr. Member
Karma: 0
Posts: 266
|
 |
« Reply #8 on: May 02, 2011, 09:51:32 am » |
IP65 rated What dies that mean
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Sr. Member
Karma: 0
Posts: 266
|
 |
« Reply #9 on: May 02, 2011, 09:55:04 am » |
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
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
UK
Offline
Brattain Member
Karma: 137
Posts: 19006
I don't think you connected the grounds, Dave.
|
 |
« Reply #10 on: May 02, 2011, 09:55:18 am » |
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.
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
|