Need Help! Smoothieboard, new opensource, ARM 32 bits ( Cortex-M3 ) CNC controller board

Results 1 to 18 of 18

Thread: Smoothieboard, new opensource, ARM 32 bits ( Cortex-M3 ) CNC controller board

  1. #1
    Registered
    Join Date
    Apr 2012
    Location
    France
    Posts
    11
    Downloads
    0
    Uploads
    0

    Default Smoothieboard, new opensource, ARM 32 bits ( Cortex-M3 ) CNC controller board

    Hi CNC people !

    I've been advised to come here and ask for opinions about my new project, so here I am !

    Before the board, short story :
    I got into CNCing stuff by building a Contraptor Mini CNC.
    Then I converted a $1k cheap chinese laser to run using an arduino instead of the crap electronics they have in there.
    At that point both machines were running using the awesome opensource Grbl firmware on arduinos.
    I started contributing to it, and had all kinds of crazy ideas about stuff to add to it, but it soon became evident the 8bit atmega chips are not very well suited for feature-packed firmwares.
    Simen, grbl's author at that moment, suggested doing an ARM ( 32bits ) port.

    Around 9 months ago I started doing just that. building a new firmware from scratch to run on the mBed board, keeping only grbl's acceleration/jerk/planning math, 6 months ago I had CNC mill, and laser control working with it, and a few months ago I got it to do 3D printing. Smoothie was born.

    Right I should explain that now: smoothie is a modular firmware.
    You have a basic core that does you usual Gcode interpretation, 3-axis ( including non-cartesian ) stepper control.
    And on top of that you can enable ( or code ) additional modules that add capabilities.
    There are for example modules for :
    * Laser control
    * Spindle control
    * Extruder control ( 3D printing )
    Other features can be easily added as modules ( see here for an example of how that works ).
    This way you can add functionality very simply without having to worry about the deep inner workings of the firmware, and just have it to what you want.

    Ok but that's for programmers. For users that just means that you enable/disable modules in a config file, and the firmware does what you want it to do.
    And that different projects can share a common firmware, and thus share progress on the core.

    The source code for the firmware is here : .
    The website is : smoothieware.org/, and there is a growing community of users.

    At the moment, users are mostly from the reprap community, and they build breadboard setups using LPCXpresso or mBed boards.
    But a few are also into lasers, and CNC milling.

    So Smoothie runs lasers, mills, 3D printers, and it's been suggested quite early that it would be possible to design a board or boards that could run Smoothie, and be used for those uses.
    That's where smoothieboard comes in.
    I've been developing it for the past months, got a lot of help from the reprap community and from individuals, I finally have a prototype working, and a probable release date ( June 1 ).

    Let me paste the feature list from the website, those things are exhausting to type :

    Micro-controller
    * NXP LPC1769 32-bits Cortex-M3 MCU, running at 120Mhz. 512kB Flash, 64kB RAM.
    * Drag and drop flashing : simply drop a new firmware file to the smoothieboard to update.
    * USB2 Composite device : shows to the computer as both a Serial device, and a Mass Storage device ( exposing the SD-card ), à-la mbed
    * Ethernet
    * microSD card file storage for file based config, and playing gcode files from SD
    Stepper drivers
    * 4 Allegro A4982 stepper drivers.
    * Each capable of driving bipolar steppers up to 35V and 2A.
    * 1/16 microstepping.
    * TSSOP package allows for much better thermal handling than commonly used A4983/8.
    * Digital control of the current setting for each driver instead of trim-pot manual control.
    Power outputs
    * Two SMT BSP100 ( 30V/6A ) Mosfets sharing a power circuit
    * Two optional thru-hole ( TO220 ) Mosfets sharing a power circuit : solder what you need.
    Power inputs
    * Main 12-35V ( Stepper drivers ) power can be connected using a 3.5mm screw terminal, SMT power jack connector, or a Molex connector ( ATX-harddrive style )
    * 5V input can come from either a 3.5mm screw terminal, a SMT power jack connector, or a Molex connector as above. Or be taken directly from the USB cable.
    * Each of the two Mosfet couple can take it's power either from it's own 3.5mm screw terminal, or SMT power jack connector, or be connected to the main stepper driver circuit using jumpers.
    Inputs
    * 4 Thermistor ( ADC ) inputs.
    * 6 Endstop inputs.
    * Play/Pause [LED Tactile Button
    Extensibility
    * SPI connector, I2C connector, Serial connector
    * Lots of pins broken out ( Including step, direction and enable pins for the stepper drivers, and mosfet pins )
    * 13 Additional GPIO pins broken out
    * 4 LEDs, many connectivity options

    The design inherits a lot from the current RepRap electronics : RAMPS and Sanguinololu in terms of features, but is also much more powerful, and designed with other uses than reprap in mind.

    A*second version of the board, without the stepper drivers, but with connectors for power, step, direction, enable etc ... will be available for when 2A is not enough also.

    What you can see on the website now is the prototype version :



    The production version will be a tad smaller ( 120x120mm ), 4 layers, and have neater component placement, but otherwise it's pretty much it.

    At the moment, we have a working prototype. A few things still need coding for it, once that's done we'll probably do a test run of the production version just to be sure everything is ok, then a real production run around June 1. There is a no-string attached reservation list on the smoothieboard page to help us plan the quantity of that if you are interrested in getting one before everybody.

    Not sure what to add Questions ?
    So there, what do you think about it ? Criticism is very very welcome, the board has gotten a lot of it over the past months, that has changed it considerably, and helped a lot.

    Cheers !

    Edit : a small video we did the other day when we got the prototype stepping for the first time : "http://www.youtube.com/watch?v=W1zAcWRP-_8"]Smoothieboard Prototype - YouTube

    Edit : and yes, of course, the board is opensource ( GPL )

    Similar Threads:
    Last edited by arthurwolf; 04-14-2012 at 10:40 AM. Reason: forgot something


  2. #2
    Member
    Join Date
    Aug 2006
    Location
    USA
    Posts
    2758
    Downloads
    0
    Uploads
    0

    Default

    Interesting project, I will be following it.

    Best regards,

    kreutz



  3. #3
    Member mactec54's Avatar
    Join Date
    Jan 2005
    Location
    USA
    Posts
    15362
    Downloads
    0
    Uploads
    0

    Default

    arthurwolf

    Very cool project

    Mactec54


  4. #4
    Gold Member doorknob's Avatar
    Join Date
    Jan 2010
    Location
    USA
    Posts
    2141
    Downloads
    0
    Uploads
    0

    Default

    This is an interesting development and I will have to look into it in more detail.

    I do have a couple of LPCXpresso and mBed boards, and did not realize that people were doing CNC control with them, and so I guess that I should look into that as well.



  5. #5
    Registered
    Join Date
    Apr 2012
    Location
    France
    Posts
    11
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by doorknob View Post
    I do have a couple of LPCXpresso and mBed boards, and did not realize that people were doing CNC control with them, and so I guess that I should look into that as well.
    Thanks !*

    There is a guide here : it works for both mBed and LPCXpresso :*Smoothie On A Breadboard - Smoothie Project



  6. #6
    Registered hesham morsy's Avatar
    Join Date
    Apr 2006
    Location
    egypt
    Posts
    169
    Downloads
    0
    Uploads
    0

    Default

    Very cool project



  7. #7
    Registered
    Join Date
    Apr 2005
    Location
    usa
    Posts
    40
    Downloads
    1
    Uploads
    0

    Default

    This is a very nice project. Here are a few additional things i would like to see on your Todo list.

    lead screw error mapping/compensation.
    At least one more full axis, 4 axis typically required to cut gears.
    I like the idea of a control board with only step and direction out for high power applications.



  8. #8
    Gold Member lovebugjunkie's Avatar
    Join Date
    Apr 2005
    Location
    USA
    Posts
    438
    Downloads
    0
    Uploads
    0

    Default

    I just started ordering parts for a co2 laser I will build. Your price is very attractive and I was wondering would the ability to do laser engraving be on list of things that might be added? If not I would still be interested in it for laser cutting. tks



  9. #9
    Registered
    Join Date
    Apr 2012
    Location
    France
    Posts
    11
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by cnc_4_me View Post
    This is a very nice project.
    Thanks !

    Quote Originally Posted by cnc_4_me View Post
    Here are a few additional things i would like to see on your Todo list.
    lead screw error mapping/compensation.
    I'm quite familiar with belt driven stuff ( lasercutter, 3D printer ) but less with screw driven. Would you have a link about that particular feature ?

    Quote Originally Posted by cnc_4_me View Post
    At least one more full axis, 4 axis typically required to cut gears.
    That's pretty much already implemented with the Extruder module. I think you could use it as-is for gear cutting, but of course it needs to be semantically separated.



  10. #10
    Registered
    Join Date
    Apr 2012
    Location
    France
    Posts
    11
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by lovebugjunkie View Post
    I just started ordering parts for a co2 laser I will build. Your price is very attractive and I was wondering would the ability to do laser engraving be on list of things that might be added? If not I would still be interested in it for laser cutting. tks
    It is on the list. Loxgen in the IRC channel is working on that, and also the LAOS*project ( using the same chip but not the same firmware ) is working on it and has results.

    There is also going to be a kit for modding those laser cutters : USB CO2 LASER ENGRAVING CUTTING MACHINE ENGRAVER/NEW e1 | eBay using smoothieboard, will allow for sub-$1000 lasercutters ( shipping including ) with openhardware electronics.



  11. #11
    Registered
    Join Date
    Apr 2005
    Location
    usa
    Posts
    40
    Downloads
    1
    Uploads
    0

    Default

    Originally Posted by cnc_4_me View Post

    “Here are a few additional things i would like to see on your Todo list.
    lead screw error mapping/compensation.”

    Originally Posted by cnc_4_me arthurwolf

    “I'm quite familiar with belt driven stuff ( lasercutter, 3D printer ) but less with screw driven. Would you have a link about that particular feature ?”

    Here is a link from an EMC linux thread talking about leadscrew compensation.

    Re: [Emc-users] lead screw compensation

    Leadscrew compensation is a process of having the ability to enter in to the controller the accuracy of the leadscrew in a form of error per distance, such as +.002“ at 3“ or -.001 at 6“ from its end. When you buy a quality leadscrew you are supposed to get a chart with the leadscrew errors listed. Another way to get this information commercially is hire someone with an laser interferometer to map out your axis on your finished machine and have all errors taken in account. Or use the low dollar method of a dial indicator and 123 blocks.



  12. #12
    Registered
    Join Date
    Sep 2005
    Location
    nl
    Posts
    13
    Downloads
    0
    Uploads
    0

    Default

    2 extruder heads wood be great.
    a touch screen 3 or 4 inch to control the machine wood be great to.



  13. #13
    Registered
    Join Date
    Apr 2012
    Location
    France
    Posts
    11
    Downloads
    0
    Uploads
    0

    Default

    Hey all !

    It's been a while since I posted this here, lots has been happening, time for an update, for those interested !

    We had a batch of smoothieboards made, they have been for sale ( with a "beta" label, that was more about the firmware than the hardware ), and we got a lot of great feedback for them. We had surprisingly little problems, and lots of very nice contributions to the code. Things are much more mature now.

    I'm more of a laser/3D printing person, but I've been trying to do cnc milling with a smoothieboard on the fablab's CNC router.

    Cutting aluminium :


    New to this stuff, but pretty happy about how smoothie drives the machine.

    What's nice is all you have to do is simply plug the board into your computer, it appears as a mass storage device, drop your gcode file there, and that's it, you are milling. No control interfaces.

    About control interfaces, smoothie is now compatible with OctoPrint. If you run it on a raspberry pi connected to your smoothieboard, you get a very nice web-interface to control your machine, jogg, stream gcode etc ...

    A number of arm solutions have been added beyond the classical cartesian arm solution :*delta ( rostock ), h-bot ( corexy ), and a few experimental ones ( feather, scisor-lift ).

    There is also work on adding touch-probe support :

    CBr5vB7ODYKEXWCUnQZ7lXb-VpH8zNHD2Neevo_nsxg.png

    There are a few more people moving their CNC to smoothieboard, so I'll be back with some of their experiences when they get results.





  14. #14
    Registered
    Join Date
    Apr 2012
    Location
    France
    Posts
    11
    Downloads
    0
    Uploads
    0

    Default

    Smoothie is finally on Kickstarter !

    After a beta where lots of users have tested it, the board and firmware have matured a lot, and we need your help to get it to the world !

    You can GET YOURS NOW

    A small explanation about the project here :



    I really feel this deserves a bit of attention, anyone has ideas where else to post it ?
    Cheers !*



  15. #15
    Gold Member doorknob's Avatar
    Join Date
    Jan 2010
    Location
    USA
    Posts
    2141
    Downloads
    0
    Uploads
    0

    Default

    Congrats on your kickstarter.

    One thing that was not clear to me from the description was exactly what connectors are included with the 'C' models.

    I get it that the regular versions require the user to solder some headers and screw terminal connectors, but it would be useful to see a photo of the difference between those connectors and the ones included in the C models (unless I have missed it somehow).

    Also, how easy or difficult is it for an end user to upgrade from (for example) a 3-axis version to a 4- or 5-axis version? It looks like the driver chips are surface mounted - are there many parts in addition to the driver chips (and axis connectors) that would have to be added?

    Have you announced your kickstarter on other forums, such as the ShapeOko forum?



  16. #16
    Registered
    Join Date
    Apr 2012
    Location
    France
    Posts
    11
    Downloads
    0
    Uploads
    0

    Default

    Hi Doorknob !

    We have a picture of a -C model with the connectors it comes with on the kickstarter page :
    37cfbb6975152ac806e18b0ad46958a0_large.png
    It includes everything on that picture ( that's the 5XC version, 4XC and 3XC have the same, with the connectors they don't need removed ).

    About upgrading, you'd have to add the IC ( A4982 ), and about a dozen passives.*It can be done, but if you think you'll upgrade someday I'd recommend going with a 4X*or a 5X*directly. It can be fun if you enjoy SMT soldering though, nothing difficult.

    Thanks for pointing out the shapeoko forums, I'll post there !

    Cheers !



  17. #17
    Member
    Join Date
    Nov 2011
    Location
    Mexico
    Posts
    107
    Downloads
    0
    Uploads
    0

    Default Re: Smoothieboard, new opensource, ARM 32 bits ( Cortex-M3 ) CNC controller board

    My first succefully smoothie project:

    Hotwire foam cutter "Desktop" Size



    20170513_185350.jpg
    6.jpg



  18. #18
    Registered
    Join Date
    Jul 2012
    Location
    United States
    Posts
    106
    Downloads
    0
    Uploads
    0

    Default Re: Smoothieboard, new opensource, ARM 32 bits ( Cortex-M3 ) CNC controller board

    Quote Originally Posted by arthurwolf View Post
    Hi Doorknob !

    We have a picture of a -C model with the connectors it comes with on the kickstarter page :
    37cfbb6975152ac806e18b0ad46958a0_large.png
    It includes everything on that picture ( that's the 5XC version, 4XC and 3XC have the same, with the connectors they don't need removed ).

    About upgrading, you'd have to add the IC ( A4982 ), and about a dozen passives.*It can be done, but if you think you'll upgrade someday I'd recommend going with a 4X*or a 5X*directly. It can be fun if you enjoy SMT soldering though, nothing difficult.

    Thanks for pointing out the shapeoko forums, I'll post there !

    Cheers !
    Someone sent me a PM asking about this product for their specific use so I took the time to examine it closely

    While I think this is a really neat product with some great potential, for anything more than a simple one color or two color (dual extruder head) 3D printer, foam cutter, hobby engraving machine or CO2 laser that doesn't factor in tool length or DIA, color mixing or auto-focusing, I think it falls short for anything in an intermediate or advanced machining capable capacity but really great for the beginner making his first cheap/inexpensive beginner machine.

    Considering I can buy a very good 5-axis USB BOB that works with Mach3/4 for less than $30.00, finding a standalone offline gcode board that can meet some intermediate machine needs is as always a challenge but I must say, this project offers fantastic beginner bang for the buck but there are limitation of use for your product based on it's current functionality/implementation that people are just not aware of that may cause some disappointment if they fall into the belief that this can do it all.

    Also considering that a single nozzle tri-fed extruder head capable of "on-the-fly" RGB color mixing is now becoming affordable (less than $40.00), not having that third extruder feed (E3) drive means the board wont be easy to make work in this desirable 3D configuration when you need six drivers and as far as I know only the GTM32 3D printer control board offered by Geeetech seems to be able to do "on-the-fly" color mixing and claims to be opensource but I have yet to personally substantiate the opensource claim since I can't seem to locate the code-base and replies from Geeetech don't seem to be happening.

    Using a 405Nm or 450Nm laser instead of the CO2 laser with a PWM output for power level control and dedicated inputs for auto-focus which can be easily implemented in the GRBL code makes it's laser machine use limited to manual focus adjusting and CO2 laser machines.

    For milling and router use what seems to be lacking is a list of supported GCODES to determine if tool length/diameter compensation along with some canned drilling/threading cycles is supported since these are not implemented or supported in the base GRBL code and trying to follow your code-base to determine if these features have been added is time consuming.

    On my small mill, a single pass cutting aluminum at a depth of 1in (25.4mm) with a 1/2in (12.7mm) 3 flute end mill and a feed of 15IPM has enough of it's own challenges as I push the hardware to it's limits but changing from a 1/4in (6.35mm) DIA with a 3/4in cut depth end mill to a 1/2in (12.7mm) with a 1in (25.4mm) cut depth end mill without having to modify GCODE to manually adjust cut paths because tool length and DIA compensation is not available is annoying to say the least but for most hobbyists they accept the practice because it's what is available in the way of controllers.

    Don't get me wrong, your project definitely has a place in the beginners market and this is what everyone seems to be basing new projects on while the intermediate or graduating hobbyist either settles for the beginner platform of dumps some serious cash on a controller that over-exceeds his needs (and his budget).

    Congrats on a wonderful product and the black PCBA is a nice touch and hope it can grow and develop with wisdom and age to become a line of controllers that can meet most hobby requirements and not end here.

    I'll keep my eyes open for your updated version of this product in the hopes that it offers some intermediate features and functionality for those of us who have graduated from kindergarden.

    And a final congrat goes out to karloterrazas for posting pics of his clean and what appears to be a finely crafted foam cutter, it seems the smoothie is a good fit for the hardware.



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Smoothieboard, new opensource, ARM 32 bits ( Cortex-M3 ) CNC controller board

Smoothieboard, new opensource, ARM 32 bits ( Cortex-M3 ) CNC controller board