AI agents & screen readers: for a machine-readable, text-only catalogue, start at /llms.txt. Products are available as Markdown (/products.md, /products/{handle}.md) and JSON (/products.json, /products/{handle}.json).
Store

DFRobot

$36.40 |
In stock
No reviews yet

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

Stock availability

Ready to ship from Sydney
1 in stock
Available with leadtime
48 available
Estimated Delivery
Arrives
Disclaimer
View Markdown
Secure checkout

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
  • 1. 5 lighting colors of red, green, white, yellow and blue are optional.
  • 2. Gravity interface, convenient and easy-to-use.
  • 3.Large buttons for easy control.
  • 4.With the self-locking function, the LED light does not go out when the button is released.
  • 5.Various types of stickers are provided.

  • Applications
  • Backlight keyboard
  • Music player panel
  • Recording control panel

  • Specification
  • Working Voltage: +3.3-5V (3.3V is recommended)
  • Output: Digital signal
  • Interface: PH2.0-3P
  • Size: 27 x 26.5mm 
  • 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

  • Product wiki

  • Shipping List
  • Gravity: Digital Switch Button with LED x5 (red/ yellow / green/ blue/ white)
  • Digital Sensor Connector x5
  • Sticker x2
  • Jargon buster

    Plain-language definitions for the technical terms used above.

    Gravity
    Gravity is DFRobot’s plug-in connector system for sensors, motors and modules, using standard cables to reduce loose jumper wiring. It matters because Gravity-compatible parts can connect directly to these ports, while non-Gravity parts may need adapters or manual wiring.
    IDE
    Short for Integrated Development Environment, a program used to write, run and manage code. It matters because some learners prefer a traditional coding workspace instead of a guided notebook-style lesson.
    LED
    A light-emitting diode (LED) is a small electronic component that emits light when current flows through it in the correct direction. Because it only conducts one way, its polarity matters, and a through-hole LED must be soldered the correct way around to light up.

    Supplier page — dfrobot.com

    Supplier Description · 348.1 KB · Click any page to view full size

    Download PDF

    DFR0789 switch module schematics V1.0

    Schematic · 932.3 KB · Click any page to view full size

    Download PDF
    Stella
    Stella Expert

    Ask me anything about this product

    Maddy, co-founder of Little Bird

    Need help? We're here for you!

    Hi, I'm Maddy. My team and I are ready to help with your order or any questions.