User Tools

Site Tools


wifi:g-code_file

G-code file


Connecting to WiFi

  1. Save the file “wifi_setup.gcode” from the link below or Copy & paste from the code block below.
  2. Using a text editor; Windows Notepad, Notepad++, or similar program
    1. Replace “SSID” with the name of your WiFi network - don't leave spaces after the SSID name unless your SSID has spaces at the end
    2. Replace “PASSWORD” with the password for your WiFi network - don't have spaces after the password unless your password has spaces at the end
    3. Verify there is a blank line for the last line. If there is not a blank line then add one.
  3. Save the file with the extension “.gcode” e.g., “wifi_setup.gcode”
  4. Copy the file onto a microSD card and insert the microSD card into the printer.
  5. From the Print menu select the file you just copied to the card.
  6. The printer will go through a short routine. The fan turning on/off and homing of all axes is only done to let the user know that process has started and when it has ended. i.e. The important parts are the two lines that contain M550 & M551
    1. The fan will turn on to signify start
    2. The printer will move to home position to signify start
    3. SSID & Password will be saved to the printer
    4. The printer will re-home itself
    5. The fan will turn off to signify completion
    6. Sometimes the LCD doesn't show the job as complete but you can cancel the job or power cycle the printer.

Limitations

  • This method will work with SSID & passwords that contain multiple spaces, space(s) at the end, special characters, & lower case characters in any location.
  • This method will not work if WiFi password contains a semicolon “;”
  • This method will not work for configuring open system WiFi networks with no password.
wifi_setup.gcode
; G-Code generated by Matthew Upp
; WiFi SSID & Password for the MP Mini Delta
; 
; Look below and replace "SSID" with the name of your WiFi network - don't leave spaces after the SSID name
; Look below and replace "PASSWORD" with the password for your WiFi network - don't leave spaces after the password
; This method will not work if WiFi password contains a semicolon “;”
; This method will not work for configuring open system WiFi networks with no password
; Lines with only a semicolon are for making line separations only
; Please add a blank line to the end of the file while editing. DokuWiki Code Blocks deletes blank lines at the end of the block but g-code files should end with a single blank line at the end.
; 
; 
M106 S1 ; turn fan off in case it was already on
M106 S240 ; turn fan on to signify start
G28 ; home all axes
; 
;  
M550 SSID
M551 PASSWORD
; 
; 
G28 ; re-home all axes
M106 S1 ; turn fan off to signify completion
M84 ; disable motors


NOTES:

  • WiFi and USB cannot access the printer simultaneously.
  • Disconnect USB cable from the printer if you want to use the WiFi function.
  • WiFi works with 2.4 GHz b/g/n networks only.
  • These next two notes apply to when connecting using the Android & iOS apps.
    1. If you have a 2.4 GHz and 5 GHz network using the same SSID(wireless network name) you may have trouble connecting the printer.
    2. For initial WiFi setup try moving the printer closer to the WiFi router.
wifi/g-code_file.txt · Last modified: 2017/08/02 14:42 by Matthew Upp