TOP Contributors

  1. MIKROE (2762 codes)
  2. Alcides Ramos (374 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (90 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 (139251 times)
  2. FAT32 Library (71747 times)
  3. Network Ethernet Library (57120 times)
  4. USB Device Library (47430 times)
  5. Network WiFi Library (43082 times)
  6. FT800 Library (42403 times)
  7. GSM click (29835 times)
  8. mikroSDK (28075 times)
  9. PID Library (26885 times)
  10. microSD click (26198 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: 1165 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

Implementing Sony IR Remote (SIRC) Protocol Decoder with AT89S51

0

Implementing Sony IR Remote (SIRC) Protocol Decoder with AT89S51. https://www.youtube.com/watch?v=WXw8DhcWxqI

[Learn More]

ITG3200 I2C Triple Axis Gyroscope Demo

0

ITG3200 I2C Triple Axis Gyroscope Demo with AVR. P.S: Though Arduino hardware are used, it is not a Arduino-based project. https://www.youtube.com/watch?v=_FRTLwbT3ic

[Learn More]

Driving Flexible Neopixel (WS2811) Strip with PICAXE08M2+ (PIC12F1840)

0

PICAXE is basically PIC micro with different branding. Here I used a PICAXE micro to drive a flexible Neopixel strip using hardware SPI. SPI is used along with the PIC's 32MHz internal oscillator as Neoppixels employ time-slotting trick to transfer data at a very fast rate with small timings. The code is written with CCS PIC C compiler.

[Learn More]