Questions tagged [hc-sr04]
The hc-sr04 tag has no usage guidance.
15
questions
0
votes
0
answers
24
views
HC-SR04 with pic18f24k22 doesn't work
I'm trying to find the problem with my code, because It seems like I can't get the echo back from the sensor or it's not registered. Any help would be appreciated, thank you
The code :
...
4
votes
4
answers
870
views
What is the purpose of this extra capacitor in this opamp low pass filter?
I'm trying to follow along with this blog post reverse engineering the HC-SR04 ultrasonic distance sensor.
The signal from the receiving transducer is amplified, filtered, and then amplified again.
On ...
0
votes
1
answer
252
views
Ultrasonic sensor not detecting any values when using Arduino and LabVIEW
I have connected the circuit as shown.
The circuit works perfectly when I Use the Arduino ide.
When I use LabVIEW, the distance from the ultrasonic sensor is always zero.
The LabVIEW circuit diagram ...
1
vote
1
answer
87
views
Why can't the HC-SR04 sensor detect objects that are very close to it?
I am following this worksheet and I am struggling to understand the following piece of code:
...
0
votes
1
answer
99
views
HCSR04 with PIC18f24k22 stuck in real test
I have a problem with HCSR04 ultrasonic distance sensor. I wrote a code that works perfectly in Proteus simulator but when I upload it in real microchip it stop working properly. Looks like it sticks ...
1
vote
1
answer
46
views
How do I cutoff power to ultrasonic HC-SR06 when it is not been used, to save power
I want to read an ultrasonic sensor data every 10 minutes and expect that the module should be turned off in order to save power.
How do I do this?
I tried with a BC547 and PN2222 transistor but I end ...
0
votes
0
answers
92
views
Functional block digram of a HC-SR04?
Can anyone illustrate a functional block diagram of a HC-SR04 ultrasonic sensor? I understand how it works when it comes to the application but I would like to know how it works fundamentally as a ...
0
votes
1
answer
181
views
Arduino DC Motors Not Working Correctly With The Servo
I m building a simple obstacle avoidance robot. Here I Typed the code. But there is a bug I cannot find . The Motors are not working properly when they intergrated as whole. when I check the codes and ...
0
votes
1
answer
99
views
Ultrasonic module Water proof vs non-water proof types
Ranging SR04 Ultrasonic modules are available as water proof and non-water types.
In the water proof types SR04 modules there is only 1 sensor while in the non-water proof types SR04 there are 2 ...
0
votes
1
answer
76
views
Dummy Ultrasonic Transducer
I have several HC-SR04 modules which I wish to modify. There are two modifications in particular I want to ask about
First, I am going to use two modules in parallel to determine location as opposed ...
0
votes
2
answers
440
views
HC-SR04 Distance Sensor Trigger Signal on 2.5V Voltage level gives no reading
I am using an Arduino on a breadboard setup with an ATMEGA328p MCU. The whole circuit is designed to work in a low-power state and is powered using a 3V (Nominal) voltage Coin Cell. The HC-SR04 is ...
2
votes
1
answer
2k
views
Is it possible to make an LED turn on with an HC-SR04 without using an arduino? Only when an object is near it?
I don't know anything about coding so I wish to achieve this effect without a help of an arduino. I'm trying to minimize as much power as possible and trying to achieve the HC-SR04 sensor to sense ...
0
votes
2
answers
147
views
HC-SR04 Ultrasonic sensor below a grid plate
I want to use the ultrasonic sensor under a metal grid plate like below (just 1 of those plates instead of 3). The sender/receiver will be under (partly inside) two adjecent holes (hopefully it fits) ...
0
votes
2
answers
1k
views
Can I interconnect all echo pins from multiple ultrasonic sensors?
I want to use (probably) four ultrasonic sensors HC-SR04.
These use a trigger pin and echo pin.
For the echo pins, I want to connect them to a timer with 'Combined Channels PWM Input on CH1', and the ...
0
votes
1
answer
1k
views
HC-SR04 with STM32 gives unexpected values
On an Arduino it is easy to get an HC-SR04 ultrasonic sensor getting to work.
However, on my STM32(F103C8T6) I get strange values.
I assumed I connect it correctly, since I get values on the trigger ...