A02YYUW with Mega 2560
![userHead](https://dfimg.dfrobot.com/dfPortrait2.png)
So ive been using the A02YYUW sensor with a aruino uno for a while and it was working but ive moved the code across to the Mega 2560 and cant get it to run. Im using the example code from the WIKI.
Ive tried hardware serial as well as softwareSerial and ive tried 2 sensors i have.
Does anyone have any ideas for the Mega?
Hi
Could you please check whether the band rate is 9600? the sensor only work in this baurd rate.
Hope it can help.
![userHeadPic](https://dfimg.dfrobot.com/dfPortrait2.png)
IM aware of its specs I'm just struggling to get it to work on a mega. I've got Blynk running and other code. But even if I strip out the other code leaving only the sensor and Blynk its still not working
![userHeadPic](https://dfimg.dfrobot.com/dfPortrait2.png)
Ultrasonic distance sensor measuring the distance by measuring the time between sending and receiving a pulse. The sensor allows to measure distances from 3 cm to 450 cm. It communicates through the UART serial interface. The module is powered from 3.3 V to 5 V. The sensor is enclosed in a waterproof housing with IP67 protection class.
![userHeadPic](https://dfimg.dfrobot.com/dfPortrait2.png)