Closed doc2005 closed 5 years ago
The magic constants of 577 and 1022 in FSCalibration are based on 3200 steps per revolution, too. This is a severe bug, as the Watterott kit comes with a 400 steps/revolution stepper motor, i.e. 6400 steps with default microstepping. As a result, the Watterott kit is currently plain broken.
Fixing the above constant and using something like "65/5*self.steps_five_degree" in place of those constants leads to working scans, finally.
The stepper motor from the FabScan Pi kit is a NEMA 17 with 200 steps/rev.
@awatterott There is definitely something wrong in your shop. I got a 17HM3410, your website claims it has 200 steps/rev, but the data sheet you offer as download says it's .9 deg/step, which is 400 steps/rev.
Based on my experience in getting the kit to work (it still produces inferior results, but at least the shape is now roughly correct), the data sheet is right. With 3200 steps (200*16 microsteps), output is utter garbage, objects come out twisted and incomplete. With 6400 it is at least roughly the right shape.
I will look into it. The 17HM3410 is listed in our ERP as 1.8° motor, but this is wrong.
For the record, I found the reason for my remaining quality problems, they are not related to this bug or the kit itself, it's a calibration problem.
As for the issue at hand, see PR #120
The 17HM3410 is included with the latest kits and we will update the software and documentation. Thank you for the PR.
I will replace the hardcoded values by config values in the new version. Thanks for reporting.
@jwalt can you send me some pictures of the garbaged scans. I want to add them to the troubleshoot section of the documentation.
@mariolukas unfortunately (or luckily), calibration worked fine and I get decent scans. I don't have the distorted scans anymore, nor do I know what changed, another calibration just magically worked.
fixed in v.0.5.0
in line 7 is the hardcoded value "STEPS_PER_ROTATION = 3200" I assume that this prevents us from using different settings than 3200steps/revolution. Settings in default.config.json were ignored for scan but not for calibration.