Skip to content
Project: Radar

Wiring

Wire and mount the ultrasonic sensor.

1. Connect the sensor

Disconnect power. Keep the servo connections from Final Wiring in place.

PinConnect to
VCCSupply rated for your sensor
TRIGD6 (GPIO 12)
ECHOD7 (GPIO 13) for 3.3 V logic
GNDShared NodeMCU and servo ground
Breadboard layout showing the ultrasonic sensor wired to the NodeMCU, with D6 connected to TRIG and D7 connected to ECHO.
Tap or click to enlarge.

2. Mount and check

  • Mount the sensor on the pan assembly so it faces straight ahead at 90°.
  • With power off, check clearance across pan 0–180° and tilt 90–180°. Leave cable slack and keep the cable clear of the firing mechanism.