Gravity: LED Switch is a compact illuminated push-button module designed for interactive electronics and physical computing projects. This LED‑integrated control button combines tactile input with clear visual status feedback, making interface design intuitive and engaging. Built with a digital output and compatible with 3.3–5V logic systems, the illuminated switch module integrates easily with development platforms such as micro:bit and other microcontroller boards. The board includes a PH2.0‑3P connector for convenient plug‑and‑play wiring, enabling rapid prototyping of control panels, user interfaces, and educational electronics experiments.
Note: The module includes a self-lock function. Pressing the button once outputs a High signal and turns on the LED indicator. Pressing the button again outputs a Low signal and turns the LED off.

Figure: Connection Diagram
Integrated LED Status Feedback
An onboard indicator LED illuminates whenever the push button is engaged, providing immediate visual confirmation of the switch state. This illuminated control design simplifies debugging and improves usability in human‑machine interfaces. Multiple LED color options—red, yellow, green, blue, and white—allow visual differentiation between system states, making the lighted push‑button module suitable for control panels, interface dashboards, and interactive electronic builds.
Self‑Locking Toggle Operation
This digital input module uses a self‑locking push mechanism rather than a momentary switch. A single press toggles the output to HIGH while activating the LED indicator, and a second press returns the output to LOW while turning the light off. Such latching behavior enables straightforward control of devices or software states without continuous pressure, making the board useful for power toggles, mode switching, and recording or playback controls.
Plug‑and‑Play Gravity Interface
A standard PH2.0‑3P connector enables seamless integration within Gravity‑series ecosystems and other compatible sensor wiring systems. This compact interactive control module supports operating voltages from 3.3V to 5V and outputs a clean digital signal, simplifying connection with common microcontroller platforms and educational development boards while reducing wiring complexity during prototyping and classroom experimentation.
Typical uses include interactive control panels, backlit keyboard prototypes, simple toggle interfaces, and creative electronics projects. The illuminated switch board serves as a practical interface component for robotics builds, embedded system dashboards, and STEM Education demonstrations where tactile input and visual feedback enhance user interaction.
Nov 14, 2021
so good