Skip to main content

Questions tagged [hc-sr04]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
65 views

HCSR04 Ultrasonice sensor in ESP32 - giving wrong values

I am trying to test the ultrasonic sensor (HC-SR04) using a ESP32 development board. The code I used is this: ...
Akhilesh B Chandran's user avatar
-1 votes
1 answer
94 views

ULTRASONIC SENSOR

I am using the Ultrasonic sensor HC-SR04 for an FPGA project. I am controlling it with an Atrix 7 Basys 3 board. I want to know what is the output coming out of the Ultrasonic Sensor. Is it a time ...
Joyadittya Debnath's user avatar
0 votes
1 answer
474 views

Proteus Simulation Error With 555 and HCSR04

Hello internet, I stuck at some point while simulating my circuit. This is a circuit that will measure distance and display it on seven segment displays. Firstly, When I tried to simulate this circuit ...
Robottur's user avatar
0 votes
0 answers
186 views

How to do a pulse generator whose pulse width is controlled by a voltage measured in proteus without using a microcontroller or an analog circuit?

how are you?. I'm trying to emulate the behavior of the HC-SR04 distance sensor in proteus but using variables. I succesfully could make a simulation of a water tank whose level is indicating by the ...
vram's user avatar
  • 158
5 votes
4 answers
1k 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 ...
user364952's user avatar
0 votes
1 answer
771 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 ...
Alex Mwaura's user avatar
1 vote
1 answer
463 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: ...
a_sid's user avatar
  • 141
0 votes
1 answer
121 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 ...
proestpa's user avatar
1 vote
1 answer
91 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 ...
Manu Devappa's user avatar
0 votes
0 answers
360 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 ...
BroomHilda's user avatar
0 votes
1 answer
491 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 ...
Shakthi Sachintha's user avatar
0 votes
1 answer
163 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 ...
alt-rose's user avatar
  • 1,489
0 votes
1 answer
129 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 ...
djsfantasi's user avatar
1 vote
2 answers
607 views

HC-SR04 distance sensor trigger signal on 2.5 V 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 3 V (nominal) Coin Cell. The HC-SR04 is getting a ...
Marry35's user avatar
  • 131
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 ...
Dean Sammels's user avatar
0 votes
2 answers
263 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) ...
Michel Keijzers's user avatar
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 ...
Michel Keijzers's user avatar
0 votes
1 answer
2k 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 ...
Michel Keijzers's user avatar