-
Notifications
You must be signed in to change notification settings - Fork 434
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
Stepper motor module not reporting settings #186
Comments
step/mm not $100-$102, try test this https://github.com/m5stack/stepmotor_module/blob/master/Firmware%20for%20stepmotor%20module/GRBL-Arduino-Library/report.cpp#L146 |
Ok, I see from the code that X, Y and Z steps/mm are $0, $1 and $2, but when I send $$, I am not getting the list indicated in the code.
Only this:
$$
$0mnoing seek, mm/min)
$21=100 (homing debounce, msec)
$22=1.000 (homing pull-off, mm)
ok
Apparently the code running on the device is not the same as what is shown in the link. Is there a way to reflash the stepper control module?
Thanks
From: EeeeBin <[email protected]>
Sent: Friday, August 30, 2019 3:35 AM
To: m5stack/M5Stack <[email protected]>
Cc: bsculley <[email protected]>; Author <[email protected]>
Subject: Re: [m5stack/M5Stack] Stepper motor module not reporting settings (#186)
step/mm not $100-$102, try test this https://github.com/m5stack/stepmotor_module/blob/master/Firmware%20for%20stepmotor%20module/GRBL-Arduino-Library/report.cpp#L146
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#186?email_source=notifications&email_token=ABJX4M3RKU5RJXLALOAWQDTQHB2N7A5CNFSM4ISDLAUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5QIWJQ#issuecomment-526420774> , or mute the thread <https://github.com/notifications/unsubscribe-auth/ABJX4M34W5BUWYTTRFTCCQ3QHB2N7ANCNFSM4ISDLAUA> . <https://github.com/notifications/beacon/ABJX4MYUBXMMINQ747KVJ7DQHB2N7A5CNFSM4ISDLAUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5QIWJQ.gif>
|
Tx buf not enough, so some data is lost. |
Ok, thanks. But the code referenced is a part of GRBL, not part of the Arduino sketch.
How can I apply any changes to the stepper controller module?
Is there a procedure to reflash the stepper controller?
From: EeeeBin <[email protected]>
Sent: Friday, August 30, 2019 10:13 AM
To: m5stack/M5Stack <[email protected]>
Cc: bsculley <[email protected]>; Author <[email protected]>
Subject: Re: [m5stack/M5Stack] Stepper motor module not reporting settings (#186)
Tx buf not enough, so some data is lost.
https://github.com/m5stack/stepmotor_module/blob/b09cfa1c261a34c6aba9f3d4a904382dfb001fb2/Firmware%20for%20stepmotor%20module/GRBL-Arduino-Library/serial.h#L34
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#186?email_source=notifications&email_token=ABJX4M6CDSRJ7UBJGM54BRDQHDJCNA5CNFSM4ISDLAUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5Q5QRQ#issuecomment-526506054> , or mute the thread <https://github.com/notifications/unsubscribe-auth/ABJX4M6PQY4RIBGH2ZZX4LLQHDJCNANCNFSM4ISDLAUA> . <https://github.com/notifications/beacon/ABJX4M7A6BMWRW27HQEYXKDQHDJCNA5CNFSM4ISDLAUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5Q5QRQ.gif>
|
sorry, reflash step controllers is not yet supported |
So how can I make it work?
From: EeeeBin <[email protected]>
Sent: Friday, August 30, 2019 11:31 AM
To: m5stack/M5Stack <[email protected]>
Cc: bsculley <[email protected]>; Author <[email protected]>
Subject: Re: [m5stack/M5Stack] Stepper motor module not reporting settings (#186)
sorry, reflash step controllers is not yet supported
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#186?email_source=notifications&email_token=ABJX4M2P56B3VREPLGKJ4U3QHDSEJA5CNFSM4ISDLAUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5REFTA#issuecomment-526533324> , or mute the thread <https://github.com/notifications/unsubscribe-auth/ABJX4M7IPMOEUJBNQKEAABDQHDSEJANCNFSM4ISDLAUA> . <https://github.com/notifications/beacon/ABJX4M5AFTEO3TCCTCYMAXLQHDSEJA5CNFSM4ISDLAUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5REFTA.gif>
|
Hello, what changes do you want to apply? if you want to change the steps you can solder the jumpers on the board to change the step modes (there are 3 different modes) |
The stepper motor module provides an I2C interface to GRBL. The '$$' command is supposed to return all the settings, but all I am getting is:
$$
$0mnoing seek, mm/min)
$21=100 (homing debounce, msec)
$22=1.000 (homing pull-off, mm)
ok
This does not include the steps/mm ($100-$102) settings without which the module is useless.
Maybe I have a module with downlevel firmware, but I have no idea how to upgrade it, or even if it's possible. Any help will be appreciated.
Bob
The text was updated successfully, but these errors were encountered: