Skip to main content

Important calibration when loading new 3D printer filament

Note to self: The most important calibration to do when loading new 3D printer filament (even if it's the same brand and type, because the formulation may have changed) is to calibrate the extruder steps/mm (also called E-steps/mm).

Details of this calibration is given here.

The (simplified) steps I take are:

Power up the 3D printer and hook it up to the laptop via a USB cable.

Install and run a program that is able to talk to the 3D printer via the virtual serial port (eg. Prointerface).

Mark 10cm of filament, starting from the hole where the filament enters the extruder stepper mechanism and work backwards. An extra piece of filament that is measured to exactly 10cm helps here.

Use the following G-Code to find out your current E-step value.
M503
The current E-step value is the last value (96.5) on this line:
Steps per unit:
    M92 X80.00 Y80.00 Z400.00 E96.5
Issue the following G-Code:
// Set nozzle temp to 190c. Set to temperature you'd be printing the filament at.
M104 S190

// Relative positioning
M83

// Extrude 100mm at 50mm/s rate
G1 E100 F50 

// Reset extruder's origin
G92 E0
Visually inspect how much over or under extrusion there is. If there is over-extrusion, it helps to make a 11-cm marking to estimate how much over-extrusion there is.

The new E-step value is calculated simply as:
10 / actual-extruded-length * current-e-step
The new E-step value can be saved to firmware using:
M92 E100.9 // 100.9 is the new E-step value
M500 // Persist to firmware
Try again and make sure approximately 10cm of filament is extruded. Some filament requires a higher temperature than the typical 190c for this to happen.

Another important calibration to do is to adjust the retraction distance until there is no stringing for the target temperature and filament using one of the models designed for this purpose on Thingiverse.

Comments

Popular posts from this blog

Hacking an analog clock to sync with NTP - Part 5

This is how it looks after I have put everything together. The Arduino sketch is available here . The 2 jumper wires soldered to the clock mechanism are connected to pins D0 and D1 on the ESP-12 (in any order). When the device first boots up, it presents an access point which can be connected to via the PC or smartphone. Once connected, the captive portal redirects the web browser to the configuration page:     A custom field has been added to the WiFi configuration page to enter the current clock time in HHMMSS format. Try to set the clock time to as close to the current time as possible using the radial dial at the back of the clock so the clock will have less work to do catching up. In the config page, the HTML5 Geolocation API is also used to obtain your current location (so if your web browser asks if you would like to share your location, answer "yes"). This is then passed to the Google Time Zone API to obtain the time and DST offset of your time z...

Cooling mod for the X96 Air

I realized after my Ugoos box died that overheating is a big problem with cheap Android TV boxes. A teardown of the Ugoos box shows that it does not have any heatsink or fan at all!  The X96 Air does have a heatsink, but the heatsink is located at the bottom of the casing with no ventilation. In this default configuration, with the ambient room temperature at 25c and playing a 1080p video, I was seeing the CPU temperature at 67c. I drilled a couple of holes at the bottom of the casing. The CPU temperature fell to 59c with the box raised about 2cm with plastic blocks. I retrieved an old 5V laptop fan: Then cut and strip away a spare USB cable: Solder the red and black wires on the fan and the cable: Secure the fan to the bottom of the casing with double-sided tape, then plug the fan into the box's USB connector. Here's a view of the box with some 3D-printed risers installed at the bottom to give the mounted fan sufficient clearance: The CPU now runs at 43c, a huge drop from the ...

Cooling mod for the X96 Air #2

Previously, I added a USB cooling fan to the X96 Air TV box . The problem with this mod is that the fan is always running, and it runs at full speed. Ideally, the fan should kick in only when the CPU temperature is above a certain threshold. It would be even better if there is a way to control the fan speed. Dan McDonald left me a comment pointing to his project on Github . He basically connected the fan to a USB relay that can be controlled by Python script. His project inspired me to make a similar mod that would make use of the spare D1 Mini boards I have lying around. The plan is to hook up the fan to a MOSFET (2N7000) and control it via PWM. Here's the very simple circuit: The code simply reads a single character from the serial port (0 - 9). 0 will turn the fan off, while 1 - 9 will generate a proportional PWM to drive the fan, with 1 being the lowest and 9 being the highest. Here's the Arduino code: #include <Arduino.h> void setup () { Serial . begin ( 9600 ...