Commit Graph
95 Commits
Author SHA1 Message Date
skogaby c51fb8ad94 Merge pull request #2 from jmontineri/master
Fixed IR LED labeling on back silkscreen
2020-11-23 12:49:23 -06:00
skogaby 9e8560af95 Merge pull request #3 from Kevman323/bugfix
Fix -1 array bug
2020-11-23 12:48:31 -06:00
kevman323 49dc6ec27b Fix -1 array bug
Key 30 was being pressed every loop, making it stuck. The key divider code was accessing a negative array, overwriting other variables, causing this.
2020-11-22 07:38:03 -05:00
Jonathan 89e9a43f74 Fixed IR LED labeling on back silkscreen 2020-11-10 17:41:51 +01:00
skogaby 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. 2020-10-30 03:03:15 -05:00
skogaby 05055c5e06 Checkpoint commit 2020-10-21 18:26:52 -05:00
skogaby 3049a27f24 Making some adjustments to IR auto calibration 2020-10-21 03:07:39 -05:00
skogaby 37337d7c65 Forgot to initialize the calibration counter for AutoTouchboard 2020-10-21 01:53:56 -05:00
skogaby 4c6b5a02db Forgot to comment some debug statements 2020-10-21 01:19:40 -05:00
skogaby 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
2020-10-21 01:15:59 -05:00
skogaby f9e6f9d47a Improving auto calibration for the slider (only tested 32k): 2020-10-19 20:05:18 -05:00
skogaby f729a681c2 Experimenting with different autocalibration. WIP 2020-10-09 21:43:23 -05:00
skogaby c701d50d64 Bring legacy support back. Add slider auto calibration for 16k 2020-10-08 18:46:04 -05:00
skogaby 46d3c412b1 Slightly better thresholds for slider calibration 2020-10-08 00:14:25 -05:00
skogaby d42d667c55 The slider *finally* calibrates itself, probably needs a bit of tweaking to figure out the proper values for tuning sensitivity 2020-10-07 23:56:32 -05:00
skogaby 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 2020-10-07 22:58:53 -05:00
skogaby 971ac6bbfa Doing some repo re-organization to make directories clearer 2020-10-07 19:49:26 -05:00
skogaby 946f389f51 Readme update v2.1 2020-09-10 13:41:27 -05:00
skogaby 8b252c7aff Bringing in the PCB revisions for v2.1 2020-09-10 13:25:42 -05:00
skogaby 525bcdb6f6 Update the CAD for 32k acrylic cons, and account for the AliExpress IR hardware 2020-09-08 02:12:41 -05:00
skogaby bda0d69657 Fix a dumb bug in the AirSensor calibration code for determining if the first 4 keys are held 2020-08-06 01:57:54 -05:00
skogaby 81b0606926 Fix a bug in 32-key mode that made it possible to read DOUBLE_PRESS on a sensor 2020-08-02 17:14:51 -05:00
skogaby 0bb2a98894 Fix some issues that were preventing 32-key mode from working correctly 2020-08-02 17:09:19 -05:00
skogaby e73b7c034c UNTESTED: Initial support for 32-key builds, along with some general cleanup. 2020-08-01 04:07:19 -05:00
skogaby 048c48b3e7 Don't run benchmarking by default 2020-07-08 13:53:30 -05:00
skogaby 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 2020-07-08 13:51:26 -05:00
skogaby 9f8f1a2525 Fixes to the calibration procedure for the air towers 2020-07-08 00:27:44 -05:00
skogaby 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 2020-07-07 04:09:51 -05:00
skogaby b7955e99d7 Get my repo up to speed with Nicole's repo (acrylic CAD, lighted key dividers) 2020-07-06 22:33:18 -05:00
skogaby 6abc8b9405 Fix some analog air calibration logic 2020-03-29 03:32:47 -05:00
skogaby 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 2020-03-29 02:25:04 -05:00
skogaby 060337c938 Go back to only processing every other light update to better processing 2020-03-25 13:07:46 -05:00
skogaby 444ad7b8a5 Make the factory reset button actually clear the EEPROM and reset the config values 2020-03-20 20:00:06 -05:00
skogaby 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 2020-03-20 19:06:44 -05:00
skogaby 3ba3e3e4c3 Go back to 150 microsecond delays for the air sensors 2020-03-16 11:21:52 -05:00
skogaby 3b283bba4b Switch to a simple counter for the lights mode timeout instead of using millis() for better performance 2020-03-15 16:23:16 -05:00
skogaby fbbb992a72 Remove the lighting mode switcher control from the config UI 2020-03-12 18:33:05 -05:00
skogaby 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. 2020-03-12 18:07:55 -05:00
skogaby 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 2020-03-12 02:15:37 -05:00
skogaby 5207f9bbb0 Fix a silly issue with the sensitivities in AirSensor and AutoTouchboard (integer vs floating point division messing things up) 2020-03-12 02:11:15 -05:00
skogaby 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. 2020-03-12 00:11:44 -05:00
skogaby 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 2020-03-09 02:09:23 -05:00
skogaby 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
2020-03-07 18:35:43 -06:00
veroxzik 2df4511d11 Updated firmware for v1.1 board 2020-02-17 21:41:13 -05:00
veroxzik 1a806717c9 Updated main OpeNITHM board to v1.1
Code has not been updated yet, do not use
2020-02-16 20:09:55 -05:00
veroxzik dafa167723 Added Air Sensor PCB 2020-02-16 18:20:50 -05:00
veroxzik 2165ceeea0 Updated IR Led / Phototransistor suggestion 2020-01-13 19:48:51 -05:00
veroxzik 27e643e23b Merge remote-tracking branch 'upstream/master' 2019-12-28 21:29:25 -05:00
veroxzik e4c422876a Update readme.md 2019-12-23 13:57:11 -05:00
veroxzik a4f190daec Remove Pro Micro board files 2019-12-23 13:57:11 -05:00