Saturday, June 13, 2009

 

Acceleration Code Released

There is a new release of the Java host software and the Sanguino firmware that support accelerations and decelerations during building.

Accelerating RepRap from Adrian Bowyer on Vimeo.


Unfortunately the new firmware is now too big to fit in the Arduino ATMEGA 168 controllers (though the old version that does is still available, of course). However, there is plenty of room in the Sanguino, and we will be supporting the Arduino Mega as a RepRap controller soon.

The new firmware buffers all movements, and so communications with the controller are now asynchronous. This completely eliminates all pauses between one movement and the next.

The main advantage of the new code is that you can run the axis motors at much lower current (as they don't have to hit the feed-rate requested in one step from a standing start) while not compromising build times; indeed, you can set higher maximum feed-rates as the machine now accelerates up to them and decelerates down.

Labels: , ,


Friday, June 13, 2008

 

PIC file release

I've just done release v1.2 of the PIC firmware. Get it here.

There are three files in this release:

reprap-firmware-fullstep-all-20080613.zip
reprap-firmware-halfstep-all-20080613.zip
reprap-firmware-halfstepXY-fullstepZ-20080613.zip

These do as they say - you can either half-step or full-step the
motors. Half stepping is more precise, but slower; full the opposite.
There is a problem with integer overflow for tall objects (> ~50mm) if
you half-step the Z motors. The third file allows precise XY, and
also allows Z to go to about 100 mm. Precision is not needed for Z as
it uses a screw drive anyway.

This version of the firmware will drive a solenoid valve in addition
to the heater, extruder motor and cooling fan.

THE FAN NOW WORKS OFF RB6, not the spare channel of the L298. That
channel is used to drive the solenoid.

To drive the fan, wire in a TIP110 to ALT 2 (or ALT 1), connect in the
end of the 220 ohm resistor that goes to the base of that transistor,
but connect the other end to hole 4 on the 7-hole connector by the
Max/Empty connector. This goes to RB6. It's probably a good idea to
wire a diode across connector P7 so that it's reverse biased (stripe
to the +12v line, in other words); that'll take care of any back EMF
from the fan motor.

The code is now compatible with the Arduino, and the latest Java host
software is set up to drive it too.

As we are now switching to the Arduino, this is probably the last PIC file release that we will do.

Labels: , ,


This page is powered by Blogger. Isn't yours?

Subscribe to
Posts [Atom]

View mobile version