HC-SR04 Ultrasonic Distance Sensor with RGB Light for Arduino, Raspberry Pi & Pico

SKU 06-EZZB-HL9Q

$7.99 USD Shipping & tax calculated at checkout
In stock· Order by 3pm ET and it ships today

HC-SR04 ultrasonic distance sensor with RGB LEDs provides 2–400 cm range and a 6-LED visual indicator; ideal for robotics, obstacle detection, and DIY Raspberry Pi or Arduino projects (5V powered).

  • Free UPS Ground U.S. orders $35+
  • Ships from USA Domestic fulfillment
  • 30-day returns Free defect replacement
  • 7-day support Fast email replies
Frequently bought together
ShillehTek HC-SR04 Ultrasonic Distance Sensor with RGB light emitting colorful spectrum HC-SR04 Ultrasonic Distance Sensor with RGB Light for Arduino, Raspberry Pi & Pico ★★★★★ (30) $7.99 This item
Total for 4 items
$27.46

Products related to this item

Product Overview

The SHILLEHTEK HC-SR04 Ultrasonic Distance Sensor with RGB Light combines a reliable HC-SR04 ultrasonic module for straightforward distance measurement with an integrated RGB module of six LEDs that can be driven by common libraries to provide color-coded proximity feedback. It runs from a 5V DC supply and operates across a broad range of approximately 2 cm to 400 cm (1"–13 ft), suitable for robotics, obstacle detection, and DIY sensing projects. The unit is broadly compatible with popular microcontrollers and single-board computers, including Arduino and Raspberry Pi (Pico and Pico W), and can serve as a visual distance or status indicator. Practical, maker-focused, and easy to integrate into existing systems.

Frequently asked questions

It is broadly compatible with Arduino boards and Raspberry Pi Pico or Pico W projects. Use it with a controller that can provide a 5V supply and read the ultrasonic sensor’s digital trigger and echo signals.
ShillehTek supplies this as a ready-to-use module with headers already soldered. For setup, connect power, ground, the HC-SR04 trigger and echo lines, and the RGB LED control connection according to your controller and library.
The module runs from a 5V DC supply. The HC-SR04 distance section uses digital trigger and echo signals; when using 3.3V-only GPIO boards, confirm the echo signal is safely matched to the controller’s input limits.
It is well suited for robot obstacle detection, proximity alerts, and DIY distance sensing. The integrated six-LED RGB module can provide color-coded feedback, such as changing colors as an object moves closer or farther away.
Check for a stable 5V supply, shared ground, correct trigger and echo wiring, and a clear path to the target. Ultrasonic sensors can give inconsistent results on soft, angled, very small, or acoustically reflective surfaces.

Have other questions?

Chat with our US-based team — we usually reply fast.

Features & Specs

Ultrasonic Distance Sensor Accurate HC-SR04 module measures distance using ultrasonic pulses for obstacle detection and rangefinding.

RGB Visual Indicator Onboard RGB lighting provides clear color feedback to represent measured distance or status.

6-LED RGB Module Six integrated LEDs deliver vibrant color output compatible with common LED libraries.

Wide Detection Range Operates effectively between 2 cm and 400 cm for close and long-range measurements.

5V Power Supply Runs on a standard 5V DC supply for easy integration with typical development boards.

Microcontroller Compatibility Works with Raspberry Pi (including Pico/Pico W), Arduino, and other popular microcontrollers.

Documents

Full Product Manual ShillehTek HC-SR04 Ultrasonic Distance Sensor with RGB Light | ShillehTek Product Manual In-depth setup guide with wiring, code examples, and troubleshooting.

Related Videos

Customer Reviews