A02YYUW waterproof Ultrasonic Sensor UART and PWM with ESP32

  Рет қаралды 2,625

Electronic Clinic

Electronic Clinic

Күн бұрын

A02YYUW waterproof Ultrasonic Sensor UART and PWM, with ESP32
Read article:
www.electroniclinic.com/a02yy...
A02YYUW Waterproof Ultrasonic Sensor, Getting Started Tutorial:
• Waterproof Ultrasonic ...
Watch the same video in Hindi Urdu:
• Waterproof Ultrasonic ...
IoT based Water Level monitoring using ESP32, A02YYUW, and Blynk:
• Water Level Monitoring...
Support me on Patreon and get access to hundreds of projects:
/ electroniclinic
Subscribe to my New KZbin Channel, if you want to watch my videos in Hindi/Urdu
/ @letsgetstartedd
Project Description:
******
If I made this mistake, then I'm sure it's something that could happen to you at some point too. These are both A02YYUW waterproof ultrasonic sensors; but still, they are not the same. Because one of them is a UART type and the other one is PWM. Which one is the best out of these two, I will explain this in a minute.
Design-wise, they are exactly the same, their front, their backside, even their wires are the same. Just by looking at these sensors, you can’t tell which one is the UART and which one is the PWM.
How did I find out, well let me tell you. I had already made a detailed video about the UART version of the A02YYUW Waterproof ultrasonic sensor.
After a few days, I needed some more Ultrasonic Sensors so I went on Amazon and purchased 5 ultrasonic sensors. At that time, I didn’t even know there was a PWM version of this Ultrasonic sensor. So, I placed the order without checking.
Anyway, when I received the ultrasonic sensors and connected them to the board, the Serial monitor was not giving me any output. At first, I thought maybe this ultrasonic sensor was faulty. So, I tried another sensor, but I didn’t get any output from that one either. Just like this, I tested all the Ultrasonic sensors one by one.
And when I would connect the UART version of the A02YYUW Ultrasonic Sensor, it would work perfectly.
Anyway, to confirm those ultrasonic sensors, I went back to Amazon and when I saw, there were two types: PWM and UART. So, it was totally my mistake because I wasn’t aware of the versions.
******
Amazon Purchase links:
********
ESP32 WiFi + Bluetooth Module (My recommendation), more IO pins, improved speed, and supports a Lipo Battery:
amzn.to/3v40DkE
SIM7600G 4G LTE Module
amzn.to/3tXTkuq
Other must-have Tools and Components:
Arduino Uno, Nano, Mega, Micro "All types of Arduino Boards":
amzn.to/3fk5OTi
Top Arduino Sensors:
amzn.to/3vZbnfM
Super Starter kit for Beginners
amzn.to/3cq56C5
Top Oscilloscopes
amzn.to/3ctF3d8
Variable Supply:
amzn.to/2PEAqE7
Digital Multimeter:
amzn.to/2QGRPg1
Top Soldering iron kits: "best"
amzn.to/39nqDtb
Top Portable drill machines:
amzn.to/3suQMh7
Jumper Wires:
amzn.to/2NYPEDA
3D printers:
amzn.to/3ruG1dt
CNC Machines:
amzn.to/3cuZWVv
Electronics Accessories:
amzn.to/3sueV7z
Hardware Tools:
amzn.to/3m9UhaN
DISCLAIMER: This video and description contain affiliate links, which means that if you click on one of the product links, I will receive a small commission. This helps support the channel and allows me to continue to make videos like this. Thank you for your support!
****************
For more Projects and tutorials visit my Websites
Electronic Clinic:
www.electroniclinic.com/
Programming Digest:
programmingdigest.com/
Follow me on Instagram:
/ electroniclinic
Follow my Facebook Page Electronic Clinic:
web. profile.php?...
Follow my Facebook Group, Arduino Projects:
/ 190031841821771
Email:
stu_engineering@yahoo.com
About the Electronic Clinic:
Electronic Clinic helps the students and other professionals to learn electronics, designing, and programming. Electronic Clinic has tutorials on Arduino, Arduino Nano, Raspberry PI, image processing, gsm based projects, Bluetooth based projects, esp8266 projects, Nodemcu projects, robotics, desktop application designing and programming, PLC, SCADA, RC Planes, Electronics, Power Generation, HMI, and much more. Check my Playlists.
#A02YYUW #Waterproof #ultrasonicsensor

Пікірлер: 11
@lint2023
@lint2023 2 ай бұрын
Thanks for all your videos. The waterproof sensor caught my attention and I put this on my list of things to do. William, USA
@ochjoo77
@ochjoo77 8 күн бұрын
Thanks for the video, just have one note: when using a lot of different sensors and multiple of these ultrasonic sensors on a single board you run into lots of troubles with the uart,even if the board supports multiple uart, I found that it makes the board (esp32) very buggy and unreliable. Pwm should be better in this case as there is hardware support multiple pwm inputs so its not as taxing on the board really.
@ElectroniClinic
@ElectroniClinic 8 күн бұрын
i have been using the UART version and its working exceptionally well, even in my yesterday's video based on the Hydroponic system, it performed very well with high accuracy. I used it with the so many other sensors and wifi connectivity at the same time. you can check out that video.
@lohikarhu734
@lohikarhu734 2 ай бұрын
I like the pwm version better, as it is much more deterministic...it guarantees that you get a return value in less than about 40 ms, and usually shorter...also, if you use a hardware timer, instead of software, you only need to wait for its indication or interrupt...the hardware timers are usually closer than 100 ns per tick, so the resolution is then as short as 0.02 mm ...uncertainty much greater than that, but you get the idea. For example, Max delay from falling edge of trigger to rising edge of distance pulse 17 ms Then 5,75 μs per millimeter distance, For target at 50 cm, 17 ms delay + (57,5 x 50) μs = 2,875 ms for total time of 19,875 ms Since the "no target found" gives a 35 ms pulse, you have a 52 ms worst case time from trigger to event end, but, if you know a maximum distance limit for your application, you could use a second timer channel to give an interrupt if the measurement time is exceeded ...so, for, say 100 cm max target, the 'distance watchdog timer is set for start on rising edge of measurement pulse, and timeout set to be 5750 μs, thus, if you ping the detector, you would get a "no target" interrupt, or status bit, after 22.75 ms....much, much better than waiting the 45-60 ms + data word time, with uart...just thinking... (I've been doing real-time microcontroller work for going on 45 years, was a Motorola application engineer for several years)
@PhG1961
@PhG1961 2 ай бұрын
Great!!
@nagababumarthi1942
@nagababumarthi1942 2 ай бұрын
Pls make esp32 camera based object pick and place robot
@repairstudio4940
@repairstudio4940 2 ай бұрын
I cant even get my PN532 to work 😮‍💨
@Chuq00
@Chuq00 2 ай бұрын
Can this measure water levels? Obviously doing math to measure the cm to liters as the levels increase or decrease.
@ElectroniClinic
@ElectroniClinic 2 ай бұрын
Ya it can. Next, I will use it for water level monitoring.
@Chuq00
@Chuq00 2 ай бұрын
@@ElectroniClinic I can't wait to see
@tsabitahakmal6825
@tsabitahakmal6825 2 ай бұрын
can't wait cause I really need that too@@ElectroniClinic
Waterproof Ultrasonic Sensor A02YYUW with Arduino, ESP32, & ESP8266
11:46
Waterproof Ultrasonic Distance Sensors - JSN-SR04T & A02YYUW 💧☔
32:11
DroneBot Workshop
Рет қаралды 169 М.
ДЕНЬ РОЖДЕНИЯ БАБУШКИ #shorts
00:19
Паша Осадчий
Рет қаралды 6 МЛН
格斗裁判暴力执法!#fighting #shorts
00:15
武林之巅
Рет қаралды 98 МЛН
Как быстро замутить ЭлектроСамокат
00:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 12 МЛН
Install ChatTTS Locally - Best Free Text to Audio AI Model
10:02
ESP32 Audio Input Using I2S and Internal ADC
10:43
atomic14
Рет қаралды 120 М.
Water Level Monitoring with Ultrasonic Sensor A02YYUW, ESP32, & Blynk
10:39
Electronic Clinic
Рет қаралды 2,8 М.
Waterproof Ultrasonic Sensor A02YYUW UART and PWM in Hindi Urdu
6:29
Let's Get Started
Рет қаралды 147
Arduino in a commercial product?
7:17
Predictable Designs
Рет қаралды 17 М.
DIY sonar scanner (practical experiments)
14:30
bitluni
Рет қаралды 1 МЛН
Intro to Hardware Reversing: Finding a UART and getting a shell
12:07
Tony Gambacorta
Рет қаралды 876 М.
Offline Voice Recognition Sensor
8:40
Mellow_Labs
Рет қаралды 14 М.
Top Fifteen Mistakes People Make When Designing Prototype PCBs
12:26
Cosplay Light and Sound
Рет қаралды 127 М.
Waterproof Ultrasonic Sensor with Arduino for distance measurement
11:17
Electronic Clinic
Рет қаралды 22 М.
😱НОУТБУК СОСЕДКИ😱
0:30
OMG DEN
Рет қаралды 3,1 МЛН
iPhone 15 Pro vs Samsung s24🤣 #shorts
0:10
Tech Tonics
Рет қаралды 10 МЛН