Grove - Green LED

3 years ago 712
  • Description
  • Documents
  • BOM
  • Attachments
  • Members
  • Comments


Grove - Green LED

enter image description here

A general purpose LED module in Grove form factor, available in different colors.

The ingenious PCB design enables you to bend the LED to any position you want, which makes it easy to use it standalone, horizontal or Panel Mount(from left to right in below pics)


Standard Grove connector

Operate voltage: 3.3v/5v

Emitting Color: Green

For all Grove users (especially beginners), we provide you guidance PDF documents. Please download and read through Preface - Getting Started and Introduction to Grove before your using of the product.


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

Usage :

With Arduino

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.

![enter image description here][2]

  1. 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.

/*************************   2012 Seeedstudio   **************************
* 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

With Rasberry 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.

enter image description here

# 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

From:For more detail, please visit:


Grove-LED Socket Kit v1.3

Grove-LED Socket Kit v1.3


ID Name Designator Quantity
2 1K R1,R4 2
3 DIP Grove J1 1
4 Round - 1*2P-2.54 D1 1
5 1K R2 1
6 220 R3 1
8 S9013 Q1 1
9 100K R5 1


The owner does not allow comments in this project now

Comments (0)

如果需要转移工程请在个人中心 - 工程 - 工程高级设置 - 下载工程,下载后在 打开保存即可。
有问题联系QQ 3001956291 不再提醒
svg-battery svg-battery-wifi svg-books svg-more svg-paste svg-pencil svg-plant svg-ruler svg-share svg-user svg-logo-cn svg-double-arrow
We use cookies to offer you a better experience. Detailed information on the use of cookies on this website is provided in our Privacy Policy. By using this site, you consent to the use of our cookies.