Hey all, I dropped a small but not insignificant firmware update adding some simple Infinite Impulse Response (IIR) notch and low pass filters, as well as an optional DC blocker if you only want to get the pulse waveform. You can use the 'F' command to toggle the filters (default ON for obvious reasons) and the 'X' command to add the DC blocker on. They will eat 50/60Hz AC noise for breakfast and ensure a smooth curve on pulse readings on the Delobotomizer regardless of power source. For the V1 HEGduino's I'm not entirely sure how well they work so I need some feedback, I'll be testing them within a day or two I just have to build another one real quick as I don't have any laying around. With any luck these filters will more or less rescue the V1 devices from their pretty serious signal quality problems.
Here's a SUPER noisy signal with and without the filters. I'm applying 3 of each 2nd order 50Hz and 60Hz notch filters (for depending on where you live), and 3 2nd order low pass filters. You can see how pulse is obscured by the significant high frequency noise.
For reference this is what the signal should look like without filtering if there is less environment noise. I'm pretty sure the above picture is due to my laptop battery crapping out.
Next is my new favorite and by far the simplest filter, the DC blocker. This will help me make pulse measurement much more accurate.
One thing that's kind of neat is that these filters are using some cool adaptive complex numbers math so you can see the filters scrub the signal in real time. I don't really understand them yet but they work like a charm. I'm stuck on the phase locked loop part which is a similar problem, which led me to integrating these in the first place. Here's what happens when you switch on the DC filter at first, the signals quickly trend to 0. It makes it plainly obvious how your pulse is even visible just with ambient light, and this is in my very dimly lit room. You can monitor pulse just with a phone camera especially if it's IR sensitive.
Yaaaaaay learning! To do it right you gotta do it yourself, so we're gonna do it all ourselves and kick BCI into a higher gear.