Discussion in "Project Doubts" started by    akshaydusane    Sep 10, 2012.
Sat Jan 19 2013, 06:59 pm
#11
How do I use HC-SR04 for only detecting obstacle ?
Because when I am trying to do so I am making the trig pin high but when I am getting obstacle in front of that I am not getting echo pin high ?
Is there any different logic ?
Sun Jan 20 2013, 12:38 am
#12
i was suffering a browser and find this link
http://homemaderobo.blogspot.com/2012/08/ultrasonic-sensor-interfacing-with-8051.html
it use same logic don't know where the problem is going in hardware or in software
Sun Jan 20 2013, 10:20 am
#13
So how do I use it as an Obstacle detector ? Basis of this logic ...
Sun Jan 20 2013, 12:21 pm
#14
@ akshaydusane
are you want to detect the obstacle or want to find out the distance of obstacle
if you want to simply a detection then you can use ultrasonic switch
that output will be high or low
high mean detected low mean nothing in front of sensors
Sun Jan 20 2013, 08:52 pm
#15
I want to simply detect the obstacle using HC-SR04 sensor...
what is ultrasonic switch ?
Mon Jan 21 2013, 01:17 am
#16
@ akshaydusane
ultrasonic switch is a simple circuit
it uses ultrasonic transmitter and receiver to detect is anything is in front of sensor or not
Mon Jan 21 2013, 06:30 am
#17
I think this dicussion has already discussed. the operation of this sensor is same as Parallax PING)) check out the following thread where everything is explained in detailed.

http://www.8051projects.net/t27437/8051-discussion-forum/pulse-generator-using-p89c51rd2.htm#post_27849
Mon Jan 21 2013, 08:08 am
#18
@Ajay Bhargav
No Sir I dont want to find distance only detect obstacle using this sensor only..
Mon Jan 21 2013, 08:24 am
#19
well then its much easier. if you are not getting echo then problem is with duration of pulse. Make sure you follow datasheet.
Mon Jan 21 2013, 04:25 pm
#20
What should be the duration of pulse according to you ?

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

ArnoldDiant
Fri Apr 26 2024, 03:53 am
RodneyKnorb
Thu Apr 25 2024, 07:08 pm
Williamjef
Thu Apr 25 2024, 02:08 pm
SamuelSmise
Thu Apr 25 2024, 09:56 am
DustinErele
Thu Apr 25 2024, 08:44 am
ztaletpzca
Wed Apr 24 2024, 11:19 pm
IrardlPex
Wed Apr 24 2024, 08:42 pm
Charlestehed
Wed Apr 24 2024, 05:20 pm