28 Commits
Author SHA1 Message Date
veroxzik c9c77d91af Merge remote-tracking branch 'skogaby/master' into master 2020-12-18 19:52:32 -05:00
skogaby 1e6579196a Add preliminary full PCB support based on the current prototype, and fix some air tower issues 2020-12-15 00:23:29 -06:00
veroxzik 33b79bbef9 Fixed Serial Plot, added more debug defines 2020-12-13 17:54:58 -05: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 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 c701d50d64 Bring legacy support back. Add slider auto calibration for 16k 2020-10-08 18:46:04 -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 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 e73b7c034c UNTESTED: Initial support for 32-key builds, along with some general cleanup. 2020-08-01 04:07:19 -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 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 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 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 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 b8d43805e7 Added Air Sensor status indicator on startup 2019-12-23 13:57:11 -05:00
veroxzik 819a550007 Reduced IR sensor delay, Minimized NKRO calls, Rewrote NKRO key commands 2019-12-23 13:57:11 -05:00
veroxzik bed1de1e0b Added the ability to report back individual IR sensors as keyboard keys
Uncomment IR_SENSOR_KEY in Config.h to use
2019-12-23 13:57:11 -05:00
veroxzik 17a81e432b Update Firmware
Updates README
Updates firmware to support Teensy LC
(Selecting the Board in the IDE will switch the code between Pro Micro and Teensy LC)
Includes the necessary files for the NKRO profile for Teensy.
2019-12-23 13:57:11 -05:00
veroxzik c076988601 Create Firmware Folder
Arduino IDE will not load OpeNITHM.ino unless it's in a folder named OpeNITHM
2019-12-23 13:57:11 -05:00