Grove - LED Socket Kit


Grove - LED is designed for the beginners of Arduino/Seeeduino to monitor controls from digital ports. It can be mounted to the surface of your box or desk easily and used as pilot lamp for power or signal. Its brightness can be adjust by potentiometer.


  • Grove compatible interface

  • 3.3V/5V Compatible

  • Adjustable LED orientation

  • Adjustable LED brightness


Item Description
LED Control Mode Digital Pin of Arduino
Working Voltage 5V
Supply Mode Grove Interface

Get Started with Aduino

Here we show how to use Arduino to control the state of the LED.

1.Connect the LED to Base Shield’s digital port 2 with 4pin Grove Cable.Of course you can change to other valid digital ports if it’s necessary and the definitions of the port should be changed too.

2.Plug it onto the Arduino/Seeeduino. Connect the board to PC using USB cable.

3.Copy the demo code to your sketch, then upload to Arduino or Seeeduino board. Please click here if you do not know how to upload.

You will see the LED blink every second.

* File Name          : GroveLEDDemoCode.ino
* Author             : Seeedteam
* Version            : V1.1
* Date               : 18/2/2012
* Description        : Demo code for Grove - LED

#define LED 2 //connect LED to digital pin2
void setup() {
    // initialize the digital pin2 as an output.
    pinMode(LED, OUTPUT);

void loop() {
    digitalWrite(LED, HIGH);   // set the LED on
    delay(500);               // for 500ms
    digitalWrite(LED, LOW);   // set the LED off

Get Started 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


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