DFRobot
Gravity: LED Switch x 5 Pack
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...
Get notified when back in stock
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
Applications
Specification
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
Shipping List
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.
Find this product in
Brands
Supplier page — dfrobot.com
Supplier Description · 348.1 KB · Click any page to view full size
DFR0789 switch module schematics V1.0
Schematic · 932.3 KB · Click any page to view full size
Related Tutorials
Free guides on learn.littlebird.com.au