TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (405 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (133 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (141318 times)
  2. FAT32 Library (74154 times)
  3. Network Ethernet Library (58737 times)
  4. USB Device Library (48834 times)
  5. Network WiFi Library (44544 times)
  6. FT800 Library (44119 times)
  7. GSM click (30857 times)
  8. mikroSDK (29699 times)
  9. PID Library (27359 times)
  10. microSD click (27273 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Library

Driving Adafruit's Neopixel (WS2812) Strip with AVR's Hardware SPI

Rating:

4

Author: Shawon Shahryiar

Last Updated: 2016-11-16

Package Version: 1.0.0.0

Category: Light control

Downloaded: 1202 times

Not followed.

License: MIT license  

When it comes to driving WS2812 smart RGB LEDs the most difficult task is to overcome the extremely low timed time-slotting protocol as the LEDs don't have SPI/I2C/UART interface. One smart way to overcome this issue is to use the MOSI of hardware SPI at high speed. Please note though Arduino Nano is used, this is not an Arduino-based project.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Driving Adafruit's Neopixel (WS2812) Strip with AVR's Hardware SPI" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Driving Adafruit's Neopixel (WS2812) Strip with AVR's Hardware SPI" changes.

Do you want to report abuse regarding "Driving Adafruit's Neopixel (WS2812) Strip with AVR's Hardware SPI".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Library Blog

WS2812 with AVR's Hardware SPI

Driving Adafruit's Neopixel (WS2812) Strip with AVR's Hardware SPI

Watch on YouTube
WS2812 Smart RGB LED

WS2812 Smart RGB LED

Driving Adafruit's Neopixel (WS2812) Strip with AVR's Hardware SPI

View full image
Project Setup

Project Setup

Driving Adafruit's Neopixel (WS2812) Strip with AVR's Hardware SPI

View full image
Colours

Colours

Driving Adafruit's Neopixel (WS2812) Strip with AVR's Hardware SPI

View full image
Solid Colour

Solid Colour

Driving Adafruit's Neopixel (WS2812) Strip with AVR's Hardware SPI

View full image
Timing Diagram

Timing Diagram

Driving Adafruit's Neopixel (WS2812) Strip with AVR's Hardware SPI

View full image

ALSO FROM THIS AUTHOR

93LC46B EEPROM Library Demo

0

This is a demo of 93LC46B SPI EEPROM library. To show how it works, I built a digital thermometer with DS18B20, and saved maximum and minimum temperature values in the EEPROM. The code doesn't use PIC's hardware SPI. Bit-banging method is used to keep the code generic. The code is written with CCS PIC C compiler.

[Learn More]

GLCD Compass

0

A digital compass based on HMC5883L with graphical direction indicator. A regular monochrome GLCD shows heading with an animated arrow like a real-life compass. An ATMega168PA drives the GLCD and reads the Seeedstudio's Grove-based HMC5883L compass block.

[Learn More]