# Gravity: LED Switch Kit

**Type:** Product page · **SKU:** DFR0789 · **Brand:** [DFRobot](https://core-electronics.com.au/brands/dfrobot-australia)
**Page:** https://core-electronics.com.au/gravity-led-switch-kit.html ([markdown](https://core-electronics.com.au/gravity-led-switch-kit.html.md))

This is a simple LED-illuminated self-lock switch button with a transparent cap. It’s just like a basic switch button, but it lights up...

## Pricing

- **Price:** $35.05 (inc GST) — $31.86 AUD, exc GST
- **Quantity discounts:** 6+ $30.27 (exc GST) · 12+ $29.00 (exc GST)

## Availability & dispatch

- Available with a lead time — expect dispatch between Aug 24 and Aug 26.

## Description

**Introduction**This is a simple LED-illuminated self-lock switch button. It’s just like a basic switch button, but it lights up color(red/yellow/green/blue/white) when pressed down, which gives you visual feedback. These little buttons can be used with micro:bit to realize various fun interactive projects, such as switch, backlight keyboard, music player panel, and recording control panel.

This is a self-lock switch button with LED light display.

**Experimental Cases**

Supports programming platforms like MakeCode, Mind+ and Arduino IDE.

**1.Mind+ Program Example**

**Program Effect**

Mind+ official download - Mind+ graphical programming software (mindplus.cc)For more fun, welcome to the Mind+ special column.

**2.MakeCode Program Example**

**Program Effect**

**3.Arduino Program Example**

**Program Effect**

  **Features**14. 1. 5 lighting colors of red, green, white, yellow and blue are optional.
15. 2. Gravity interface, convenient and easy-to-use.
16. 3.Large buttons for easy control.
17. 4.With the self-locking function, the LED light does not go out when the button is released.
18. 5.Various types of stickers are provided.
  **Applications**20. Backlight keyboard
21. Music player panel
22. Recording control panel
  **Specification**24. Working Voltage: +3.3-5V (3.3V is recommended)
25. Output: Digital signal
26. Interface: PH2.0-3P
27. Size: 27 x 26.5mm
28. LED Light Color: red, yellow, green, blue, white**Note:** The module comes with a self-lock function. When the button is pressed down, the module outputs High, and the LED lights up. When being pressed again, the module outputs Low and the LED turns off.
  **Documents**30. [Product wiki](https://wiki.dfrobot.com/_SKU_DFR0789_LED_Switch)
  **Parts List**32. Gravity: Digital Switch Button with LED x5 (red/ yellow / green/ blue/ white)
33. Digital Sensor Connector x5
34. Sticker x2

## Images

- [Product image 1](https://core-electronics.com.au/media/catalog/product/i/m/image_12593.jpg)
