FAQ

Hi, I am trying to use the A02YYUW Waterproof Ultrasonic Sensor (SKU:SEN0311) with a 30 Pin ESP-WROOM-32 chip, and I am trying to modify the Arduino sketch example so it will work ...

userHead JaneYu 2019-11-10 03:54:10 11 Views40 Replies

Hi, I am trying to use the A02YYUW Waterproof Ultrasonic Sensor
(SKU:SEN0311) with a 30 Pin ESP-WROOM-32 chip, and I am trying to modify
the Arduino sketch example so it will work with the ESP32, but after
several hours I haven't been able to do it. Does anybody have a
suggestion for this? This is the serial library I am using: https://github.com/akshayba....

Thanks

2024-06-05 19:42:52

Is this A02YYUW UART controlled or UART automatic model?

userHeadPic JaneYu
2024-04-09 16:55:53

Hello, does it work to evaluate the distance between the sensor and water surface ?

userHeadPic JaneYu
JaneYu wrote:

Yes, this sensor measures the distance from the sensor to the water surface.

2024-04-10 10:39:15
1 Replies
2024-03-15 11:05:38

Ultrasonic transducers generally do not deteriorate in performance with extended use.

userHeadPic JaneYu
2023-10-25 20:40:45

Unfortunately finding exactly this socket is almost impossible.
I found a similar plug (PAP-04V-S JST), but I cant find a suitable socket for it.
If anyone has a specific part number, please share.

userHeadPic JaneYu
2023-08-04 16:53:03

I would like to know the formula for the distance measurement value of this sensor.
There is an error according to the temperature, so I'd like to correct it.
thank you

userHeadPic JaneYu
2023-07-30 05:14:22

I'm using the sensor with the DFRobot code to measure the water level in my hydroponic tank and it works most of the time. However, several times a day it will start returning distances that are way off (by a factor of 3). When this happens I just remove the sensor from the tank lid and point it at something else and then it starts reading accurately again. The sensor is not actually in the tank but pointing down into the tank through 2 holes in the lid so too much water is not an issue. Does anyone have any idea what the problem might be?

userHeadPic JaneYu
2023-07-24 10:26:47

Hello.
Can you tell me what sound speed value this sensor uses?
i'd like to find the difference in sound velocity with temperature.

userHeadPic JaneYu
2023-07-04 18:05:51

Is it possible to get it with longer cable?

userHeadPic JaneYu
JaneYu wrote:

This sensor shipped with the PH2.0 Female to dupond female wire.
So you could make it longer by using the dupond male wire.
But since the UART of this sensor is at TTL level, it can only transmit a distance of a few meters.
And please use high quality wire.
https://uploads.disquscdn.c...

2023-07-04 18:29:15
1 Replies
2023-06-15 04:02:56

can i use this on stm32?

userHeadPic JaneYu
2023-03-31 03:15:32

Can the dfrobot a02yyuw run on the Pi Pico W?

userHeadPic JaneYu
JaneYu wrote:

Sorry, the library we developed for this sensor is not compatible with the Pi Pico W. You may have to develop your own library according to the protocal.

2023-03-31 16:10:40
1 Replies
2023-03-30 19:44:50

I can't figure out how to program the DFRobot A02YYUW Waterproof Ultrasonic Sensor to use with my Pi Pico W.
Is it possible to do it in Micropython? I have no problem connecting a "normal" HC-SR04 to the Pi Pico with Micropython, but cannot define the UART TX/RX for my DFRobot A02YYUW .
I will be glad for help.

userHeadPic JaneYu
2023-01-23 01:25:49

Can I detect the distance of obstacles underwater with the help of the A2YYUW sensor ?

userHeadPic JaneYu
2023-01-18 17:26:08

The detcetions angle of it is 60.

userHeadPic JaneYu
2022-11-16 22:07:44

Is it possible to use 2 A02YYUW with 1 raspberry pi 3b ? Thx

userHeadPic JaneYu
JaneYu wrote:

Hi, Yes, Raspberry PI can communicate over multiple serial ports.

2022-11-21 13:49:25
1 Replies
2022-10-04 00:43:55

Hello!
Is there any way to get the measured time of flight ?
Thanks

userHeadPic JaneYu
JaneYu wrote:

You can combine the RTC module to record the time when the distance from the ground is greater than a certain value, which is the flight time of the UAV.

2022-10-19 16:00:13
1 Replies
2022-07-03 17:05:45

I use this code in esphome:
https://community.home-assi...

The connections are as in the image. https://uploads.disquscdn.c...

uart:
id: uart_bus
tx_pin: 4 # Transmit Pin: 4 (D2)
rx_pin: 5 # Receive Pin: 5 (D1)
baud_rate: 9600

userHeadPic JaneYu
2022-04-19 17:41:30

Hello!
Can I know for accuracy of this sensor?

userHeadPic JaneYu
2022-03-21 23:20:22

I've been trying to find a way to read directly from serial on an ESP8266 device. The example uses SoftwareSerial and I believe it's the cause of intermittent issues I'm getting such as what appears to be halts on the device. Does anyone have sample code to read from this device directly using UART pins?

userHeadPic JaneYu
2022-02-14 13:40:28

Hi I am using the sample code provided by you and it is working fine but when I add some delay at the end of the code I am not getting the correct values. As I need to perform more task they will add some delay. Any suggestions how I can get the correct values.

Thank you in advance.

userHeadPic JaneYu
2022-01-14 15:20:08

Will the sensor operate correctly if there is water on the ultrasonic heads? I want to put this underneath the lid of a enclosed water tank to measure the water volume. Since the the tank is closed, water vapor coagulates on the lid over time -- and I expect it to be all over the sensor head as well.

userHeadPic JaneYu
JaneYu wrote:

If the sensor probe condenses with large water droplets, it may cause erroneous readings

2022-02-18 15:17:11
1 Replies