Month: July 2017

Arduino Power Controller for Prusa 3D Printer – Auto Shutdown

In this video I run through the design and build of an add-on for my DIY Prusa i3 MK2 3D Printer that controls the supply of power to the printer’s two power supplies.

I wanted to add this for two reasons. Firstly I wanted an extra layer of security in case any of the electrical components failed in a catastrophic way leading to over heats, particularly the power supplies as I doubt their quality based on the budget prices. Secondly I wanted to be able to add G code (M Code actually) to my prints so that once the print it finished the printer is shutdown, including the power supplies.

More details in the video, but as discussed here is the schematic:

Arduino Power Control Schematic

Arduino Power Control Schematic

I also mention that I am now using Sublime Text instead of the Arduino IDE. I use Sublime Text on a daily basis and it has a lot more editing features than the IDE. When I found this brilliant add-on package for Sublime Text, called Stino, that brings Arduino syntax highlighting, compiling and uploading directly from within ST, I switched instantly. Even if you don’t already use Sublime Text – it might be worth it just for this!

Finally, if you really want to you can download my source code for the project – as it stands at this point. As explained in the video it is very much an evolution from a basic idea – so isn’t that well written. But it does the job.

First ABS Print on DIY Prusa i3 MK2 – Slicer Settings, Test Prints & Results

After banging on about it for months, I finally get around to trying ABS filament on my DIY Prusa. I heard lots of bad things about trying to print ABS, especially without an enclosure, so I was ready for the worst. Expectations were set low 😉

In this video I go through, in quite a lot of detail (!), my initial slicer settings, run some test prints and think about the results….

Prusa i3 MK2 3D Printer – Electronics Mounted, FINALLY!

In this video I show how I ended up mounting all the electronics for the Prusa i3 MK2 clone. As the frame wasn’t as solid as the original’s aluminium one I decided that it needed a brace, which provided the perfect location to mount the Arduino, RAMPS, Raspberry Pi and all supporting parts.

I also added a brace to the other side – which gives me room for electrical expansion!!!!

I mounted the whole thing to an office desk, I picked up for free, and even though all four corners of the Y axis are square and sit on the desk, there is a slight amount of hammering when printing.

To silence that I drew up and printed out some little securing clamps which just make sure they cannot move. You can click the image below to download the STL for these clamps. They should work on any printer using the same Y Axis design and the Prusa i3 MK2.

Prusa i3 MK2 Y Axis Securing Clamps

Prusa i3 MK2 Y Axis Securing Clamps

And just in case anyone might find it useful, here is the STL for my RepRap Discount Full Graphic Smart Controller mounting plate, which is just a plate with mount holes in the right places and a boss on the rear tapered to accept the nozzle of a flexible cooling hose!!!

RepRapDiscount Full Graphic Smart Controller Mount

RepRapDiscount Full Graphic Smart Controller Mount

 

Fixing LCD Corruption on Prusa i3 MK2 Clone with RAMPS & Arduino

Really the only part of my Prusa i3 MK2 clone build that didn’t function as it should out of the box was the LCD Module with builtin SD card reader, rotary encoder, buzzer and stop button.

In this video I discuss how I tracked down the issues and fixed them. I also changed the ribbon cables for shielded cables as I needed them for how I was mounting the module – but it also assisted with preventing corruption.

The model I have is pictured below and its full title is a Bigtreetech RepRapDiscount Full Graphic Smart Controller.

Bigtreetech LCD Module, RepRapDiscount Full Graphic Smart Controller

During my trawling of the internet trying to find specific data for this LCD, (which I didn’t..) I used information from the documents below to build my own schematics, which are at the bottom of this post.

For anyone wishing to tear apart an HDMI cable to use as a shielded cable to the LCD Module, here is a pin diagram for a standard HDMI cable. (Although that isn’t much use as we are only using it as a general shielded multi-core cable! A decent HDMI cable has 7 single cores, and 4 twisted pairs inside their own separate shielding. This gives us 15 conductors, ignoring the shielding. The one I chose also had a metal braided wrap around the whole thing – I earthed them all to building earth)

As part of the fix I had to introduce delays into the instruction transmission from Marlin/Arduino to the LCD. Although I couldn’t find any official documentation of it, here is a post from Guthub which includes discussion from the coder who came up with the LCD handling in Marlin.

I discuss in the video how to arrive at these delays (noops), but below is how I finally set them to avoid corruption of the LCD. I have inserted these 3 lines into my Configuration.h file.

#define ST7920_DELAY_1 DELAY_1_NOP
#define ST7920_DELAY_2 DELAY_2_NOP
#define ST7920_DELAY_3 DELAY_1_NOP

Finally the schematics I drew up after confirming all the routing of wires from Arduino, through RAMPS, through connectors and into the various parts on the Bigtreetech LCD module.

Bigtreetech 128×64 LCD for RAMPS Schematic

RAMPS Aux3 Aux4 LCD Adapter Schematic with Arduino Pins

© 2023 Jules Gilson

 

Additional Artwork Designed by Freepik Additional Artwork Designed by Freepik