Skip to main content

RCWL-1601 ultrasonic distance module

Identifiers (from photo)

  • Silkscreen: RCWL-1601
  • Pins labeled: VCC, Trig, Echo, Gnd

What it is

  • Ultrasonic distance sensor module (HC-SR04-style interface)

Interface

  • Digital GPIO
    • TRIG: output from MCU
    • ECHO: input to MCU (pulse width encodes distance)

Power

  • VCC: likely 5V (common for ultrasonic modules) — confirm before connecting
  • If your MCU is 3.3V logic: ECHO may need a voltage divider/level shift if the module outputs 5V.

Planned RAK3112 firmware block

  • Gate: GateS_rcwl_1601_ultrasonic
  • Features:
    • configurable TRIG/ECHO pins
    • pulse-width capture using timer/interrupt
    • logs: raw pulse_us + computed distance_mm
    • sanity: timeout/no-echo handling

Next info needed

  • What voltage will you power it with (5V vs 3.3V)?
  • Which GPIO you will use for TRIG/ECHO on RAK3112.