HC-SR04 Ultrasonic Distance Sensor with Arduino

  Рет қаралды 10,635

Eli the Computer Guy

Eli the Computer Guy

Күн бұрын

Пікірлер: 16
@RPBCACUEAIIBH
@RPBCACUEAIIBH 5 жыл бұрын
12:10 Same is true for IR sensors, but they are influenced by color and reflectivity of an object. Not true that they are less accurate, but since they measure light intensity, they can be faster! If the object has dark color, it will read less accurately. If it has a bright color it will read more accurately. If it's matte it will read more accurately from an angle then if it's shiny... Important to note that complementary colors will not reflect that light, so green will show as black in red red or infra red light(different shades of green...), while yellow will show as black in blue and UV light(different shades off course except those highly reflective stickers highlighting markers, etc)... Every sensor have it's pros and cons. Ultrasonic sensors suffer from echoes as well for example, and IRs may read crap when measuring a light emitting object, especially in IR range (IR heater or incandescent lamp for example.) They also loos range in sunlight well, but have no problem measuring in darkness... You can also do some clever analog reference switching, and/or over volt the LED just a little bit to improve an IR sensors range and sensitivity(That requires proper calibration of course). But that doesn't really work that well with ultrasonic sensors... A good way to find ideal color and reflectivity is to set a phone camera to black and white, and point at the object, that will show you how bright is it and by viewing it with the camera from different angle will show you it's reflectivity from different angle. Phone cameras are sensitive enough to see things in nothing but infra red light. Security cameras see the same way at night, they have infra LEDs, and they switch on and off their filters automatically depending on light conditions...
@user-vn7ce5ig1z
@user-vn7ce5ig1z 5 жыл бұрын
3:28 - It's better; it goes to fiveleven.
@sweetyhearty6691
@sweetyhearty6691 4 жыл бұрын
Could u pls explain the code and schematic diagram in tinkercad .for automatic speed control and automatic accident avoidance using ultrasonic sensor and pir sensor and gas sensor using LCD ,DC motor and buzzer
@mahatana_r
@mahatana_r 4 жыл бұрын
Thank you for your explanation. I wonder if you could make a video using laser like those laser meters. The maximum distance of the ultrasonic meter is about 5 meter (~12 feet) according to the specs of the amazon in the description.
@panosp5711
@panosp5711 4 жыл бұрын
hello mister very nice video, i would like to ask you something about this project but the implementation is done using stm32f401re, so instead of digitalWrite, should i use gpio set (Pin pin) and instead of pulseIn should i use a timer in order to count the time between trigger High and echo High ? thanks
@animeboy5494
@animeboy5494 3 жыл бұрын
i have a error that trigPin doesnot name a type; did you mean string what to do if this kind of error occur
@Duriel1000
@Duriel1000 4 жыл бұрын
When I try the code, my system keeps returning a distance of "0" . I keep having this problem and tried several sensors from different suppliers. Maybe it is the arduino board itself? Any ideas?
@hanb8933
@hanb8933 5 жыл бұрын
Not sure how I can use this in real life but still nice to see how this stuff works.
@sinnoj
@sinnoj 5 жыл бұрын
Thanks for doing this hopefully I will get better at my coding
@goofydavid100
@goofydavid100 5 жыл бұрын
could you do the UV sensor interface with arduino I would like to learn about it your videos are gold Eli love you !!!
@leandrol3
@leandrol3 4 жыл бұрын
I have a question about the Ultrasonic sensor. I have a water-box and I’d like to measure how fill is using the HC-SDO4 sensor with Arduino It is all set and in my protoboard the sensor works well, but when I try to connect to sensor through a 4way wire it is not working. The water-box (and the sensor is inside in a dry place of course) is 4 meters from the Arduino, wired connected. My question is, Does have any limitation in distance to connect the sensor through a wire? If yes, what do you suggest me to do? How can I send the signal and receive the echo to Arduino in 4 meters of distance? Thank you!
@regbar0
@regbar0 5 жыл бұрын
Need schematics for a gamma powered super mutant with freeway on ramps for arms and a heart as black as coal.
@davidbahngaruru6122
@davidbahngaruru6122 5 жыл бұрын
Hi Eli my daily mentor
@phethaivaiyakhut6521
@phethaivaiyakhut6521 2 жыл бұрын
The sound of the videos is not good
@deojeetsarkar2006
@deojeetsarkar2006 5 жыл бұрын
First
@casnossoukahras6108
@casnossoukahras6108 5 жыл бұрын
thexxxxxxxxxxxxxx
IR Sensor Digital Output on Arduino
10:32
Eli the Computer Guy
Рет қаралды 15 М.
Waterproof Ultrasonic Distance Sensors - JSN-SR04T & A02YYUW 💧☔
32:11
DroneBot Workshop
Рет қаралды 201 М.
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 75 МЛН
Arduino - Soil Moisture Sensor
19:26
Eli the Computer Guy
Рет қаралды 15 М.
Analog Temperature Sensor LED Alert on Arduino
18:50
Eli the Computer Guy
Рет қаралды 14 М.
Print Text to OLED Screen on Arduino
21:07
Eli the Computer Guy
Рет қаралды 19 М.
Ultrasonic Sensor Working Explained Clearly | HC-SR04
9:20
SM training academy
Рет қаралды 387
Soil Moisture Sensor LED Alert with Arduino Uno
19:19
Eli the Computer Guy
Рет қаралды 9 М.
The New Outlook is TERRIBLE
20:19
Chris Titus Tech
Рет қаралды 46 М.
Analog Temperature Sensor with Arduino
14:05
Eli the Computer Guy
Рет қаралды 14 М.
AI VOICE CHANGER 2024! EASY! [NEW BETTER]
11:24
Voice Changer
Рет қаралды 677
Arduino Ultrasonic Distance Sensor Audio Alert
15:46
Eli the Computer Guy
Рет қаралды 30 М.