Questions tagged [hc-sr04]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
1k 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 ...
1
vote
1answer
34 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
2answers
115 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
1answer
72 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
2answers
888 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
1answer
70 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
1answer
119 views

How to make a proper distance of my social distancing alarm cap for COVID-19?

Here is an Arduino based social distancing alarm cap meant for Covid-19 pandemic or similar disease outbreak. Maintaining the right gap for social or physical distancing is not always feasible. I use ...
0
votes
1answer
57 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
1answer
74 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 ...
0
votes
0answers
35 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
2answers
307 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 ...
0
votes
1answer
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 ...