cranefist
cranefist
Thanks for the quick reply. Yes, you are correct. I made this test code based on something i had worked on for a long time and had forgotten that i...
`Serial.print(driver.cs2rms(driver.cs_actual()),DEC);Serial.println(" MA MOTOR CURRENT"); ` Just this now. On the smaller motor, i just read that into a INT variable and printed it.
```cpp //STEPPER #include #include #define DIR_PIN 15 // Direction #define STEP_PIN 2 // Step #define STALL_VALUE 0 // [0..255] #define SERIAL_PORT Serial2 // HardwareSerial port #define DRIVER_ADDRESS 0b00 // TMC2209...
Great! Thanks for pointing that out. I was not actually using irun on the smaller motor, i did use ihold.. and it seemed to do what i expected it to...
Seems interesting, i'm actually using this exact same motor on my other project. Its amazing little motor. Seems there are not many ready made solutions for TMC2300. That's why i...
Is it pointless to use ihold without the irun? Or does irun get values from the rms_current and thus simply using ihold works? This would keep it simple for me,...
Ok, thanks a lot! This is good, the other benefit for me is that i can run that tiny motor way over its intended current and still keep it cool...
Is there any benefit in using the DIAG pin, instead of monitoring the stallguard value in software? If i'm doing a simple homing, something like this where i'm waiting for...
Sorry i did not notice your response. I tested this, but it seems setExternalCallForPin does not exists? `'class FastAccelStepper' has no member named 'setExternalCallForPin'` This is what i tried: ```...
I actually tested that also, it did not work either. `undefined reference to FastAccelStepperEngine::setExternalCallForPin(bool (*)(unsigned char, unsigned char))'`