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 (141458 times)
  2. FAT32 Library (74301 times)
  3. Network Ethernet Library (58845 times)
  4. USB Device Library (48909 times)
  5. Network WiFi Library (44679 times)
  6. FT800 Library (44215 times)
  7. GSM click (30933 times)
  8. mikroSDK (29804 times)
  9. PID Library (27403 times)
  10. microSD click (27333 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: 1205 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

DHT21 and DHT22 Sensor Demos with AVR's Interrupt and Timer

0

These are demos of DHT21 and DHT22 relative humidity-temperature sensors using interrupt and timer of an AVR micro. Interrupt + timer based method don't block program sequence unlike polling methods and so the CPU can do other tasks. Falling edge interrupt is used to detect the output from the sensor and a timer detects pulse widths.

[Learn More]

ILI9341 320x240 TFT Touch Display 16-bit Parallel (8080) Mode Demo with ATMega2560

0

This is a library demo for ILI9341 TFT display controller using 16-bit parallel port/8080 interface. Although MikroE compilers support for this TFT controller and many others, I coded this library for anyone using any compiler. I used an Arduino Mega2560 and TFT shield but the code is written with MikroC for AVR.

[Learn More]

Keyes NTC Thermistor Module Thermometer Demo

0

Keyes NTC thermistor module thermometer demo with PIC16F877A. The code is written with CCS PIC C compiler.

[Learn More]