DFR0438 Gravity: Bright LED Module


The Bright LED module is designed for some special application. It's using a very bright LED component as its light source. Compatible with DFRobot gravity 3-Pin interface, plug and play. What you need is just a digital signal, you can drive it directly. Besides, the LED is so bright that do not look directly at the light.


Board Overview

DFR0438 Gravity: Bright LED Module Board Overview



Connection Diagram

DFR0438 Gravity: Bright LED Module Connection Diagram

Sample Code

void setup() {
  // initialize digital pin 13 as an output.
   pinMode(13, OUTPUT);

// the loop function runs over and over again forever
void loop() {
  digitalWrite(13, HIGH);    // turn the LED on (HIGH is the voltage level)
   delay(1000);              // wait for a second
  digitalWrite(13, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);              // wait for a second


This simple sample code will turn on and off this LED module every one second. And the brightness is depend on the voltage it gets from Arduino. (Maximum is 5V.)


For any question/advice/cool idea to share, please visit DFRobot Forum.

More Documents