💾 Archived View for rawtext.club › ~hut › psylink-data-cleaning.gmi captured on 2023-09-08 at 17:56:02. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-03-01)
-=-=-=-=-=-=-
The arduino code now produces samples at a consistent 1kHz. I also moved the serial read operations of the calibrator software into a separate thread so that it doesn't slow down on heavy load, causing the buffer to fill up, and the labeling to desynchronize. I am once again confused and surprised that I got ANY useful results before.
moved the serial read operations of the calibrator software into a separate thread
I disconnected analog input pin 7 from any electrode, and used it as a baseline for the other analog reads. By subtracting pin 7 from every other pin, the noise that all reads had in common was cancelled out. Hope this doesn't do more harm than good.
I also connected the ground line to one of the wrist electrodes rather than to the palm, since the palm electrode tended to move around a bit, rendering all the other signals unstable.
And did you know that the signals looks much cleaner when you unplug the laptop from the power grid? :p
I'll finish with a video of me trying to play the frustrating one-button jumping game Sienna by flipping my wrist. This doesn't go so well, but maybe this game isn't the best benchmark :D My short-term goal is to finish level 1 of this game with my device.
Video link: data/myo/video4-sienna.webm
View the entire blogchain "psylink"
Previous post in blogchain: Cyber Gauntlet +1
Next post in blogchain: Multiplexers
Written on 2021-04-14 by hut