HEG ESP32 - Open Source. Home of HEGduino!
Hemoencephalography meets highly affordable IoT! Now with WiFi and bluetooth! Incoming schematics, apps, and how-to's. New Delobotomizer repo here for drivers for the new hardware.
Join our little community at: HEG Alpha
Important HEGduino stuff you can find here:
- HEG Training Quick Start Guide
- Progressive webapp (WIP) for Desktop or Android. Use with Chrome for now
- HEGduino Assembly
- (For self-assembly only) Setting up Arduino to flash the ESP32 with our biofeedback software
- Updating the firmware via the web interface
- Lolin32 Firmware and Updates
- Huzzah32 Feather Firmware and Updates
What is it?
Hemoencephalography is a single sensor FNIRS device meant to give a basic indication of cerebral blood flow changes in the brain. Users then combine this indicator - the ratio of red to infrared light returned to the photodiode from the LEDs on your scalp or forehead - with simple visualization tools to help them increase or decrease metabolic/blood flow activity in the brain. This works like an odd form of physical therapy and is implicated as a powerful tool when combined in any brain health related therapies.
See the Device_Readme.txt for flashing instructions as well as available USB/WiFi/BLE commands and the changelog, including which dependencies are required for the Arduino IDE. We packaged the more minor dependencies in the Device_Drivers folder so you don't have to chase all of them down, just get Arduino and the ESP32 addon (github version) working.
Use the HEG_WIFI_BLE sketch in the arduino IDE on your respective ESP32. Pin definitions in HEG.h for the SDA/SCL and LEDs need to be adjusted according to your setup.
These builds are tested on the Lolin32 and Huzzah32 Feather respectively but should work on any board after modifying the pinouts in HEG.h
You can demo it now at a new mobile or desktop-installable webapp at hegalomania.netlify.app.
The USB support on the PWA is chrome-only until it is out of development for default web support. Install on desktop by opening the setting dropdown in Chrome (the 3 vertical dots in the top right of the browser) and click "Install HEG Alpha." It should be kept up to date automatically and work offline. Make sure you have the Earth textures on the Sunrise mode cached to use them offline, simply load them once to do this.
It's evolving fast. We will eventually be comparable to professional BCI software, free of charge. In the More folder, please find the DataCharting.html applet for analyzing and comparing your data with interactive charts.
Our website: HEG Alpha
Find us on CrowdSupply
See also (very deprecated): Arduino Nano V3 HEG