TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (403 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (132 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 (140938 times)
  2. FAT32 Library (73500 times)
  3. Network Ethernet Library (58317 times)
  4. USB Device Library (48484 times)
  5. Network WiFi Library (44088 times)
  6. FT800 Library (43661 times)
  7. GSM click (30545 times)
  8. mikroSDK (29266 times)
  9. PID Library (27205 times)
  10. microSD click (26929 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: 851 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

Metal Detector with PIC12F675

0

Rudimentary metal detector with simple components and PIC12F675. The code is written with CCS PIC C compiler.

[Learn More]

STM8 Microcontroller Tutorials

1

Comprehensive tutorial on STM8 microcontrollers using free COSMIC C compiler, ST Visual Develop (STVD) IDE and STM8 Discovery Boards.

[Learn More]

XPT2046 12-bit SAR ADC Demo

0

XPT2046 is a well-known resistive touch controller IC. It is based on a 12-bit SAR ADC. It can be used in differential and single-ended modes. When used in single-ended mode we can use it just like regular ADCs. This example demonstrates how to use it in single-ended mode. Four analog channels measure four different sensors.

[Learn More]