> **Source:** Core Electronics is an Australian maker-electronics retailer and manufacturer based in Newcastle, NSW, run by a team of makers and educators. We design and manufacture our own product lines (PiicoDev, CE originals) and are official retailers for iconic maker and industrial brands including Raspberry Pi, Arduino, Adafruit, SparkFun and DFRobot. Orders ship Australia-wide from our Newcastle warehouse. Prices are in AUD and include GST. Pricing, stock and dispatch on this page are generated from the store's live catalog. Full machine-readable index: https://core-electronics.com.au/llms.txt

# 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.

## How to buy

- **Build a cart:** compose `https://core-electronics.com.au/cart/link?items=DFR0789:1` (comma-separated SKU:qty pairs) and share the link. Opening it shows a confirmation page with live pricing and stock before anything is added to the cart.
- **Verify the cart first:** fetch `https://core-electronics.com.au/cart/link/DFR0789:1.md` for live line prices (inc & exc GST, quantity discounts applied), stock and dispatch estimates, and totals. Append `/to/{AU-postcode}` (or `/to/{country-code}:{postcode}`) before `.md` for delivery options and prices to that destination. Unknown, retired, or out-of-stock SKUs are flagged. (Query form `cart/link.md?items=...` also works but some robots parsers refuse query strings here.)
- **Checkout** is completed on-site and includes a captcha at the payment step. Share the cart link; checkout takes it from there.
- **Search the catalogue:** `https://core-electronics.com.au/search/{query}.md` (URL-encode the query; pages 2-3 at `search/{query}/{page}.md`; `search.md?q=` also works)
- **Payment methods, purchase orders, policies and contact details:** https://core-electronics.com.au/llms.txt
## 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)
