Arduino and two A02YYUW
![userHead](https://dfimg.dfrobot.com/dfPortrait2.png)
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
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
Kos
@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](https://dfimg.dfrobot.com/dfPortrait2.png)
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
jc.jullian
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](https://dfimg.dfrobot.com/dfPortrait2.png)
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.
jc.jullian
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](https://dfimg.dfrobot.com/dfPortrait2.png)