Skip to content

Releases: minipadKB/minipad-firmware

2024.606.1 - Proper digital key support

06 Jun 10:15
666e09e
Compare
Choose a tag to compare

This release brings proper support for digital keys. Until now, the implementation of digital keys has been poorly as there was no INPUT_PULLUP on the pins by default, which is annoying to users of the firmware as in almost all cases this is required for mechanical switches or simple push buttons to work.

This and more is changed now so that digital keys can easily be supported out-of-the-box.

Changes

  • pinMode(pin, INPUT_PULLUP) is now invoked on every pin assigned to a digital key
  • Instead of HIGH, LOW is now considered as pressed down on digital keys

2024.309.1 - Auto-calibration & Gauss correction

09 Mar 01:47
a201dc2
Compare
Choose a tag to compare

This release was long overdue. Auto-calibration has been added, removing the need to manually calibrate the rest- and down positions via minitool.
It also adds calculations to correct the slightly non-linear relation between magnetic field strength (what the sensor measures) and the actual distance of the magnet.

Features

  • Calibration is now automatically performed, with a definition AUTO_CALIBRATION_DEADZONE to introduce a deadzone, considering for rare peaks towards the boundaries
  • Added correction of the relation between the magnetic field strength (the analog value) and the actual, physical distance of the magnet from the sensor. (Co-authored by @RephlexZero)

Changes

  • Removed the out <bool> command
  • The whole codebase went under huge re-structuring, improving code quality and maintainability. More can be found at #56

2023.813.1 - QoL Update

13 Aug 12:14
c3cb616
Compare
Choose a tag to compare

This release does a lot of QoL changes, as well as doing the final preparations of the firmware for compabitility with the upcoming configuration software, minitility!

This update was supposed to include the new auto-calibration functionality but it was deemed to not be production-ready, therefore all current changes are pushed with this smaller update.

Features

  • The out command now supports specifying no parameter at all, in which case it outputs the sensor values once
  • The fields lastSensorValue and lastMappedValue have been added to the HEKeyState, allowing to access them across the firmware
  • The key chars supported are no longer restricted to a-z, any character from 0-255 can now be chosen, including modifier keys
  • The hkey/dkey.char command now allows characters like a or 7 as the parameter, instead of their ASCII number equivalent

Bug Fixes

  • Fixed rare cases in which command handling failed

Changes

  • Serial input handling is now using Arduino's built-in serialEvent function
  • All includes of stdint.h have been replaced with C++'s cstdint
  • The default values of the configuration have been migrated from the getDefaultConfig function to their structs

2023.516.1 - Digital key support, support for more keys!

16 May 22:02
31ef8d4
Compare
Choose a tag to compare

This release adds support for digital keys, which might not be useful for minipad owners yet, but is for people DIY-ing a keypad or messing around with the firmware, as well as the collaboratoring commercial products of the Minipad Project.

This release also prepares the communication with minitility, our configuration software which is coming closer to be ready to use.

Features

  • Added support for digital keys (push buttons, mechanical switches, ...)
  • Added debounce for digital keys with a default of 50ms
  • Made the amount of hall effect/digital keys fully dynamic, not limited to 2-3 but rather limited to the hardware specifications of the RP2040 micro controller

Bug Fixes

  • Refactored getArgumentAt function
  • Fix name command not null-terminating

Changes

  • Migrated info retrieved via the ping to the get command
  • Split the key identifier in the serial protocol into hkey (hall effect) and dkey (digital)
  • Changed the command for changing the key pressed from key to char
  • Removed config versions other than the main Configuration object, removed mutations
  • Switched from hardcoded pin arrays to a formula macro
  • Changed the default values for rest and down positions to 4095 and 0 respectively
  • Added definition for reversing the sensor values

2023.410.1 - Initial release!

10 Apr 11:08
f3445d3
Compare
Choose a tag to compare

Initial release.

Features

  • Full serial communication for minitility
  • Support for a custom actuation point
  • Support for Rapid Trigger, Continuous Rapid Trigger and custom up/down sensitivity
  • Support for changing keys
  • Support for enabling/disabling keys
  • Support for 2-3 keys
  • Simple moving average implementation for analog stability
  • Config being saved in EEPROM

Bug Fixes

None in this release.

Changes

None in this release.