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

Pedal speed gain read out, cowboy 2 #38

Open
Chrrri opened this issue Mar 12, 2024 · 7 comments
Open

Pedal speed gain read out, cowboy 2 #38

Chrrri opened this issue Mar 12, 2024 · 7 comments

Comments

@Chrrri
Copy link

Chrrri commented Mar 12, 2024

Hi, my cowboy 2 stopped working and torque sensor has been changed but still nothing... Have been looking into your app and seems the torque sensor does work (read voltage of +/- 0,8v in rest) and increased when pedaling. Now i want to check how much pedal speed gain it gives but there is no value for raw and also the value itself is empty. Is that normal? Or something wrong with motor controller? Thanks for the nice app in any case! Super useful to be able to read out all data...

@Imaginous
Copy link
Owner

I have to look into the documentation to see if there is a actual current register.

Is your motor cable connected correctly and undamaged?

Especially check the point where it enters the motor.
Quite often this gets damaged.

@Chrrri
Copy link
Author

Chrrri commented Mar 12, 2024

Thanks for fast reply! And if motor cable is broken i wouldnt get an error/message in?

@Imaginous
Copy link
Owner

I will have a look tomorrow if there is a register in the motor controller which shows the actual current flowing.

This should raise if the connections are okay.
Also the hall sensors should react when spinning the wheel.

@Chrrri
Copy link
Author

Chrrri commented Mar 13, 2024

And how can I check hall sensors? Thx

@Imaginous
Copy link
Owner

You can read the following motor registers to get some extra data:

262 motor current Motor peak current Amps (raw/32 = value)
263 motor rpm Motor speed RPM
264 motor speed Motor speed % of rated rpm (raw/40.96 = value)
283 bit 0,1,2 should trigger following each other, this is hall sensor 1,2 and 3.

You can enter the addresses manually.

Note you get only RAW values. You have to calculate the real values by hand.

@Chrrri
Copy link
Author

Chrrri commented Mar 15, 2024 via email

@Imaginous
Copy link
Owner

I'm sure about 283... But there are more bits in there (16) so you only need to look (in binary) at the most right 3 bits of the number.

If you manually turn the wheel a few centimeters between each reading. The last 3 bits should toggle.

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