Use your forum account to login.

LOGIN

TOP Contributors

  1. MikroElektronika Team (778 codes)
  2. Shawon Shahryiar (263 codes)
  3. Alcides Ramos Zambrano (172 codes)
  4. S P (67 codes)
  5. Dany (66 codes)
  6. MikroBUS.NET Team (35 codes)
  7. NART SCHINACKOW (34 codes)
  8. Armstrong Subero (27 codes)
  9. Roman Toropov (26 codes)
  10. FOURNET Olivier (25 codes)

Most Downloaded

  1. Timer Calculator (96896 times)
  2. FAT32 Library (51075 times)
  3. Network Ethernet Library (45503 times)
  4. USB Device Library (35602 times)
  5. Network WiFi Library (32618 times)
  6. FT800 Library (28641 times)
  7. GSM click (22015 times)
  8. PID Library (21794 times)
  9. microSD click (18237 times)
  10. GSM 2 click (15090 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-24

Category: Light control

Downloaded: 270 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

Download Library [386.08KB]

Version 1.0.0.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

SSD1306 Monochrome 0.96 Inch (128 x 64) OLED Display Demo With STM32F051C8

0

SSD1306 Monochrome 0.96 Inch (128 x 64) OLED Display Demo With STM32F051C8. https://www.youtube.com/watch?v=AFRtelEJwuU

[Learn More]

Weather Prediction System with BMP085 Pressure Sensor and AVR

0

Weather Prediction System with BMP085 Pressure Sensor and ATMega16A. The pressure sensor measures temperature, atmospheric pressure and altitude. Based on pressure and actual local altitude weather patterns are predicted.

[Learn More]

93LC46B EEPROM Library Demo

0

This is a demo of 93LC46B SPI EEPROM library. To show how it works, I built a digital thermometer with DS18B20, and saved maximum and minimum temperature values in the EEPROM. The code doesn't use PIC's hardware SPI. Bit-banging method is used to keep the code generic. The code is written with CCS PIC C compiler.

[Learn More]