Gravity: LED Switch for Arduino / micro:bit (Yellow)

Self-locking LED push button in yellow: press to latch on (LED lights), press again to release, outputting high/low accordingly. Compatible with micro:bit and Arduino.
Pinout
- Signaldigital outputPH2.0-3P connector, position not asserted
Digital output from the self-lock switch; source page states High when latched on and Low when pressed again
Type · GPIOVoltage · logic output used with +3.3-5V supply; 3.3V recommended by DFRobot - VCCPH2.0-3P connector, position not asserted
Supply input for the Gravity LED self-lock switch module
Type · PowerVoltage · +3.3-5V, 3.3V recommended by DFRobot - GNDPH2.0-3P connector, position not asserted
Ground return for the Gravity LED self-lock switch module
Type · GroundVoltage · 0V reference
| Pin | Position | Type | Function | Voltage |
|---|---|---|---|---|
| Signaldigital output | PH2.0-3P connector, position not asserted | GPIO | Digital output from the self-lock switch; source page states High when latched on and Low when pressed again | logic output used with +3.3-5V supply; 3.3V recommended by DFRobot |
| VCC | PH2.0-3P connector, position not asserted | Power | Supply input for the Gravity LED self-lock switch module | +3.3-5V, 3.3V recommended by DFRobot |
| GND | PH2.0-3P connector, position not asserted | Ground | Ground return for the Gravity LED self-lock switch module | 0V reference |
Pin details
3 connections- Signaldigital outputPH2.0-3P connector, position not asserted
Digital output from the self-lock switch; source page states High when latched on and Low when pressed again
GPIOVoltage · logic output used with +3.3-5V supply; 3.3V recommended by DFRobot - VCCPH2.0-3P connector, position not asserted
Supply input for the Gravity LED self-lock switch module
PowerVoltage · +3.3-5V, 3.3V recommended by DFRobot - GNDPH2.0-3P connector, position not asserted
Ground return for the Gravity LED self-lock switch module
GroundVoltage · 0V reference
Start wiring
Analog · Single data line · Bare
SparkFun describes COM-09190 as a breadboard-friendly 12 mm square momentary pushbutton with a large button head and tactile click.
Module pins: VCC, GND. Schematik maps them to your board in the app.
Buttons & switches
105 other optionsMost parts here are simple contacts: press or release, open or closed. A few outliers — rotary switch potentiometer breakouts, NeoPixel potentiometers, wiper plungers — carry separate wiring requirements worth checking before you order.
12mm Domed Push Button Pack visual preview12mm Domed Push Button Pack
16mm Anti-vandal Metal Push Button - Carbon Black visual preview16mm Anti-vandal Metal Push Button - Carbon Black
16mm Anti-vandal Metal Push Button - Chocolate Brown visual preview16mm Anti-vandal Metal Push Button - Chocolate Brown
16mm Anti-vandal Metal Push Button - Crimson Red visual preview16mm Anti-vandal Metal Push Button - Crimson Red
16mm Anti-vandal Metal Push Button - Royal Blue visual preview16mm Anti-vandal Metal Push Button - Royal Blue
16mm Momentary Metal Illuminated Push Button - White LED visual preview16mm Momentary Metal Illuminated Push Button - White LED
16mm Panel Mount Momentary Pushbutton - Yellow visual preview16mm Panel Mount Momentary Pushbutton - Yellow
27.5mm Arcade Game Push Button - Yellow visual preview27.5mm Arcade Game Push Button - Yellow
33mm Arcade Game Push Button - Green visual preview33mm Arcade Game Push Button - Green
Adafruit ANO Rotary Navigation Encoder Breakout visual previewAdafruit ANO Rotary Navigation Encoder Breakout
$10.95
Adafruit LED Illuminated Triangle Pushbutton Red visual previewAdafruit LED Illuminated Triangle Pushbutton Red
$3.95
Adafruit NeoPot Clear Shaft Potentiometer with RGB NeoPixel visual previewAdafruit NeoPot Clear Shaft Potentiometer with RGB NeoPixel
$4.95
Related groups
4 groups
4x4 Matrix Keypad visual previewKeypads
Matrix keypads, analog ADKey boards, I2C keypad controllers, joysticks, and finished USB-HID keyboards are all here. Pin budget and simultaneous-press requirements are the splits that matter.
Input & controls · Keypads & controllers · 37 parts
ANO Directional Navigation and Scroll Wheel Rotary Encoder visual previewEncoders
Bare EC11 quadrature encoders, I2C navigation encoders, absolute AS5600 and 8421 encoders, slide and ribbon potentiometers, and digital I2C pots — covering most ways to read angular or linear position.
Input & controls · Rotary encoders · 28 parts
Adafruit 12-Key Capacitive Touch Sensor Breakout - MPR121 [STEMMA QT] visual previewTouch
MPR121, CAP1188, CAP1203 Qwiic slider and AT42QT breakouts are sensor ICs for electrodes you wire yourself. Simple single-pad modules like the TTP223B give you one digital output with no bus required.
Input & controls · Touch sensors · 14 parts
1.75mm PLA (1kg) - Black visual preview3D printing
DFRobot 1.75 mm PLA in 1 kg spools makes up the bulk of the group, in over 15 colors. Specialty options include PVA in both diameters, NinjaFlex flexible filament, Proto-Pasta conductive PLA, and wood-fill. OverLord printer spares and OverLord printers round out the hardware side.
Tools & prototyping · 3D printing · 53 parts