Jump to content
Ultimaker Community of 3D Printing Experts
Sign in to follow this  
chelys

Writing SD Card via USB

Recommended Posts

I think the Marlin firmware may support it, I'm not sure. I know Repetier firmware does.

But in practice it's a huge pain. The USB connection on Arduino devices generally (never?) run in full-speed USB compatibility mode. Instead it runs in a generic dumbed-down serial link mode, which limits the speed to at best 250000 baud.

One of the reasons to use SD cards instead of the USB link for printing stuff is because the USB link can be too slow to keep up with how fast the printer can print, whereas the bandwidth reading the SD is much higher, and it can (usually) keep the printer fed with commands.

In other words, transferring a gcode file over USB can take longer than it would take to print the file. Probably a bit faster for most prints, but probably same order of magnitude. A file that a computer can write directly to a card in a few seconds (at full card/USB speed) can take many many minutes over USB to the printer.

Share this post


Link to post
Share on other sites

To add on the info from Illuminarti. I've done some test with this a year ago, with the USB transfer speeds that we have, it's not worth it. It can take anything from 20 minutes to an hour to transfer a gcode file.

 

Share this post


Link to post
Share on other sites

The firmware is only a few kilobytes in size (The one I've built recently was 288 kB). It's just as slow as anything else, but less data = less time. A Gcode file can be several Megabytes (biggest one I've had so far was 20 MB -> The Colonel from Thingiverse).

We are intending to do just about the same thing in a few weeks but we're using a Cortex M3 MCU which is a little bit faster than the Arduino - didn't take that into account before...

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Our picks

    • Ultimaker Cura | a new interface
      We're not only trying to always make Ultimaker Cura better with the usual new features and improvements we build, but we're also trying to make it more pleasant to operate. The interface was the focus for the upcoming release, from which we would already like to present you the first glance. 
        • Like
      • 19 replies
    • "Back To The Future" using Generative Design & Investment Casting
      Designing for light-weight parts is becoming more important, and I’m a firm believer in the need to produce lighter weight, less over-engineered parts for the future. This is for sustainability reasons because we need to be using less raw materials and, in things like transportation, it impacts the energy usage of the product during it’s service life.
        • Like
      • 12 replies
×

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!