Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

ultrasonic sensor HC-SR04 interface with arduino

Status
Not open for further replies.

Harish Achar

Member level 1
Joined
Mar 15, 2012
Messages
39
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Activity points
1,575
Hi,

I am using 2 ultrasonic sensors consider it at A and B. Which are placed in opposite directions.
I will initiate trigpinA and want to read pulse from echopinB (not echopinA). How do I do that?
I am getting 0 value. Sensor works for trigpinA and echopinA. Not working for trigpinA and echopinB.
Please suggest.
 

Post your code and schematic....
 

I guess it's not possible. HC-SR04 is not designed as detector for externally generated pulses. What do you want to achieve, tof measurement?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top