ArduinoTroubleshooting

Arduino and two A02YYUW

userHead jc.jullian 2020-07-25 21:52:06 1803 Views7 Replies
I'm trying to connect two A02YYUW waterproof ultrasound and they don't work.
Only the second defined A02YYUW is recognized and works.
This regardless of the pins used.
Can I use more than one A02YYUW at the same time?
I would like to point out that an assembly with a single A02YYUW has been working very well for several weeks in a rainwater collection tank.
But now I would like to manage two tanks!
Thank you
2022-08-28 01:48:58

@jc.julian How did you get one sensor to work inside your water tank?

Just installed one today, I can hear it clicking when I hold my hand close to it, but it returns always the same, wrong distance: 66,6cm in a 202,5 empty tank…

Probably the positioning is not right, but how should I mount it to get the right distance?

userHeadPic Kos
2020-08-04 19:17:15 Hello,
I come back to my problem. I got to operate 2 A02YYUW.
They are not in the same place so do not interfere with each other.
I used the SolfwareSerial library with the .listen() function and a delay(10) before reading the data with .read () and it works on my breadboard with an Uno.
The continuation with a nano or mini in real life.
Ciao ciao
userHeadPic jc.jullian
2020-07-26 16:42:04 I try with SoftwareSerial.listen () but it doesn't work with the code provided by dfrobot for A02YYUW.
I will go back to the basics of SoftwareSerial.listen () to see what these ultrasonic sensors provide.
If you have any help to provide me, I take.
userHeadPic jc.jullian