Comprehensive FAQ Guide for A02YYUW Waterproof Ultrasonic Sensor [SEN0311]
A02YYUW Waterproof Ultrasonic Sensor returns no data when connected to Raspberry Pi.
2024-12-26 13:40:15
Enter the following command in the Raspberry Pi terminal:
sudo nano /boot/cmdline.txt
Add dwc_otg.lpm_enable=0 as shown in the figure below, and delete console=serial0, 115200
Open config.txt by enter:
sudo nano /boot/config.txt
and add dtoverlay=pi3-miniuart-bt
Reboot and check, if there's still no data, try to add console=ttyl in cmdline.txt and reboot again.
Tonny12138