TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (399 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (127 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 (140746 times)
  2. FAT32 Library (73289 times)
  3. Network Ethernet Library (58168 times)
  4. USB Device Library (48359 times)
  5. Network WiFi Library (43941 times)
  6. FT800 Library (43493 times)
  7. GSM click (30429 times)
  8. mikroSDK (29133 times)
  9. PID Library (27145 times)
  10. microSD click (26813 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: 845 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]

STM32F429ZI Discovery ILI9341 + STMPE811 Demo

0

This is a MikroC for ARM library package for the ILI9341 SPI-based 320x240 TFT display and STMPE811 I2C-based resistive touch controller available on STM32F429ZI Discovery boards.

[Learn More]

Measuring Voltage Levels with PIC's Analog Comparator

0

Usually ADCs are used for voltage measurements. What if you don't have ADC and still need to measure voltages? If you are PIC micro user then you can use any micro with built-in analog comparator to sense voltage levels by comparing the sense voltage vs the different internal reference voltage levels available for the comparator block.

[Learn More]