-
Notifications
You must be signed in to change notification settings - Fork 19
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
Clunking sound from the solenoids #15
Comments
Implement a "cancelKnitting" message to relax the solenoids in case of a cancelled knitting. |
I'm not quite clear on what causes the clunk and how to prevent it. |
After some investigation, it appears the clunking sound is caused by all solenoids being turned off at once by AYAB as part of its initialization sequence. This causes each solenoid's armature to jump up as it is pushed by the comb spring underneath. So, first off this is effectively harmless. Individual solenoids get turned off all the time as part of normal operation, whether using Brother electronics or AYAB. Turning all of them off at the same time shouldn't be more dangerous than turning them off one by one. Second, this isn't heard with Brother electronics because they default to keeping solenoids on when not in active use, i.e. even with no pattern loaded, or when a carriage goes beyond the end of the bed and solenoids don't need to drive any needle. This can be verified by monitoring the voltage level on each solenoid while using Brother electronics. Note that just turning the solenoids on then off again isn't sufficient to reproduce the clanking sound. The solenoids need to be turned on, then the belt must have moved by at least 16 needles so that all the armatures have been "caught" by the solenoids (they can't pull armatures down, they can only hold them down so the rotary cam's movement is essential to bring the armature in proximity with the elecromagnet so that it can be caught), then when you turn the solenoids off, the armatures will rapidly jump back up causing the clanking sound. |
The "clunking" sound that is occasionnally heard when using AYAB is caused by all solenoid armatures being released simultaneously when all solenoids are turned off. This does not happen with Brother electronics because they default to keeping solenoids on. This commit changes AYAB's behavior to match that behavior of the Brother electronics. Note that this required abandoning the third-part library used to drive the I/O expanders (Adafruit_MCP23008) since part of its non-skippable initialization code was forcing all outputs to off. It turns out the amount of code needed to directly drive the MCP23008 expanders using the Arduino Wire library is only a dozen lines of code any way. Fixes AllYarnsAreBeautiful#15.
The "clunking" sound that is occasionnally heard when using AYAB is caused by all solenoid armatures being released simultaneously when all solenoids are turned off. This does not happen with Brother electronics because they default to keeping solenoids on. This commit changes AYAB's behavior to match that behavior of the Brother electronics. Note that this required abandoning the third-party library used to drive the I/O expanders (Adafruit_MCP23008) since part of its non-skippable initialization code was forcing all outputs to off. It turns out the amount of code needed to directly drive the MCP23008 expanders using the Arduino Wire library is only a dozen lines of code any way. Fixes AllYarnsAreBeautiful#15.
The "clunking" sound that is occasionnally heard when using AYAB is caused by all solenoid armatures being released simultaneously when all solenoids are turned off. This does not happen with Brother electronics because they default to keeping solenoids on. This commit changes AYAB's behavior to match that behavior of the Brother electronics. Note that this required abandoning the third-party library used to drive the I/O expanders (Adafruit_MCP23008) since part of its non-skippable initialization code was forcing all outputs to off. It turns out the amount of code needed to directly drive the MCP23008 expanders using the Arduino Wire library is only a dozen lines of code anyway. Fixes AllYarnsAreBeautiful#15.
The "clunking" sound that is occasionnally heard when using AYAB is caused by all solenoid armatures being released simultaneously when all solenoids are turned off. This does not happen with Brother electronics because they default to keeping solenoids on. This commit changes AYAB's behavior to match that behavior of the Brother electronics. Note that this required abandoning the third-party library used to drive the I/O expanders (Adafruit_MCP23008) since part of its non-skippable initialization code was forcing all outputs to off. It turns out the amount of code needed to directly drive the MCP23008 expanders using the Arduino Wire library is only a dozen lines of code anyway. Fixes AllYarnsAreBeautiful#15.
The "clunking" sound that is occasionnally heard when using AYAB is caused by all solenoid armatures being released simultaneously when all solenoids are turned off. This does not happen with Brother electronics because they default to keeping solenoids on. This commit changes AYAB's behavior to match that behavior of the Brother electronics. Note that this required abandoning the third-party library used to drive the I/O expanders (Adafruit_MCP23008) since part of its non-skippable initialization code was forcing all outputs to off. It turns out the amount of code needed to directly drive the MCP23008 expanders using the Arduino Wire library is only a dozen lines of code anyway. Fixes AllYarnsAreBeautiful#15.
The "clunking" sound that is occasionnally heard when using AYAB is caused by all solenoid armatures being released simultaneously when all solenoids are turned off. This does not happen with Brother electronics because they default to keeping solenoids on. This commit changes AYAB's behavior to match that behavior of the Brother electronics. Note that this required abandoning the third-party library used to drive the I/O expanders (Adafruit_MCP23008) since part of its non-skippable initialization code was forcing all outputs to off. It turns out the amount of code needed to directly drive the MCP23008 expanders using the Arduino Wire library is only a dozen lines of code anyway. Fixes AllYarnsAreBeautiful#15.
The "clunking" sound that is occasionnally heard when using AYAB is caused by all solenoid armatures being released simultaneously when all solenoids are turned off. This does not happen with Brother electronics because they default to keeping solenoids on. This commit changes AYAB's behavior to match that behavior of the Brother electronics. Note that this required abandoning the third-party library used to drive the I/O expanders (Adafruit_MCP23008) since part of its non-skippable initialization code was forcing all outputs to off. It turns out the amount of code needed to directly drive the MCP23008 expanders using the Arduino Wire library is only a dozen lines of code anyway. Fixes AllYarnsAreBeautiful#15.
copied from AllYarnsAreBeautiful/ayab-desktop#256
The text was updated successfully, but these errors were encountered: