Skip to content

ESP8266-based mesh to drive a swarm of mobile LEDs

Notifications You must be signed in to change notification settings

Thomas-Busch-Waterloo/LEDswarm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

LEDswarm

ESP8266/ESP32 based mesh to drive and synchronize a swarm of mobile LEDs

VIDEO: https://www.youtube.com/watch?v=Uttsf_RPKiI

In the video the nodes are using the awesome M5Stack Atom Matrix ESP32 dev kit: https://m5stack.com/collections/m5-atom/products/atom-matrix-esp32-development-kit

Using these awesome libraries:

Features

  • No central node needed
  • Automatic joining of wifi mesh
  • Mesh master election
  • Automatic synchronisation of pattern, pattern timing and BPM (for bpm based patterns).
  • Each node will work standalone when out of range of the rest (it will become it's own master)
  • On the Atom Matrix 5x5 rgb display the heart will pulse slowly when alone (out of range) and will pulse quickly when together in a mesh!

Exact synchronisation of patterns and timing is done by FastLED using the clock from the mesh instead of an internal timer:

uint32_t get_millisecond_timer() {
   return mesh.getNodeTime()/1000 ;
}

Usage

  • Make a new src/headers/.h file with your preferences (see other files for examples)
  • Edit platformio.ini with your board details and point to the header file (see other examples)
  • Compile & upload

TODO (Wish) list

  • Multi-node sequential patterns: nodes handoff patterns to each other in sequence
  • Control via an app or other interface

About

ESP8266-based mesh to drive a swarm of mobile LEDs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 94.3%
  • C 5.7%