-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Feature request: support for one wire PAS #525
Comments
#243 (comment) |
I'm adding support through lisp/ QML and packages. Stay tuned |
How did you manage to implement this? |
I can't figure out how to adapt the above code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently only quadrature sensors are supported but many (cheaper) PAS sensors use only a single wire.
There are 2 signal types for one wire PAS:
One pulse every time a magnet passes when pedalling forward, no signal when pedalling backwards
One pulse of a certain width when pedalling forwards, a different width when pedalling backwards. Backwards pedalling can be used for regen.
Ideally the servo pin should be the default as uart could be used for Bluetooth / display but ebikes are unlikely to use servo.
The text was updated successfully, but these errors were encountered: