Skip to main content

Questions tagged [hc-sr04]

For questions about the HC-SR04 ultrasonic ranging sensor.

0 votes
1 answer
95 views

I am using a HC-SR04 ultrasonic sensor to measure the distance using an Arduino Uno. When I run this code which is worked perfectly in the previous, it only shows just random readings in the serial ...
Y_Jay's user avatar
  • 13
0 votes
1 answer
114 views

I'm trying to understand how HC-SR04 sensor works. I looked for detailed explanations online and read datasheets, but I still have a detail I don't get. If I understood correctly how the "trigger&...
Rocco Mantovani's user avatar
1 vote
1 answer
138 views

I’m making a smart car using an arduino uno, sensor shield v5, motor control with a L298N and a servo motor + HC-SR04 ultrasound sensor. I want to add a IR receiver on the board so I can also control ...
AugustinS's user avatar
1 vote
1 answer
904 views

I am working on an autonomous robot using two 4-pin stepper motors, HC-SR04 ultrasonic sensor, 2 L298N motor drivers (one for each motor), and an Arduino Uno. My problem is that when I use the stepper ...
Renier Jr.'s user avatar
-1 votes
1 answer
103 views

int trigPin = 10; const int echoPin = 8; int led = 7; const int distance = 200; void setup() { pinMode(trigPin, OUTPUT); pinMode(echoPin, INPUT); pinMode(led, OUTPUT); } void loop() { ...
user90289's user avatar
1 vote
0 answers
208 views

I'm having problems using an HC-SR04 ultrasonic sensor in conjunction with an LED display module. The sensor appears to work fine when outputting values to the serial monitor, measuring distances up ...
Nicholas's user avatar
  • 111
0 votes
1 answer
139 views

I'm building a kind of pin ball machine, and I need to detect when the ball has hit the wall with the sensor attached. The ball will hit the wall with a small impact, not large enough to push a button ...
SJ19's user avatar
  • 111
0 votes
1 answer
781 views

Is there a limit for the connector distance between an arduino and a HC-SR04 ultrasonic sensor? I have a set-up for measuring a liquid's level in a tank. The benchtop version worked OK, but when I ...
Ken's user avatar
  • 103
1 vote
0 answers
60 views

I'm making a project based on HC-SR04 ultrasonic sensor with a stepper motor and an SG90 servo motor. I have done some conditions for my stepper motor that is given below. Now I want to include my ...
Toufiq's user avatar
  • 11
3 votes
1 answer
2k views

I am somewhat familiar with Arduino and am trying to use two ultrasonic HC-SR04 modules to measure the direction of water flow inside a pipe. The sensors are kept as in the image below. The direction ...
Aradhya Jain's user avatar
1 vote
0 answers
46 views

I asked a question about this last time but I still couldn't make it work but it somehow gave me an overview about my project. Now I've created an another project that is similar to the last one, the ...
Thomas Raymond Santos's user avatar
2 votes
1 answer
194 views

I used an HC-SR04 sensor and connected it to an Arduino board (BOARD1) with a 433 MHz transmitter, and the other board (BOARD2) is connected to the 433 MHz receiver. I don't know how to see the sensor ...
Thomas Raymond Santos's user avatar
1 vote
0 answers
263 views

I found a simple code online that meets my goal to almost 100%, however when I place my hand in front of it, the number continues to count. I am trying to only count "1" when the solid ...
Chris's user avatar
  • 11
1 vote
0 answers
56 views

Having trouble with arduino Ultrasonic Sensor Module HC-SR04 I'm sure when you read this you're going to say how stupid can he be and you're probably right but I'm 82 years old and I'm trying very ...
Dennis M Martin's user avatar
1 vote
0 answers
411 views

I have a problem in a project that I am working, basically I need to use a ESP-01 to receive the measurements from a HC-SR04 and send it to another ESP-01 (which I won't cover here). Basically my ESP ...
Danillo Lange's user avatar

15 30 50 per page
1
2 3 4 5 6