I made some radar projects using simple HC-SR-04 ultrasonic sensor. These are very basic ultrasonic sensor work on a carrier frequency of 40khz. There are 4 pins, 2 for the power and other two for the echo and trigger. But I want to use this sensor underwater motion and distance tracking system. That’s why an upgradation is required in this case. Here I got one a02yyuw ultrasonic sensor, this one can work with Arduino easily and the required voltage logic is also compatible.

But here I will design a PCB to use this sensor with seeed studio grove shield. We can put all the electronics like voltage regulator, Signal and power led with I/O pins on a 20x20mm PCB. Seeed studio is giving a chance to assemble your PCBs using fusion service in free. Just give an idea and complete your designs. Every approved design may win up to $300 cash and 2 free PCBA.

A02yyuw ultrasonic waterproof sensor:

Ultrasonic distance sensor determines the distance to a target by measuring time lapses between the sending and receiving of the ultrasonic pulse. This is an easy-to-use commercial-grade ultrasonic sensor module of high performance and reliability, featuring much smaller blind zone, wider sensing angle and a certain penetration power(smog, dust) compared with other similar sensor.

The ultrasonic sensor adopts closed separated probe, waterproof and dustproof, which could be well suitable for harsh and moist measuring environment. All the signal processing units are integrated inside the module, so users can directly obtain the distance value through Asynchronous Serial Interface. With 9600bit/s band rate, the sensor can easily communicate with upper-host or other MCU, which greatly shortens the developing cycle for users.


  • Operating Voltage: 3.3~5V
  • Average Current: <8mA
  • Blind Zone Distance: 3cm
  • Detecting Range(Flat object): 3-450cm
  • Output: URAT
  • Response Time:100ms
  • Operating Temperature: -15~60℃
  • Storage Temperature: -25~80℃
  • Reference Angle: 60º
  • Waterproof Grade: IP67

This sensor is originally supplied by DFrobot or you can get one by using PCB fusion service provided by Seeedstudio.

Ignite Your Passion, Fire Your Thoughts:

In order to give back to our community and make your great ideas a reality, Seeed Fusion are launching the Grove Sensor Co-brand Campaign to help engineers turn their Grove designs into real products that the community can purchase.

If your design is selected by us and the designer is happy to license the product to Seeed for manufacture and sale, then we will produce your Grove Modules Design at Seeed Fusion and make it available via Seeed Bazaar. After providing specific software documentation and Getting Started instructions, the designers will receive the payment over $300USD directly from Seeed Fusion.

Getting excited? Keep reading to find out more.

Components required:

1) Arduino Nano/UNO

2) 16X2 LCD with 12C module

3) Custom PCB from Seeed Studio

4) A02yyuw ultrasonic sensor

5) External battery (9v)

Circuit diagram:

Because this sensor works on serial interface that’s why for the signal RX and TX Led's are embedded on the PCB. For power an external Led is there. This sensor works 3.3-5v, so you can find 5v regulator AMS1117 there.

Further connection are done with Arduino, you can mount this directly on Arduino with the grove connector and pin headers. Here VCC to 5v, GND to GND, RX to TX and TX to Rx. You can follow the above given schematics. Green wire is TX which goes to RX of Arduino and Blue is RX which goes to TX of Arduino.

My Grove sensor PCB:

I designed this PCB in Altium and exported the files as Gerber along with Bom and Pick and place file. After modifying the Bom as per requirements I uploaded all of these files to Seeed studio fusion. They are providing full SMT and PCBA assembly service in good price. Download all the required Gerber, BOM and CPL from here. You can see more details from here.

Arduino code:

// Include the Software Serial library
#include <SoftwareSerial.h>...
Read more »