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

Pinout not consistent across M3 builds #10

Open
tamccauley opened this issue Mar 18, 2022 · 3 comments
Open

Pinout not consistent across M3 builds #10

tamccauley opened this issue Mar 18, 2022 · 3 comments

Comments

@tamccauley
Copy link

tamccauley commented Mar 18, 2022

I got my Keiser M3 working with this code, modified slightly for my display and changes to the I/O. It appears my bike's I/O is different from the pinout identified by KBikeBLE. Below is what I am using for my bike and it is working with RGT Cycling app. Thanks so much for this development.

My Keiser M3 Serial No: 080118 (which means built 2008 - Jan 18)
Keiser M3 interface through the RJ9 4p4c jack:

  Red     - CRANK_PIN - crank switch to ground (dry switch, not Hall effect)
           To a digital input. Transient protection is recommended.
  Yellow  - RESISTANCE_TOP - 10K magnetic brake position sense pot high side
           Use a digital output so it can be turned off to save power
  Green   - RESISTANCE_PIN - magnet brake position sense pot wiper
           To an analog input channel
  Black   - GROUND - magnetic brake position sense pot low / crank switch low side

28Dec2022
Just a note, The Digikey Part Number 1175-2286-ND with description CABLE MOD 4P4C PLUG TO PLUG 7' is the cable I used for this project. It reverses the conductors order from one end to the other. This caused me problems until I figured it out :( The above coloring is referenced at the original cable by the crank.

@ajs123
Copy link
Owner

ajs123 commented Mar 18, 2022

Thanks for noting this! The original test bike is from 2012.

Did you tap into the Keiser cable, or are you using a standard RJ9 handset cable? If a Keiser cable, are you able to see the colors from left to right in the RJ9 plug?

For now, I updated the HOWTO with a recommendation to check the colors as described at the end of the document.

In any event, it's so nice to see this working for other people!

@tamccauley
Copy link
Author

I ordered a 4p4c RJ9 connector and cable from digikey. It has the exact same color coding as the cable on the bike. To use the system, I disconnect the original cable from the jack by the flywheel and plug my cable in there. Black Red Green Yellow, left to right looking at the connector with the tab facing me is the orientation.

@ajs123
Copy link
Owner

ajs123 commented Mar 18, 2022

Thanks.

This picture of the pickup assembly shows Black-Red-Green-Yellow as well, and following the traces on the photo of the back indicates Pot_high - Pot_wiper - Crank_sw - Common.

According to the parts listings at Sportsmith, the parts are different but unfortunately the photos are all of the same part.

I can further update the HOWTO. Thanks again!

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

No branches or pull requests

2 participants