127f340b6a
Fix a couple of very subtle bugs, it seems like air delay < ~125 causes sensor 11 only (?) to read lower during slider calibration than during the main gameplay loop. Also forgot to remove the call to calibrate the slider keys inside the constructor.
skogaby2020-10-30 03:03:15 -05:00
3049a27f24
Making some adjustments to IR auto calibration
skogaby2020-10-21 03:07:39 -05:00
37337d7c65
Forgot to initialize the calibration counter for AutoTouchboard
skogaby2020-10-21 01:53:56 -05:00
4c6b5a02db
Forgot to comment some debug statements
skogaby2020-10-21 01:19:40 -05:00
8051c5063f
(*) Make the air towers auto calibrate themselves instead of needing manual calibration (*) Improve the auto calibration for the slider (32k has been tested, 16k has not) (*) Move the calibration routines into the main loop, seems to improve consistency greatly (*) Simplify the reactive lighting code (*) Make the code style more consistent
skogaby2020-10-21 00:04:29 -05:00
f9e6f9d47a
Improving auto calibration for the slider (only tested 32k):
skogaby2020-10-19 20:05:18 -05:00
f729a681c2
Experimenting with different autocalibration. WIP
skogaby2020-10-09 21:43:23 -05:00
c701d50d64
Bring legacy support back. Add slider auto calibration for 16k
skogaby2020-10-08 18:36:47 -05:00
46d3c412b1
Slightly better thresholds for slider calibration
skogaby2020-10-08 00:14:25 -05:00
d42d667c55
The slider *finally* calibrates itself, probably needs a bit of tweaking to figure out the proper values for tuning sensitivity
skogaby2020-10-07 23:56:32 -05:00
46b98260d4
Remove a *ton* of legacy code. * No more support for boards < v2.0. * No more digital IR inputs * No more 16-key support * Probably other stuff I'm missing
skogaby2020-10-07 21:49:04 -05:00
971ac6bbfa
Doing some repo re-organization to make directories clearer
skogaby2020-10-07 19:49:26 -05:00
8b252c7aff
Bringing in the PCB revisions for v2.1
skogaby2020-09-10 13:25:42 -05:00
525bcdb6f6
Update the CAD for 32k acrylic cons, and account for the AliExpress IR hardware
skogaby2020-09-08 02:12:41 -05:00
bda0d69657
Fix a dumb bug in the AirSensor calibration code for determining if the first 4 keys are held
skogaby2020-08-06 01:57:54 -05:00
81b0606926
Fix a bug in 32-key mode that made it possible to read DOUBLE_PRESS on a sensor
skogaby2020-08-02 17:14:51 -05:00
0bb2a98894
Fix some issues that were preventing 32-key mode from working correctly
skogaby2020-08-02 17:09:19 -05:00
e73b7c034c
UNTESTED: Initial support for 32-key builds, along with some general cleanup.
skogaby2020-08-01 04:07:19 -05:00
048c48b3e7
Don't run benchmarking by default
skogaby2020-07-08 13:53:30 -05:00
d17977f5e9
Made some fixes to air calibration so it saves correctly, and add a config for DMA LEDs so people without still have the right RGB pin and type
skogaby2020-07-08 13:51:26 -05:00
9f8f1a2525
Fixes to the calibration procedure for the air towers
skogaby2020-07-08 00:27:44 -05:00
21575de9f0
Bring in fuee's changes for DMA LED updates and improved touch input response time. Overhaul the slider and air sensor calibration methods to be better, more consistent, and no longer have 'sensitivity' parameters
skogaby2020-07-07 03:10:55 -05:00
b7955e99d7
Get my repo up to speed with Nicole's repo (acrylic CAD, lighted key dividers)
skogaby2020-07-06 22:33:18 -05:00
6abc8b9405
Fix some analog air calibration logic
skogaby2020-03-29 03:32:47 -05:00
a6a134659a
Make the analog air sensors also calibrate within the constructor, and change up some of the analog air code now that I have a v1.1 to test with
skogaby2020-03-29 02:25:04 -05:00
060337c938
Go back to only processing every other light update to better processing
skogaby2020-03-25 13:07:46 -05:00
444ad7b8a5
Make the factory reset button actually clear the EEPROM and reset the config values
skogaby2020-03-20 20:00:06 -05:00
d88e3c51d1
Make the controller save all the configurable values to EEPROM and make the OpeNITHMConfig tool load the values from EEPROM and initialize the UI with the current controller values
skogaby2020-03-20 19:06:44 -05:00
3ba3e3e4c3
Go back to 150 microsecond delays for the air sensors
skogaby2020-03-16 11:21:52 -05:00
3b283bba4b
Switch to a simple counter for the lights mode timeout instead of using millis() for better performance
skogaby2020-03-14 11:33:34 -05:00
fbbb992a72
Remove the lighting mode switcher control from the config UI
skogaby2020-03-12 18:33:05 -05:00
369a4802f5
Make the controller firmware switch between serial and reactive lighting automatically. Start out reactive, switch to serial if a signal comes in, switch back to reactive after 5 seconds of no serial packets.
skogaby2020-03-12 18:07:55 -05:00
529e5f0ea7
Initial commit of the configuration GUI, it still needs a few options added and some slight firmware changes are needed for persisting values to EEPROM and providing the config tool its initial values on first connect
skogaby2020-03-12 02:13:28 -05:00
5207f9bbb0
Fix a silly issue with the sensitivities in AirSensor and AutoTouchboard (integer vs floating point division messing things up)
skogaby2020-03-12 02:11:15 -05:00
753365b71a
Add a single, unified serial processor that can handle both LED updates and config commands. Make lighting mode toggleable during runtime without needing a reflash. Overhaul the analog air sensor thresholding logic to be simpler and more robust. Make the sensitivity for the slider and analog air sensors configurable. Make the serial commands adhere to the format the config tool will use.
skogaby2020-03-12 00:11:44 -05:00
8bd29905f0
Fix a pin assignment in the v1.1 PinConfig.h. Remove the Touchboard class and make AutoTouchboard the canonical input method for the slider
skogaby2020-03-09 02:09:23 -05:00
66b402d74a
Fairly significant refactor. * Add a new class, AutoTouchboard, which is responsible for calibrating itself on a per-key basis using a user single-touch as the basis for calibration * Overhaul the main sketch to redo how input is handled (eliminate the keyboard callback concept). Don't double-read the air sensors * Process every incoming frame of light updates and fix sign error that kept the controller one update behind in addition to dropping updates
skogaby2020-03-07 18:25:31 -06:00
2df4511d11
Updated firmware for v1.1 board
veroxzik2020-02-17 21:41:13 -05:00
1a806717c9
Updated main OpeNITHM board to v1.1
veroxzik2020-02-16 20:09:55 -05:00