Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code cleanup and tunning #4

Merged
merged 5 commits into from
Nov 1, 2019
Merged

Conversation

alromh87
Copy link
Contributor

  • Improved used interface and responsiveness
  • Removed delay on each current reading cycle
  • Enabled DEBUG define for printing messages to serial
  • Fixed detecting consecutive jams, halting and triggering alarm

TODO:

  • Avoid changing direction too quickly
  • Enable user configuration of params: current offsets, start span
  • Circuit & PCB

- Improved used interface and responsiveness
- Removed delay on each current reading cycle
- Enabled DEBUG define for printing messages to serial
- Fixed detecting consecutive jams, halting and triggering alarm

TODO:
- Avoid changing direction too quickly
- Enable user configuration of params: current offsets, start span
- Circuit & PCB
Now using state machine
Reverse time updated
Fixed jamming time span

Easier restarting after alarm

Added handling for jam during reverse (just stop and try again)
TODO: calibrate and document calibration process
Defined variables for config

Created macros for current conversion

TODO:
	Allow serial configuration
	Avoid direction change before total halt
Using for cycle in startup banner

Using external reference for AnalodRead
@davehakkens davehakkens merged commit 2c1cbab into davehakkens:master Nov 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants