Crowtail- LED Bar

From Elecrow
Revision as of 14:18, 22 August 2019 by Admin (talk | contribs) (Created page with "== 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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
  • Dimensions(mm):40.0(L)x20.0(W)x11.3(H)

Usage

1.Hardware connection

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

Led922541.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 4 green 1 bule cycle blinking.

Resource