TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (387 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (120 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 (140169 times)
  2. FAT32 Library (72625 times)
  3. Network Ethernet Library (57645 times)
  4. USB Device Library (47958 times)
  5. Network WiFi Library (43555 times)
  6. FT800 Library (42942 times)
  7. GSM click (30141 times)
  8. mikroSDK (28672 times)
  9. PID Library (27058 times)
  10. microSD click (26553 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 Tiny WS2812B NeoPixel Ring by Bit-Banging STM8S003F3's GPIO

Rating:

0

Author: Shawon Shahryiar

Last Updated: 2017-09-26

Package Version: 1.0.0.0

Category: Light control

Downloaded: 834 times

Not followed.

License: MIT license  

The trick is to run the STM8S003F3 micro at max. speed of 16MHz and to use raw coding instead of SPL. Here I found out that the datasheet timing diagrams need not to be fully matched. I also noted that powering the ring is a major issue as the LEDs draw significant amount of power which may cause voltage dips and brownouts for the driver MCU.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Driving Tiny WS2812B NeoPixel Ring by Bit-Banging STM8S003F3's GPIO" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Driving Tiny WS2812B NeoPixel Ring by Bit-Banging STM8S003F3's GPIO" changes.

Do you want to report abuse regarding "Driving Tiny WS2812B NeoPixel Ring by Bit-Banging STM8S003F3's GPIO".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
Other Compiler
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Library Blog

Bit-Banging WS2812B

Driving Tiny WS2812B NeoPixel Ring by Bit-Banging STM8S003F3's GPIO

Watch on YouTube
Project Setup

Project Setup

Driving Tiny WS2812B NeoPixel Ring by Bit-Banging STM8S003F3's GPIO

View full image
Logic High Timing Diagram

Logic High Timing Diagram

Driving Tiny WS2812B NeoPixel Ring by Bit-Banging STM8S003F3's GPIO

View full image
Logic Low Timing Diagram

Logic Low Timing Diagram

Driving Tiny WS2812B NeoPixel Ring by Bit-Banging STM8S003F3's GPIO

View full image

ALSO FROM THIS AUTHOR

SPI LCD with 74HC595 Shift Register

1

Code examples and libraries for driving alphanumeric LCDs with 74HC595 shift registers. There are two examples with ATTiny45. One example is based on MikroE's Soft SPI library and the other is based on bit-banging method. Both of them perform well.

[Learn More]

MCP23S17 Demo

0

MCP23S17 demo with PIC. The code is written with CCS PIC C compiler. https://www.youtube.com/watch?v=uKO2cAr-e2M

[Learn More]

Getting Started with Nuvoton 8-bit Microcontrollers – N76E003

0

A comprehensive tutorial on Nuvoton N76E003 microcontroller. Both Keil C51 and IAR complier code examples have been presented in this tutorial.

[Learn More]