Config file for smoothie board And a few tips/notes.
Posted: Wed May 14, 2014 3:04 pm
This is NOT a ZIP file as is indicaed by the ".zip" extension. I simply added the .zip to the file name so that the forums here would allow me to share the file as it is not possible to share a file with no file extension. After downloading the file simply remove the ".zip" from the filename to allow smoothie to use it. File needs to be placed into the root of the SD card that is loaded into the smoothie. But only after reading through this post and making the appropriate changes to match you machine config. I am not responsible for any damage or injury that occurs from the use of this file and it is provided "as is" By downloading you agree to this.
Things to note about my smoothie file just in case you have a different setup and config.
Baud rate = 2500000
Configured for use with Kossel configuration NOT Rostock standard, so x and y towers have been swapped. Otherwise things like text and such will be backwards for example. Simply a matter of unplugging and swapping the x and y stepper connections AFTER POWERING DOWN THE BOARD COMPLETELY or you will blow a stepper driver.
My arm radius is very likely going to be different than yours since I use the magnetic arms with custom carriage mounts and a custom effector. You will simply have to re-measure yours and input the correct value into the arm_radius setting.
I have fairly high acel and movement limits set since my machine is very rigid and tight with tolerances.
I also have my stepper current slightly elevated due to the higher acel and movement settings but nothing that causes any stepper heating of any concern. Default is 1.5.
Please pay special attention to the extruder configuration portion of the config as I use a bulldog extruder and it is far more capable of speeds and retracts than an easy struder or steves. I also run a slightly elevated current on it. Default for all stepper current is 1.5.
You'll also have to adjust all of you steps per mm for the movement and the extruder settings of course. I'm using the old style 15 tooth pulleys with 1.8 degree steppers currently so this is why I get the oddball steps per mm.
I am currently not running a LCD panel on the machine at all.
Don't forget to re-calibrate your z height of course. No doubt it will be different too.
If you find that your smoothie is no longer booting.
When the smoothie does not boot you may not be able to access the sd card on-baord. You'll have to use some other means of getting to the files such as a sd card adapter etc.
The config file MUST be saved without a file extension of any kind at all. "config.txt" is no good, file must be named simply "config"
Also if you have the option or find that the text editor you are using asks the file should be saved in ANSI standard, NOT unicode. Unicode usually works but I did have issue one time. But if you make mods to the config and simply hit save rather than save as you should be golden.
This also occurs when there are sytax errors in the config file. And this can be something as simple as a few characters sneaking down from a previous lines comment section when you change a value. For instance when you modify a alpha trim value like below.
**Original config lines un-altered.
alpha_trim 0 # software trim for alpha stepper endstop (in mm)
beta_trim 0 # software trim for beta stepper endstop (in mm)
gamma_trim 0 # software trim for gamma stepper endstop (in mm)
**Altered config lines.
alpha_trim 10.64 # software trim for alpha stepper endstop (i
n mm)
beta_trim 0 # software trim for beta stepper endstop (in mm)
gamma_trim 0 # software trim for gamma stepper endstop (in mm)
The second line in the altered config has jumped down from the 1st due to the additional characters being of the longer 10.64 value being inserted. This will cause the config file to fail loading and prevent the smoothie from booting correctly. I originally thought I had a bad sd card and this took awhile for me to track down the problem so I thought I would share in-case it happens to you again and I could save you some time and pulled out hair.
Last thing is the smoothie only loads the config file on boot, so any changes will not "TAKE" until it is rebooted. And to prevent windows and/or your host software from bitching and having trouble re-connecting, select disconnect before rebooting your smoothie or you'll have trouble reconnecting until you reboot the smoothie a second time.
You can reboot the smoothie easily after disconnecting by unplugging and reconnecting the USB or by using the little reset switch on the board itself that is located right next to the "MAX Z" connector. Wait for the LED's to flash slowly (reading config file) and then they will return to fast activity, this is a successful boot(communication indications).
Then you re-connect with your host software which if you are using Simplify3D-Creator to run the smoothie should happen automatically. Repetier host you'll manually have to re-connect.
Repetier host has some features disabled in the GUI for the speed and feed control, you can issue "m220 sxx"and "m221 sxx" console commands for these functions however. The "xx" portion being the value of desired speed of course. I have told the dev of repetier about this issue and it will be corrected in the next release of repetier host. It has to do with the host not recognizing the firmware specifically and in the past with older versions of firmware that were in use such as teacup this caused problems.
The last thing I have found is that the smoothie may lock and become none responsive without a small amount of cooling being blown across it when you push it really hard. High speeds and feeds only for extended duration prints. At normal speed and feed there was never any problem at all. I just have a small fan blowing across the length of the board and this has solved all problems with this. I suspect the steppers drivers. The could also be likely fixed with the small driver aluminium coolers such as commonly used on polo drivers. I have not found the time to test this however and since my small fan is working to correct the most extreme punishments I have sent the smoothies way so far I have not tested the theory. I would like to rid myself of yet another fan adding noise to my world however so when I do figure it out I will let you know.
Hope all this helps with some of the potential problems anyone may run into!
Flatteric
Things to note about my smoothie file just in case you have a different setup and config.
Baud rate = 2500000
Configured for use with Kossel configuration NOT Rostock standard, so x and y towers have been swapped. Otherwise things like text and such will be backwards for example. Simply a matter of unplugging and swapping the x and y stepper connections AFTER POWERING DOWN THE BOARD COMPLETELY or you will blow a stepper driver.
My arm radius is very likely going to be different than yours since I use the magnetic arms with custom carriage mounts and a custom effector. You will simply have to re-measure yours and input the correct value into the arm_radius setting.
I have fairly high acel and movement limits set since my machine is very rigid and tight with tolerances.
I also have my stepper current slightly elevated due to the higher acel and movement settings but nothing that causes any stepper heating of any concern. Default is 1.5.
Please pay special attention to the extruder configuration portion of the config as I use a bulldog extruder and it is far more capable of speeds and retracts than an easy struder or steves. I also run a slightly elevated current on it. Default for all stepper current is 1.5.
You'll also have to adjust all of you steps per mm for the movement and the extruder settings of course. I'm using the old style 15 tooth pulleys with 1.8 degree steppers currently so this is why I get the oddball steps per mm.
I am currently not running a LCD panel on the machine at all.
Don't forget to re-calibrate your z height of course. No doubt it will be different too.
If you find that your smoothie is no longer booting.
When the smoothie does not boot you may not be able to access the sd card on-baord. You'll have to use some other means of getting to the files such as a sd card adapter etc.
The config file MUST be saved without a file extension of any kind at all. "config.txt" is no good, file must be named simply "config"
Also if you have the option or find that the text editor you are using asks the file should be saved in ANSI standard, NOT unicode. Unicode usually works but I did have issue one time. But if you make mods to the config and simply hit save rather than save as you should be golden.
This also occurs when there are sytax errors in the config file. And this can be something as simple as a few characters sneaking down from a previous lines comment section when you change a value. For instance when you modify a alpha trim value like below.
**Original config lines un-altered.
alpha_trim 0 # software trim for alpha stepper endstop (in mm)
beta_trim 0 # software trim for beta stepper endstop (in mm)
gamma_trim 0 # software trim for gamma stepper endstop (in mm)
**Altered config lines.
alpha_trim 10.64 # software trim for alpha stepper endstop (i
n mm)
beta_trim 0 # software trim for beta stepper endstop (in mm)
gamma_trim 0 # software trim for gamma stepper endstop (in mm)
The second line in the altered config has jumped down from the 1st due to the additional characters being of the longer 10.64 value being inserted. This will cause the config file to fail loading and prevent the smoothie from booting correctly. I originally thought I had a bad sd card and this took awhile for me to track down the problem so I thought I would share in-case it happens to you again and I could save you some time and pulled out hair.
Last thing is the smoothie only loads the config file on boot, so any changes will not "TAKE" until it is rebooted. And to prevent windows and/or your host software from bitching and having trouble re-connecting, select disconnect before rebooting your smoothie or you'll have trouble reconnecting until you reboot the smoothie a second time.
You can reboot the smoothie easily after disconnecting by unplugging and reconnecting the USB or by using the little reset switch on the board itself that is located right next to the "MAX Z" connector. Wait for the LED's to flash slowly (reading config file) and then they will return to fast activity, this is a successful boot(communication indications).
Then you re-connect with your host software which if you are using Simplify3D-Creator to run the smoothie should happen automatically. Repetier host you'll manually have to re-connect.
Repetier host has some features disabled in the GUI for the speed and feed control, you can issue "m220 sxx"and "m221 sxx" console commands for these functions however. The "xx" portion being the value of desired speed of course. I have told the dev of repetier about this issue and it will be corrected in the next release of repetier host. It has to do with the host not recognizing the firmware specifically and in the past with older versions of firmware that were in use such as teacup this caused problems.
The last thing I have found is that the smoothie may lock and become none responsive without a small amount of cooling being blown across it when you push it really hard. High speeds and feeds only for extended duration prints. At normal speed and feed there was never any problem at all. I just have a small fan blowing across the length of the board and this has solved all problems with this. I suspect the steppers drivers. The could also be likely fixed with the small driver aluminium coolers such as commonly used on polo drivers. I have not found the time to test this however and since my small fan is working to correct the most extreme punishments I have sent the smoothies way so far I have not tested the theory. I would like to rid myself of yet another fan adding noise to my world however so when I do figure it out I will let you know.
Hope all this helps with some of the potential problems anyone may run into!
Flatteric