Software :  Reprap Forums The fastest message board... ever.
Here is where to chat about software. RepRap host stuff, PIC/Arduino firmware, AoI, and related stuff. 
Arduino firmware submission
Posted by: stephen george ()
Date: November 03, 2009 03:05AM

Guys,

The latest version of the firmware does not work on Gen2.
(When I say latest I mean the one that the web page currently send you to.)

It's too big. (even with Sarguino turned off).
The attached hacked version has a bug fix added and uses #ifdef to bring the compile size down to fit on the arduino.
Basically you choose whether you have stepper or a DC motor on the extruder rather than an automatic if statement. As a result there is less code.

(Note only tested the DC version - I don't have a posh extruder running yet. If someone could test it that would be great)

I now have a working reprap. Well it moves in z,y,x tells me the correct temperature and runs the extruder and fan.

All disclaimers.

regards

Stephen George


Hacked version tested on:

Ubuntu 9.04
Arduino v17 compiler
Gen2 electronics
Arduino Diecimila
v1.2 stepper drivers
v2.0 temperature sensor (non thermal couple)
v2.1 Opto enstop
v1.2 Arduino breakout sheild
v1.1 PWM Driver
v1.1 DC Motor driver

Attachments: gcode_arduino_v1-7.tar.Z (22.9 KB)  
Options: ReplyQuote
Re: Arduino firmware submission. V1.9 (mk4 makerbot extruder version)
Posted by: stephen george ()
Date: November 04, 2009 11:50PM

Hi there,

Attached firmware tested with [wiki.makerbot.com] extruder hardware and gen 2 electronics on a Darwin.

Had a few issues. All sorted in this version.

Configured to work straight out of the box

regards

Stephen

Attachments: GCode_arduino_1.9_20091103.tar.Z (24.3 KB)  
Options: ReplyQuote
Re: Arduino firmware submission
Posted by: mccoyn ()
Date: November 12, 2009 07:22AM

I was unable to get that firmware to work with a stepper extruder without major modifications. I'm switching over to the 5D firmware and I had the same issue. I managed to fix it without serious modification the second time. See this thread: [dev.forums.reprap.org]

Another problem you will likely run into eventually, is that it does not buffer the moves and so will have delays between segments. When there are lots of short segments, these delays result in excess material being deposited. I've been printing with it, but the result is that I have to drill out all the holes before the parts are usable and fine details look messy.

The 5D firmware comes in at around 14K, so I believe it would be possible to port it to ATMega168 based Arduinos.


Ubuntu
Arduino v15 compiler
Arduino Duemilanova w/ATMega328
2x v1.1 stepper drivers
2x v1.2 stepper drivers
v2.0 temperature sensor (non thermal couple)
v2.1 Opto enstop
v1.1 PWM Driver
v1.1 DC Motor driver

Options: ReplyQuote
Re: Arduino firmware submission
Posted by: stephen george ()
Date: November 12, 2009 03:26PM

Hi thanks for testing the code with a stepper extruder.
I simply left it as the offical version. (Both my extruders have DC motors)
I will check your link and make the modifications.

Thanks

> Another problem you will likely run into eventually, is that it does not buffer > the moves and so will have delays between segments. When there are lots of
> short segments, these delays result in excess material being deposited. I've
> been printing with it, but the result is that I have to drill out all the holes
> before the parts are usable and fine details look messy.
>
My understanding is that this behaviour is compensated for in skeinforge.
[bitsfrombytes.com]

Quote
Stretch is very important Skeinforge module that allows you to compensate for the fact that holes are smaller then they should be. This is because while printing arc the head is depositing filament on both sides of the arc but in the inside of the arc you actually need less material then on the outside of the arc.

> The 5D firmware comes in at around 14K, so I believe it would be possible to
> port it to ATMega168 based Arduinos.

I will look into that.

regards

Stephen

Options: ReplyQuote
Re: Arduino firmware submission
Posted by: mccoyn ()
Date: November 13, 2009 06:31AM

I tried stretch. I tried unpause. I tried increasing the perimeter feedrate. Nothing seemed to fix the problem.

Options: ReplyQuote
Re: Arduino firmware submission
Posted by: Jeff B ()
Date: November 15, 2009 08:20AM

What firmware are you running on your extruder board with the 5d firmware for stepper based extrusion?

posted under wrong topic not paying attention



Edited 1 time(s). Last edit at 11/15/2009 08:54AM by Jeff B.

Options: ReplyQuote


Your Name: 
Your Email: 
Subject: 
This forum powered by Phorum.