Wemos D1 mini & ultrasonic sensor A02YYUW

Hi,

I would like to connect my UART A02YYUW sensor to my Wemos D1 mini. I’m reading that I need to use softwareserial library to connect, but don’t know how to connect my A02YYUW to the wemos D1 mini board.

The 5V & GND are quit obvious, but the RX & TX seems to be hard to couple to which serial pin on the D1 mini ?

Anyone got an idea or got this working ?

Thanks in advance !

Kr,

Bart

1 Like

I’m not familiar with that particular sensor, but I’m using a different ultrasonic sensor with D1 for the echo pin and D2 for the trigger pin on my Wemos D1 mini.

Thanks ! The problem is that the sensor is an UART sensor, not able to communicate on the digital pins

Kr,

Bart

To the ones you configured: Custom UART Device — ESPHome

Also see this page about possibly being able to use a hardware UART.

Unfortunately, Not getting any results after reading these articles :-/

Bonjour @weemaba999 avez vous trouvé u’e solution ?
Ai le même projet et je suis confronté aux mêmes problèmes
Capteur A02YYUW et carte wemos d1
Je souhaite créer un niveau eau cuve