Grove Seeed LED Bar

The Grove LED Bar is comprised of a 10 segment LED gauge bar and an MY9221 LED controlling chip.

Hello World

Import programSeeed_Grove_Shield_LED_Bar

Example program for the Seeed Grove shield, that uses Grove LED Bar by SeeedStudio on D5 connector (D6/D5 pins). This program raises the bar from 0 to 10.


Import libraryLED_Bar

Library for the LED Bar by Seeed Studio



It can be used as an indicator for remaining battery life, voltage, water level, music volume or other values that require a gradient display. There are 10 LED bars in the LED bar graph: one red, one yellow, one light green, and seven green bars. Demo code is available to get you up and running quickly. It lights up the LEDs sequentially from red to green, so the entire bar graph is lit up in the end. Want to go further? Go ahead and code your own effect.


  • Input Voltage: 3.3V/5V
  • Each LED segment can be controlled individually via code
  • Intuitive display
  • Can be cascaded for a larger display
  • Flexible power option, supports 3-5.5DC
  • Available demo code



Repository: Seeed_Grove_Shield_LED_Bar

You need to log in to post a discussion