Grove - Red LED


Grove - Red LED is similar to the Grove - LED module in that it houses an LED light source. In addition, it also has a potentiometer on-board to manage the power requirements of the LED. The PCB of this module has mounting holes using which it can be mounted on the required surface for your prototype. For example, it can be easily used as a pilot lamp for indicating power or signal presence.


  • Provides an LED light source for your project

  • Flexibility to replace Red LED with any other LED, e.g., that of a different color since the LED is ‘pinned in’ into the LED holder rather than soldered on to the board

  • On-board potentiometer guarantees brightness control and interoperability with a higher range of input voltages


Follow these steps to build a sample circuit using this module:

1.Connect the LED module to the output side of your circuit (to the right of the power module). On the input side of the circuit, you may use a range of sensor based input modules (Grove - Light Sensor, Grove - Sound Sensor, Grove - Button or Grove - Slide Potentiometer).

2.Power up the circuit.

3.The LED will turn ON when the input module supplies a trigger: - If using with a momentary switch like the one on the Grove - Button module, simply press the button to turn ON the LED:

  • If using with a Grove - Slide Potentiometer, move the slider from the GND position to VCC and see how the brightness of the LED increases as the supplied voltage increases.

  • If using with a Grove - Light Sensor connected directly to the input side of the circuit, you should see the LED turn ON in bright light and turn OFF in the dark. If you want the LED to turn ON only in the dark, add a Grove - NOT module between the light sensor and the power module.

You can use either the Grove - USB Power module or the Grove - DC Jack Power module for the Grove circuit when using in standalone mode (without MCU). When used in conjunction with an MCU board such as an Arduino or Seeeduino and a Grove - Base Shield, the power is supplied to the circuit through the microcontroller board and there is no need to use any Grove Power Module.

With Raspberry Pi

Connect the LED to Port D4 and power on the Raspberry Pi, using the Grove wire connector.This is a test to make led blinking.You can connect to GrovePi+ with it as the picture below.

# GrovePi LED Blink example

import time
from grovepi import *

# Connect the Grove LED to digital port D4
led = 4


while True:
        #Blink the LED
        digitalWrite(led,1)     # Send HIGH to switch on LED

        digitalWrite(led,0)     # Send LOW to switch off LED

    except KeyboardInterrupt:   # Turn LED off before stopping
    except IOError:             # Print "Error" if communication error encountered
        print "Error"

Run The Program

  • Find the path to the file(According to your own path)
cd GrovePi/Software/Python/
  • Run Program
sudo python


This Grove module is available as part of the following Grove Kit Series:

The Grove Mixer Pack uses the Grove - LED module.

Alternatively, it can be bought stand-alone here at the Seeed Studio Bazaar.


Help us make it better

Thank you for choosing Seeed. A couple of months ago we initiated a project to improve our documentation system. What you are looking at now is the first edition of the new documentation system. Comparing to the old one, here is the progresses that we made:

  • Replaced the old documentation system with a new one that was developed from Mkdocs, a more widely used and cooler tool to develop documentation system.
  • Integrated the documentation system with our official website, now you can go to Bazaar and other section like Forum and Community more conveniently.
  • Reviewed and rewrote documents for hundreds of products for the system’s first edition, and will continue migrate documents from old wiki to the new one.

An easy-to-use instruction is as important as the product itself. We are expecting this new system will improve your experience when using Seeed’s products. However since this is the first edition, there are still many things need to improve, if you have any suggestions or findings, you are most welcome to submit the amended version as our contributor or give us suggestions in the survey below, Please don’t forget to leave your email address so that we can reply.

Happy hacking