Skip to content

Example of working with NeoPixel (WS2811, WS2812B stripe) using ESP8266.

Notifications You must be signed in to change notification settings

iromeo/iot_esp8266_neopixel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project shows how to work with NeoPixel + ESP8266 using PlatformIO + FastLED library and CLion IDE.

Project is supplementary material for my ESP8266 + NEO Pixel blog post.

Perquisites

You may use any IDE and toolchain for IoT coding, e.g. Arduino IDE. My preferred way is to use CLion by JetBrains as and IDE + PlatformIO as toolchain (compiler, SDK, ..).

For this project please install:

Used hardware:

  • ESP8266 module (this project configured for 'WeMos D1 Mini' or 'LoLin NodeMCU 3')
  • WS2811 Neo Pixel LEDs or WS2812B LEDs strip

Setup

  • After you cloned git repo run in terminal
$ cd $YOUR_CLONED_PROJECT_DIR$
$ pio init --ide clion

This will configure project files for CLion Code Insight features support

  • Wire your micro controller and Neo Pixels as shown in by blog post or see files ./doc/esp8266_ws2811_wiring.png or ./doc/esp8266_ws2812B_stripe_wiring.png

  • Open CLion IDEA, chose "File | Open..." dialog to open this project

Upload FW

In CLion chose PLATFORMIO_UPLOAD target (see doc/clion_platformion_upload_fw_target.png screenshot). Press Build button near target name.

P.S: According to PlatformIO + CLion integration implementation you are suppose to use Build button instead of Run to launch PlatformIO targets.

About

Example of working with NeoPixel (WS2811, WS2812B stripe) using ESP8266.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published