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

ChrisLub
Tue Apr 23 2024, 05:21 pm
Davidbab
Tue Apr 23 2024, 10:41 am
Richardrit
Tue Apr 23 2024, 09:54 am
HenryLaf
Mon Apr 22 2024, 03:50 pm
bleradrar
Mon Apr 22 2024, 06:38 am
ppu-pro_ka
Sun Apr 21 2024, 07:39 pm
Infewow
Sun Apr 21 2024, 06:30 pm
HumanTak
Sun Apr 21 2024, 12:26 pm