Showing posts with label ATmega 1284P. Show all posts
Showing posts with label ATmega 1284P. Show all posts

27 May, 2014

Panelolu2 and the new Marlin firmware (T3P3 fork)

Upgraded my Prusa i3 with a Panelolu 2 display/controller.

The display has an SD-card slot so no need to keep a computer running while printing. You can print G-code right off the sd-card. Saves on power consumption as well!
While printing you can also monitor and change the temperatures for the heatbed & extruder and change the power to the extra extruder fan (needed for PLA).

Because of the 'adapter board' you can plug the LCD into the Sanguinololu without soldering or adding components.

You do need to add an LCD library called Lincomatic to the Arduino IDE and flash updated Marlin firmware to the ATmega 1284P chip. The T3P3 Marlin fork can be found on GitHub.
Full Panelolu2 installation instructions are available at Think3dPrint3d 's blog. When the instructions say: "Don't use Arduino 1.x", then don't! Marlin was originally designed for Arduino 0.23 and does not work on 1.x, trust me...

I've bought the electronics from Richard @ RepRapUniverse.com.
The case for the BPC can be found on Thingiverse and can be printed yourself.

The Panelolu 2 electronics & adapter board
Printing the case for the Panelolu 2 Display
The adapter board connecting the Panelulo2 display to the Sanguinololu
A working Panelolu2 after flashing new Marlin(T3P3) firmware to the ATmega1284p

To test the new firmware and electronics I decided to print the 50mm 'torture' bridge in ABS. All seems to work fine!
Next step: Print some PLA...

05 March, 2014

Uploading new Marlin firmware & fried electronics

I'm pretty sure I fried the ATmega 1284P-PU Microprocessor on the Sanguinololu board and went ahead and ordered a new one from Richard at RepRapUniverse.com. A stupid mistake that will hopefully only cost me about 15€ and some extra days before actually printing something...



In the meanwhile I fiddled with uploading new Marlin firmware configurations. I'll need to do this a couple of times while calibrating the different axis stepper motors so I thought I'd give it a try (also my Z-axis is inverted and I don't know if I need to flip my wiring or change the INVERT_Z_DIR parameter in the Configuration.h file).

At first I could not connect the Arduino IDE to my Sanguinololu because the maximum standard baud rate in Arduino is 115200 baud. After some hex value editing in the windows registry I was able to connect the Sanguinololu to the Arduino IDE at 250000 baud, the current rate configured in my Sanguinololu. (Thanks to this post from Conseils on his NorthernHope blog!)

Now I can send G-code via the Arduino IDE and flash new Marlin firmware via the Arduino IDE.
That makes me happy.

Flashed my first new Marlin Firmware configuration