- Introduced new config values
CALIBRATION_OFF_TIME_MS
andCALIBRATION_STEPS_OFFSET
to add a bit more user configuration to these functions.
- Updated README.md for release.
- Released project publicly on GitHub
- For calibration mode on Silent Dripper PCB, decreased time between drippers from 500ms to 100ms
- Changed the
digitalWriteFast
library from a git submodule to a plain directory so it can be shipped with bitbucket downloads.
In an effort to tune the drive config to make even less noise, changes were made to create more frequent, smaller steps.
- Decreased the amount of time between drips during calibration mode.
- Increased the step signal frequency from 9615.4hz -> 64516hz, we will ask for steps more often.
- Increased microsteps from 16->256, steps will be much smaller.
- Increased the max value for the steps per drip pot from 1500->20000.
- Increased the min value for the steps per drip pot from 200 -> 1000.
- Decreased the actuator enable time for stepper pumps from 400ms->333ms, this is the max time a drip can take on the TMCs.
- Cleaned up the
TIMER2_COMPA_vect
ISR to be less complicated, and therefor faster. - Added the digitalWriteFast library to make the
TIMER2_COMPA_vect
ISR faster. - Added a section to the main loop to automatically hardware disable the TMC's if they're unused for 3 seconds.
- Added support to control stepper motor pumps using the TMC2208.
- Added
config.h
to be able to switch between different platforms. The Cadence PCB, the Adafruit Motor Shield v2 and the new Silent Dripper PCB. - Used a lot of compiler switching to abstract out differences in these different platforms.
- Added a python script,
protocol_tester.py
to this repo to be able to debug the serial communication protocol. - Formatted the
c++
code usingclang-format
. - Added doxygen style docstrings to each of the functions/objects in the codebase.
- Added images/some history of the project to the top README.md
- Set different enable times/pwm values depending on if the firmware is using the Adafruit Motor Shield v2 or the MOSFETs on the Cadence PCB.
- Sound comparison script can drive steppers via TMCs and DC's via the prod mosfets.
- Commands will not be echo'd back to the host until they have been completed by the Arduino and can accept another command.
- Added compiler switches to use the Adafruit Motor Shield v2 as the pump driver
- Improved no-finger detection.
- Added sketch to mess around with driving stepper motors.
- Added per-motor values for motor enable time and pwm value to form better drips.