Skip to main content

Questions tagged [ultrasonics]

0 votes
1 answer
91 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
1 vote
0 answers
242 views

I have an issue using an ultrasonic sensor. The problem is that when I connect the ultrasonic sensor to my Arduino Nano, it always gives some random values, usually 130 cm, I don't know why. I bought ...
hasan darwish's user avatar
0 votes
1 answer
166 views

So I have created a method to read and return Ultrasonic Sensor Data. I have 2 Ultrasonic Sensors. Below is my code.    // Ultrasonic Pins    #define T1 2 &...
Ansari Aquib's user avatar
1 vote
0 answers
96 views

I am trying to use an ultrasonic sensor to stop a tiny voice-controlled car but I can't get it to work. once the motor starts moving it doesn't stop I'm trying to make the car stop moving even though ...
brian's user avatar
  • 11
1 vote
0 answers
99 views

const int Trigger = 6; const int Echo = 7; const int LEDpin1 = 4; const int LEDpin2 = 5; const int Parameter = 400; float Time; void setup() { Serial.begin(9600); pinMode(Trigger, OUTPUT); pinMode(...
Leonardo Morales's user avatar
4 votes
1 answer
227 views

I was simply trying to program a buzzer with the ultrasonic HC SR04 and 128x64 OLED display. The buzzer is an active buzzer (3 pin) on a small board. The problem is that, once on, it never stops ...
Bukaida's user avatar
  • 141
2 votes
1 answer
571 views

I am making a line follower car that follows the line when push button is pressed. And by using ultrasonic sensor I want the car to stop when object ahead distance is closer than 100 and then make ...
PGI's user avatar
  • 21
0 votes
1 answer
106 views

I am trying to make a circuit that will be used for turning on a light whenever there are 1 or more people in a room. I need to add to a variable counter when someone enters and subtract when someone ...
NinePlusTenEqualsTwentyOne's user avatar

15 30 50 per page