Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1.62 KB

File metadata and controls

25 lines (20 loc) · 1.62 KB

ESP8266 Mind Monitor OSC Receiver Example by James Clutterbuck Mind-Monitor.com

alt image

This code sample is to demonstrate streaming live OSC brainwave data from Mind Monitor (connected to a Muse device), to an ESP8266 WiFi SoC, which can then interface with real world components, such as lighting, servos and in this example a color OLED display.

Requirements:

SSD1331 OLED Wiring:

ESP GND 3V3 D5 D7 D4 D1 D2
OLED GND VCC SCL SDA RES DC CS

Features:

  • Splashscreen showing Wifi SSID Name, IP Address and Port.
  • Live OSC bundle message processing from Mind Monitor.
  • Autodetection of Single or four channel absolute waves (/muse/elements/*_absolute).
  • Horseshoe indicator showing headband fit (/muse/elements/horseshoe, /muse/elements/touching_forehead).
  • Relative brainwaves (Delta, Theta, Alpha, Beta, Gamma) calculated from absolutes.
  • Automatic timeout to splash screen when no data received.