Description
Product Description
The ultrasonic sensor can provide a non-contact distance of 2cm-400cm, and the measurement angle can reach 15~. The sensor use shell encapsulation, which has a beautiful appearance and is compatible with Lego holes.
Feature
- Working voltage: 5V
- Working current: 2mA
- Working frequency: 40HZ
- Ranging Distance: 2cm-400cm
- Detection angle: 15~
- Input trigger signal: 10uS TTL pulse
- Output echo signal: output TTL level signal, proportional to range
- Connector: 4PIN port
- Size: 60mm*30mm*30mm
Compatible with expansion boards
Work with
micro:bit expansion board
Work with
Arduino expansion board
Work with
Raspberry Pi expansion board
Wiring preparation
Arduino UNO+Arduino expansion board, use the 4PIN wire to connect the sensor to the D10, D11 port on the Arduino expansion board.
Note: If you do not use the Arduino expansion board, please use DuPont cable to connect the sensor to the Arduino development board.
Arduino programming code
- Connect the Arduino UNO development board with the expansion board to the computer through the USB cable
- Use Arduino IDE to open the program
- Select the corresponding development board and open the connection port
- Open the serial port monitor and set the baud rate to 9600, upload the program
Packing List
1* Ultrasonic sensor
1* 4PIN wire (20cm)
Reviews
There are no reviews yet.