Skip to content

HEGduino with ESP32: Hemoencephalography meets highly affordable IoT!

License

Notifications You must be signed in to change notification settings

HiLivin/HEG_ESP32

 
 

Repository files navigation

HEG ESP32 - Open Source. Home of HEGduino!

Hemoencephalography meets highly affordable IoT! Now with WiFi and bluetooth! Incoming schematics, apps, and how-to's.

Join our little community at: HEG Alpha

Important HEGduino stuff you can find here:

What is it?

Hemoencephalography is a method that allows you to measure and influence control over the bloodflow in regions your brain. It's just like any other pulse oximetry method, but allows for a type of physical brain exercise. HEG devices typically cost hundreds or thousands on the market, so this is a much better solution for people wanting to get their feet wet with biofeedback and do a cool DIY project to understand the extremely straightforward science better. HEG biofeedback was originally developed as a safe and non-invasive method to treat ADD in the late 90s, later expanding to treating disorders like PTSD and Depression due to common stress symptoms like Hypofrontality being measurable with this tool.

It is implicated for much more, but there's not a whole lot of data (which this 20 dollar version could solve). HEG biofeedback is informally called "brain pushups" for how it enables one to literally work out their brain to enable better bloodflow and oxygenation, therefore cognitive functioning and self-control. It only takes 5-10 minutes in the first session to gain control of bloodflow in the targeted area. I don't recommend doing more than 10 minutes at a time with this thing. Be wary of fatigue or headaches the first few times when you start gaining control of your bloodflow. View the resources section of the [About Page] on our website (https://hegalpha.com/about) to educate yourself more deeply on this subject.

Explanation

Software

Arduino Setup

See the Device_Readme.txt for flashing instructions as well as available USB 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

All Open Source Games, Tools, & APIs.

platforms

On the firmware you will find a WIP Async Web Server with cross-platform support, enabling plug-and-play and global networking features. We are creating an open source combined therapy and research toolset, using the perks of an online-enabled device and all of the diverse tools available for web front and backend. This is a living project so stay tuned!

You can demo it now via our Chrome Extension (via the Software folder) or right on board the firmware, it's evolving fast. We will eventually be comparable to professional software, free of charge. In the More folder, please find the DataCharting.html applet for analyzing and comparing your data with interactive charts.

Screenshot

Data Charter (WIP) CSV analyzer for the web app (also found on our Data page on our website)

HEGCharter

More Links

Our website: HEG Alpha

Find us on CrowdSupply

and OpenBCI

Special thanks to the Biocomp/Biofeedback Institute of LA, Brain Trainer, and AlasKit

See also (very deprecated): Arduino Nano V3 HEG

About

HEGduino with ESP32: Hemoencephalography meets highly affordable IoT!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 43.0%
  • JavaScript 33.9%
  • HTML 13.8%
  • C 7.0%
  • CSS 2.3%