Close

2020.02.05: ​Github repo is now up

A project log for Motherflux0r

A handheld sensor tool with all the sensors I had lying around

j-ian-lindsayJ. Ian Lindsay 02/06/2020 at 04:240 Comments

The project was updated to link to the source, such as I've posted it. I will likely never post the entire source, so I'm sorry about that. But I will entertain questions.

MASSIVE driver rework. I re-wrote (or am in the process of re-writing) five open drivers for the sensors (TMP102, VEML6075, AMG88xx, TSL2561, BME280). They now run far more efficiently. If they attract use, I will submit PRs or collect them in their own repo. For now they are hard-forked into the repo I've linked. Refactor notes are in the respective header files. I will likely do the same for all of the other drivers, ultimately. But suffice it to say that I free'd up 28% of the CPU time that was being spent waiting on needless I/O in the AMG88xx driver alone.

Added a proper filter/buffer template to accept the data streams for the sensors. Not only does this make it easier to buffer the data, but also to collect elementary information from it (STDEV, min/max, RMS, etc). 

I soldered a TSL2561 breakout onto the forward-facing PCB. It runs beautifully. Still need to post a video.

Discussions