Crowtail- LED Bar

From Elecrow
Jump to: navigation, search

Contents

Description

The Crowtail– LED Bar is comprised of a 10 segment LED gauge bar and an MY9221 LED controlling chip. 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: two red, three yellow,and five 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.
Model:CT008463L

Crowtail- LED Bar.jpg

Features

  • Input Voltage: 3.3V/5V
  • Each LED segment can be controlled individually via code
  • Intuitive display
  • Flexible power option, supports 3-5.5DC
  • Available demo code
  • Suli-compatible Library

Usage

1.Hardware connection

Connect the Crowtail- LED Bar to U1 port on Crowtail- Base shield,and then plug the base shield onto Arduino.

Led92254.jpg

2.Download Code and Upload You can download the library LED Bar librarythen extract it to libraries folder of Arduino.
Then open Arduino IDE, File -> examples -> LED_Bar -> Level, you can open the demo code.
Led03093033.jpg,
note: you should change the Clock pin to "1" and change the Data pin to "0" before you use this demo.

3.Download it to the Crowduino, you will see the led bar according to the order of the 2 red 3 yellow 5 green cycle blinking.

Led bar5.jpg

Resource

Personal tools
Namespaces

Variants
Actions
Elecrow Store
Navigation
Elecrow Products
Toolbox