WIP: list of digital assets that could be used with arduino tricorder
- Home Screen: showing a very simplified equivalent of windows BGInfo
- RGB Color Scanner: OK
- Climate Scanner: OK - updates bar graphs to reflect data without requiring internal loops
- Left-side LED: OK, stacks on color scanner mode
- Power LED: Functional, will either cycle colors or show color based on battery power %
- Button Support: OK - using easybutton library pulled from elsewhere on github (see bottom of this readme)
- Microphone Spectrum
Visualization: OK - not the most accurate thing, but has a very high refresh rate. Uses AdafruitZero_FFT library for FFT calculations. - Thermal camera: OK
- Sound playback
via trigger on
separate board: OK - Magnetometer for
door close to sleep: OK - ID LED (8) color
change via
potentiometer: OK - Neopixels above buttons: OK - set #define NEOPIXEL_LED_COUNT 3 if you only have PWR / EMRG / ID wired up
- Tom Servo Mode: OK - repeating "canned" animation
Draw operations on the display from the arduino typically aren't that fast. The FFT draw code calculates a list of bar heights, then uses fillRect() to create the bars. At the end of the bar drawing operations, these bar heights are stored in a "previous" bar height array. From that point on, each bar draw operation calculates the difference between "new" bar heights and "previous". If "new" is larger than "previous", it only draws enough to extend the "previous" height to the "new" one. If "new" is less than "previous", it draws black lines to shorten the "previous" height down to the "new" one. This relative display update method removes the use of a full screen blank operation, and minimizes flickering.
All 3d models for shell are available on printables or thingiverse. Printables has latest version with USB-C breakout plug at top of body "hat".
Refrences used:
Adafruit board pinout map
Easybutton arduino library
Reference of all parts used in build demoed on youtube: