© 2022 EasyEDA Some rights reserved
1.Easy to use and quick to get started
2.The process supports design scales of 300 devices or 1000 pads
3.Supports simple circuit simulation
4.For students, teachers, creators
1.Brand new interactions and interfaces
2.Smooth support for design sizes of over 30,000 devices or 100,000 pads
3.More rigorous design constraints, more standardized processes
4.For enterprises, more professional users
Std EditionNettigo Air Monitor 0.3 I2C RGB LED Bar
License: TAPR Open Hardware License
Firmware can be found here: github.com/irukard/NAM-I2C-RGB-LED-BAR
Device is based on ATtiny84A with ten WS2812 Neopixel LEDs. It meant to be a slave I2C device driving Neopixels acordingly to recived commands from I2C master. To make it 3V3 compatible board itself doesn't have I2C pullups (and since I2C is open drain it doesn't change logic level during communication). ATtiny84A is powered from 5V rail to ensure propper logic level in communication with LEDs.
Device can be programmed with cheap USBASP ICSP programmer with 6-pin adapter (eg. NAR-307 + NAR-894). In case of fresh ATtiny84A chip straight from factory, don't forget to burn fusebits.
Communication protocol is as simple as it can be. Start transmition with correct address, send 5 bytes: mode, count, red, green, blue and stop transmission.
Example master code:
void lightLED(byte mode, byte cnt, byte red, byte green, byte blue) {
Wire.beginTransmission(LED_BAR_ADDRESS); // transmit to device, default 0x32
Wire.write(mode);
Wire.write(cnt);
Wire.write(red);
Wire.write(green);
Wire.write(blue);
Wire.endTransmission(); // stop transmitting
}
If you request information from device, it will return number of LEDs in slave device.
Nettigo Air Monitor I2C RGB LED Bar Schematics
Open in editorNettigo Air Monitor I2C RGB LED Bar
Open in editorID | Name | Designator | Footprint | Quantity | BOM_Supplier | BOM_Manufacturer | BOM_Manufacturer Part | BOM_Supplier Part |
---|---|---|---|---|---|---|---|---|
1 | WS2812B-B | LED1,LED2,LED3 | LED-SMD_4P-L5.0-W5.0-BL | 3 | LCSC | Worldsemi | WS2812B-B | C114586 |
2 | I2C 5V | J1,J2 | NETTIGO XH2.54-4P | 2 | LCSC | Ckmtw | 210S-1*4P L=11.6MMGold-plated black | C124378 |
3 | ATTINY84A-SSU/SSR | U1 | SOIC-14_L8.7-W3.9-P1.27-LS6.0-BL | 1 | LCSC | MICROCHIP | ATTINY84A-SSU | C144333 |
4 | Header-Male-2.54_2x3 | J3 | HDR-TH_6PIN-V-ROW2-COL3-MALE-PITCH2.54 | 1 | LCSC | BOOMELE | Header-Male-2.54_2x3 | C65114 |
5 | 1uF | C1 | 0603 | 1 | LCSC | SAMSUNG | CL10A105KB8NNNC | C15849 |
6 | GL5528 | R1 | RES-TH_L5.1-W4.3-P3.40-D0.5 | 1 | LCSC | Senba | GL5528 | C125627 |
7 | 10K | R2 | 0603 | 1 | LCSC | UniOhm | 0603WAF1002T5E | C25804 |
Unfold