This page may contain NSFW and/or sensitive content. Proceed with caution.
EDGE-209 is a biofeedback device designed to hold a person as close as possible to orgasm without actually reaching orgasm. This practice is generally known as edging.
The project was previously known as Project Neurokink and focused solely on consumer-grade EEG brain activity sensors, but the name was changed after it became apparent that no single sensor was going to be able to provide data of usable quality.
Responsible for sampling the various sensors and outputting a frame at least once per input sample rate tick.
Tuples (containing sensor identifier, raw sensor value, and normalised signed-int8 sensor value) will be grouped as possible without violating the maximum time between samples (as determined by the input sample rate).
As such, a frame will contain between 1 and [number of sensors] records. A frame will also contain a UNIX timestamp as a float with enough precision to allow for milliseconds. It may also contain debugging information.
Frames are sent via MQTT, over IP, to the core logic.
Since the IA will deal with heterogenous input protocols, including raw pulse-per-event, realtime is very important. However, since the IA will also deal with high-level protocols like Bluetooth LE, a basic MCU is unlikely to be sufficient.
The ESP32 seems a good fit. More than capable of the sample rates needed, it offers plenty of GPIO and wire protocols, as well as integrated 802.11 and Bluetooth (vanilla and LE) stacks. The core clock can run at up to 240MHz, which is more than sufficient.
It is also Arduino-compatible for rapid prototyping.