6 RGB LEDs Ultrasonic Ranger RUS-04(Ping)(One Pin)
Jump to navigation
Jump to search
File:TArduino6RGBUltrasonicRUS04.png
Summary
One-pin ultrasonic ranger module with six RGB LEDs. Measures distance and provides visual feedback via left and right LED groups, with analog and digital outputs.
Description
The 6 RGB LEDs Ultrasonic Ranger RUS-04 (Ping) detects distance using ultrasonic pulses on a single pin. It includes two groups of three RGB LEDs (left and right) for visual indication of distance or status, with adjustable brightness and initial color values. The module supports configurable pause time, ping duration, timeout, and measurement units (cm, inches, or raw time). Outputs include analog distance, a single digital distance output, timeout signal, and ping trigger/echo.
Diagram:
Properties
- LEDs – Integrated LED groups configuration:
* Brightness – Overall LED brightness. * Left – LEDs 0–2: Enabled (boolean), Initial Value (color). * Right – LEDs 0–2: Enabled (boolean), Initial Value (color).
- Pause Time – Minimum pause between measurements (ms).
- Ping Time – Duration of ultrasonic pulse (µs).
- Timeout – Maximum wait time for echo (ms).
- Timeout Value – Value returned when a timeout occurs.
- Units – Measurement units: rdCm, rdInch, rdTime.
Pins
Input Pins
- Left
* Led [0] In (color) * Led [1] In (color) * Led [2] In (color)
- Right
* Led [0] In (color) * Led [1] In (color) * Led [2] In (color)
- Clock – Clock input for measurement timing.
Output Pins
- Out (digital) – Single digital distance output pin connected to the board’s digital input.
- Out (analog) – Analog distance output.
- Timeout (digital) – Digital pin indicating timeout.
- Ping (trigger) / Echo (digital) – Digital pin for ultrasonic pulse trigger and echo detection.
Categories
- File:TArduinoSensorCategory.png Category Sensor – Sensor components.
- File:TArduinoLEDSCategory.png Category LED – LED control components.