Sample Code
Hardware Connection: Connect the Sonar:bit to J1 port and the OLED module to the IIC port in the Nezha Pro Breakout board.
Result: The distance value displays on the OLED module.
Specification
Item | Parameter |
---|---|
SKU | EF05007 |
Connection | RJ11 |
Type of Connection | Digital output |
Working Voltage | 3.3V |