TOP Contributors

  1. MIKROE (2659 codes)
  2. Alcides Ramos (356 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (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 (136941 times)
  2. FAT32 Library (70063 times)
  3. Network Ethernet Library (56015 times)
  4. USB Device Library (46330 times)
  5. Network WiFi Library (41945 times)
  6. FT800 Library (41264 times)
  7. GSM click (29050 times)
  8. mikroSDK (26465 times)
  9. PID Library (26442 times)
  10. microSD click (25402 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: 773 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

MODBUS Slave Example

0

This project demos a custom MODBUS RTU slave with an AVR. It has 4 coils, 4 discrete inputs, 2 input registers that store temperature data in degree Celsius and Kelvin from a DS18B20 temperature sensor and two holding registers that behave like scratchpad locations.

[Learn More]

7 Segment Cricket with PIC10F200 and 74HC595

0

Cricket is a very popular game in Commonwealth countries. This device is a simple cricket game emulator. It is based on a PIC10F200, 74HC595 and a tiny seven segment. There a button which users must press. This generates a random number which corresponds to runs, wickets, etc. The code is written with CCS PIC C compiler.

[Learn More]

NodeMCU (ESP8266) WiFi Hygrometer

0

NodeMCU (ESP8266) WiFi DHT21-based hygrometer (HTML Server with WiFi in Station - STA mode). The code is written with Arduino IDE.

[Learn More]