Posted on Leave a comment

Duet WiFi – Activate and connect the WiFi… when it doesn’t work!

Guess we’ve all tried it.. just can’t get the WiFi to connect to our home network. Especially after a firmware upgrade.

For some reason the non-macro manual method doesn’t always work, and I’ve learned that the most simple solution then, is to create a macro file with the needed info and execute the macro.

This post is a boiled down version of my Duet WiFi/Eth – Recover from Erase + basic setup post.

Macrofile for networksetup

  • We need to create a small macrofile to make it connect to our WiFi.
    I tried doing this manually without the Macro, but I simply just could not get it to connect..
  • So, go to your Macros folder on your SD card and create a new file named SetNetwork containing the following commands (without spaces before or after the commands on each line):
    M552 S0
    G4 P1000
    M587 S"your-network-ssid" P"your-network-password"


    Source info
  • Now eject the card from your computer and insert it into your Duet WiFi and connect it to your computer using the USB cable

Activate WiFi

  • Connect to your Duet WiFi using Pronterface and type M552 S0 to start the WiFi module
    M552 S0
    SENDING:M552 S0
    WiFi module started
  • Type in M98 P/macros/SetNetwork to execute the macro we created
    >>> M98 P/macros/SetNetwork
    SENDING:M98 P/MACROS/SETNETWORK
    WiFi module started
  • Send M587 and check that your network is listed
  • Send M552 S1.
    After a few seconds you should see a message that it has connected to your access point and display the IP it has recieved.
  • Connect via the web interface
  • Enable the M552 S1 command in config.g – if it’s not in there, then just make a new line and type it in.
  • For security reasons you might want to delete the SetNetwork macro file

SD Card Folder Structure

It’s usefull to know how the structure is supposed to be on the SD-card and also to know the function of each of the files and more info.

All this is shown on the SD Card folder structure wiki page

Posted on Leave a comment

Ultimaker – Fintuning nozzle distance from bed

This small blog-post guide can be used with any printer using the standard Gcode system.

I’m simply writing it in regards to Ultimaker as the issue has arisen from using these machines and their special kind of bed adjustment, which doesn’t provide any tools to do fine final adjustments.

Tools needed:

Pronterface/Printrun

Go to their website and download the program for your system. File downloads for Windows, Linux and MAC.

You can also go and visit their Github repository if you want to.

After installation you select proper Com port and Baud if/as needed and hit Connect.

Z-offset

When you connect you automatically get a detailed readout of current settings.

I’ve noted the Extruder steps/mm as many would like to adjust these some.

The current Z-offset as defined during setup of myUltimaker is Z-12.45. The nozzle needs to be a tad closer to the bed, so I’ll change the Z-offset to Z-12.40 as raising number is closing in the distance, while lowering the number increase the distance.

Adjust Z-offset

We are using M206: Offset Axes to change the Z-offset.

We simply type M206 followed by the new value of Z-12.40
M206 Z-12.40

Save changes

Now use M500 to save the new settings to Eeprom in order for the changes to be in place after poweroff.
M500
It will all look like this in Pronterface serial window:
>>>M206 Z-12.40
SENDING:M206 Z-12.40
SENDING_M500
echo:Settings Stored

Reconnect to verify changes are now changed. Might want to unplug USB and power the printer on and off to verify the changes are stored correctly as well.