Gravity: LED Button Sensor

SKU: DFR0785

The Gravity LED Button Sensor is an illuminated switch with a transparent cap that lights up in various colors when pressed, providing visual feedback and enhancing interactive projects, especially with micro:bit.

Front of hand holding 5 vibrant LED push buttons for Arduino, square with indicator lights-DFRobot product sku:DFR0785 image.

Downloadable Resources

  • Docs
  • Tech Specs
  • Projects
  • 1. Example Code for micro:bit-Mind+ LED Feedback

    This article guides you through using micro:bit with Mind+ for LED feedback, including software setup, wiring, and sample code to enhance your electronic projects.

    2. Example Code for Arduino-LED Button Control

    This article provides a detailed guide on using Arduino to control an LED with a button press, including hardware setup, wiring diagrams, and a sample code for easy implementation.

    3. Example Code for micro:bit-MakeCode LED Feedback

    This tutorial offers a comprehensive guide on utilizing micro:bit with MakeCode to achieve LED feedback, including software setup, wiring instructions, and sample code implementation.

    4. Example Code for micro:bit-Mind+ LED Feedback

    This article guides you through using micro:bit with Mind+ for LED feedback, including software setup, wiring, and sample code to enhance your electronic projects.

    5. Example Code for micro:bit-MakeCode LED Feedback

    This tutorial offers a comprehensive guide on utilizing micro:bit with MakeCode to achieve LED feedback, including software setup, wiring instructions, and sample code implementation.

    6. Example Code for Arduino-LED Button Control

    This article provides a detailed guide on using Arduino to control an LED with a button press, including hardware setup, wiring diagrams, and a sample code for easy implementation.

    7. Example Code for micro:bit-MakeCode LED Feedback

    This tutorial offers a comprehensive guide on utilizing micro:bit with MakeCode to achieve LED feedback, including software setup, wiring instructions, and sample code implementation.

    8. Example Code for micro:bit-Mind+ LED Feedback

    This article guides you through using micro:bit with Mind+ for LED feedback, including software setup, wiring, and sample code to enhance your electronic projects.

    9. Example Code for micro:bit-Mind+ LED Feedback

    This article guides you through using micro:bit with Mind+ for LED feedback, including software setup, wiring, and sample code to enhance your electronic projects.

    10. Example Code for Arduino-LED Button Control

    This article provides a detailed guide on using Arduino to control an LED with a button press, including hardware setup, wiring diagrams, and a sample code for easy implementation.

    11. Example Code for micro:bit-MakeCode LED Feedback

    This tutorial offers a comprehensive guide on utilizing micro:bit with MakeCode to achieve LED feedback, including software setup, wiring instructions, and sample code implementation.

    12. Example Code for Arduino-LED Button Control

    This article provides a detailed guide on using Arduino to control an LED with a button press, including hardware setup, wiring diagrams, and a sample code for easy implementation.

    13. Example Code for Arduino-LED Button Control

    This article provides a detailed guide on using Arduino to control an LED with a button press, including hardware setup, wiring diagrams, and a sample code for easy implementation.

    14. Example Code for micro:bit-MakeCode LED Feedback

    This tutorial offers a comprehensive guide on utilizing micro:bit with MakeCode to achieve LED feedback, including software setup, wiring instructions, and sample code implementation.

    15. Example Code for micro:bit-Mind+ LED Feedback

    This article guides you through using micro:bit with Mind+ for LED feedback, including software setup, wiring, and sample code to enhance your electronic projects.

    16. Example Code for micro:bit-Mind+ LED Feedback

    This article guides you through using micro:bit with Mind+ for LED feedback, including software setup, wiring, and sample code to enhance your electronic projects.

    17. Example Code for Arduino-LED Button Control

    This article provides a detailed guide on using Arduino to control an LED with a button press, including hardware setup, wiring diagrams, and a sample code for easy implementation.

    Example Code for micro:bit-MakeCode LED Feedback

    This tutorial offers a comprehensive guide on utilizing micro:bit with MakeCode to achieve LED feedback, including software setup, wiring instructions, and sample code implementation.

    Specification

    Parameter Description
    Operating Voltage +3.3-5V (3.3V is recommended)
    Output digital
    Connector PH2.0-3P
    Dimension 27×26.5mm
    LED Colors Available red, yellow, green, blue, white

    Note: If pressed, this module will output high level and light LED up. If released, it will output low level and light LED out.

    Pinout

    Num Silk-screen Description
    1 D Control port
    2 + VCC
    3 - GND

    Was this article helpful?

    TOP