Author: Siege Lion Chenzhe
Open source hardware homepage: Siege Lion Chenzhe-Lichuang EDA open source hardware platform (oshwhub.com)
CSDN Blog Home Page: Siege Lion Chenzhe - CSDN Blog
RGB LEDs_IO is a full-color LED dot matrix expansion board built for ART-PI open source hardware. It adopts ART-PI standard PCB size and can be stacked with ART-PI.
Onboard resources
WS2812B-Mini-V3 is an intelligent externally controlled LED light source that integrates control circuit and light-emitting circuit. It has a smaller size and its outer dimensions are the same as a 3535LED lamp bead, and each component is a pixel. The pixel contains an intelligent digital interface data latch signal shaping amplification drive circuit, a high-precision internal oscillator and a programmable constant current control part, which effectively ensures that the color of the pixel light is highly consistent.
The data protocol adopts the single-wire return-to-zero code communication method. After the pixel is powered on and reset, the DIN end accepts the data transmitted from the controller. The first 24-bit data sent is extracted by the first pixel and sent to the interior of the pixel. The data latch, the remaining data is shaped and and then forwarded and output to the next cascaded pixel through the DO port. Each time a pixel is transmitted, the signal is reduced by 24 bits. The pixel adopts automatic shaping and forwarding technology, so that the number of cascades of the pixel is not limited by the signal transmission, but is only limited by the signal transmission speed requirements.
With a port scanning frequency of up to 2KHz, there will be no flickering when captured by a high-definition camera, making it very suitable for high-speed mobile products.
With a RESET time of more than 280μs, it will not cause a false reset even if an interrupt occurs, and can support lower frequency and cheaper MCUs.
LED has the advantages of low voltage drive, environmental protection and energy saving, high brightness, large scattering angle, good consistency, low power and long life. Integrating the control circuit on the LED makes the circuit simpler, smaller and easier to install.
main feature
Mechanical Dimensions
Pin diagram
Pin function
serial number | symbol | Pin name | Function description |
1 | VDD | power supply | Power supply pin |
2 | DOUT | data output | Control data signal output |
3 | VSS | land | Signal ground and power ground |
4 | DIN | data input | Control data signal input |
Maximum ratings (unless otherwise stated, T A = 25°C, V SS = 0V)
parameter | symbol | scope | unit |
voltage | VDD | +3.7 ~ +5.3 | V |
Logic input voltage | V I | -0.3V~VDD+0.7V | V |
Electrical parameters (if no special instructions, T A =25℃, V DD =5V, V SS =0V)
parameter | symbol | minimum value | Typical value | maximum value | unit | Test Conditions |
Input Current | II | —— | —— | ±1 | μA | V I =V DD /V SS |
High level input | V I | 2.7V | —— | VDD+0.7V | V | DIN , SET |
low level input | vIL | -0.3V | —— | 0.7V | V | DIN , SET |
LED life | tled | 50000 | —— | —— | H |
Test current: 12mA Test room temperature: room temperature (25℃±5℃) |
ESD | —— | —— | 4 | —— | KV | HBM |
Switching characteristics (unless otherwise specified, T A =25℃, V DD =5V, V SS =0V)
parameter | symbol | minimum value | Typical value | maximum value | unit | Test Conditions |
transmission delay time |
tPL | —— | —— | 300 | ns |
CL=15pF, DIN→DOUT, RL=10KΩ |
Fall time | t THZ | —— | —— | 120 | μs |
CL=300pF, OUTR/OUTG/OUTB |
Input capacitance | C I | —— | —— | 15 | pF | —— |
LED characteristic parameters
parameter | symbol | color | Quiescent current <0.6A | test | |||
minimum value | Typical value | maximum value | unit | Conditions (operating current) | |||
light intensity | IV | Red | 300 | 310 | 500 | mcd | 12mA |
Green | 600 | 780 | 1000 | ||||
Blue | 200 | 215 | 300 | ||||
wavelength | λd | Red | 620 | 622 | 630 | nm | 12mA |
Green | 515 | 518 | 525 | ||||
Blue | 465 | 472 | 475 |
Data transfer time
T0H | 0 code, high level time | 220ns ~ 380ns |
T1H | 1 code, high level time | 580ns~1μs |
T0L | 0 code, low level time | 580ns~1μs |
T1L | 1 code, high level time | 580ns~1μs |
RES | Frame unit, low level time | 280ns or more |
Timing waveform diagram
Draw the following size board and frame in the CAD software according to the dimensional drawing officially given by ART-PI. The board and frame file has been imported into Lichuang EDA. Click on the picture below to obtain the PCB file of the board and frame. This is a standard size board. Frame file, based on which the user can adjust the size of the board frame to meet project needs.
The design of the circuit part of this project is not complicated. The part that needs to be considered is the port selection used by ART-Pi to control WS2812. In order to better use this ART-PI, the expansion board is designed to allow port selection, through a The 4-bit DIP switch can easily switch the control pins (PC7/PI3/PH10/PH9). At the same time, in order to more conveniently use the ART-PI external board to control the expansion board, a 3P connector is designed It is used to connect external third-party boards. The port switching circuit is shown in the figure below.
Since the selected WS2812 peripheral does not require any electronic components including capacitors, the circuit design is very simple. The LED array part circuit is shown in the figure below.
On the ART-PI board, the most distinctive feature is the two sets of 2*20P headers.
The PCB design of this project focuses on the array layout of 128PCS WS2812 lamp beads. Below is a picture of the array with the completed layout.
pending upgrade""""
pending upgrade""""
pending upgrade""""
pending upgrade""""
pending upgrade""""
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet