kevman323
9f01204bc7
Preliminary Big Board V2 changes
2021-02-26 23:25:00 -05:00
skogaby
ee5dd7542f
Merge pull request #8 from veroxzik/master
...
Fixes Serial Plot define, wraps air sensor serial output in define
2021-02-24 14:00:14 -06:00
Mike Park
2cb15f3a49
Fix for two finger presses not working on 16k.
...
Before, if a key was already being pressed, it would not check for increased pressure to go from single to double press.
Now if the key is currently single pressed, it checks if the threshold for double press has been passed.
The delta threshold for 16k has also been increased, as the previous one was too low and was giving double press even for only one finger.
2020-12-20 18:15:19 -08:00
veroxzik
c9c77d91af
Merge remote-tracking branch 'skogaby/master' into master
2020-12-18 19:52:32 -05:00
skogaby
f1dd7beb8a
Merge pull request #6 from veroxzik/master
...
Merging upstream repo to restore lost PRs due to a botched git push
2020-12-17 18:56:46 -06: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
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
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
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
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
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
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
eeedc87200
Serial Plot is now normalized, updated schematic for 51k recommendation
2019-12-23 13:57:11 -05:00
veroxzik
31c7be0d53
Adds short calibration warning at startup, updated readme
2019-12-23 13:57:11 -05:00
veroxzik
1224fd5adc
Addition of Serial-controlled RGB lights
...
Serial-controlled lights expects the following format:
Two header bytes, both 0xAA.
96 LED bytes, in BRG format, starting from the left of the slider and alternating between key and separator.
Two footer bytes, both 0xDD.
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
0d1744196a
Correction to USBOutput.h/.cpp
2019-12-23 13:57:11 -05:00