User Tools

Site Tools


Sidebar


User's Manual & Quick Start Guide

Specifications

Where to Purchase

Donations & Support

Replacements Parts & Information

Mods & Improvements

How-to

OctoPrint

Slicer Stuff

Troubleshooting

Maintenance

WiFi

Web UI

Firmware

Downloads

Donations & Support


Amazon Affiliate Program Disclosure

Looking for the Monoprice MP Mini Delta Wiki?

wifi:g-code_file

G-code file


Connecting to WiFi

  1. Download the file “wifi_setup.gcode” from the Google Drive “WiFi” Folder, Save 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 movement of the X & Y axis is to let the user know that process has started and that is 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. SSID & Password will be sent and saved to the printer
    3. The fan will turn off for one second and then pulse on and off a few times to signify completion
    4. Sometimes the LCD doesn't show the job as complete but you can cancel the job or power cycle the printer. This seems to happen when there is not a blank/empty line at the end of the gcode file.

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 of GigDigit.com
;
; Set WiFi SSID & Password
;
; This gcode file will work with the following 3D printers:
; Malyan - M100, M200, M300, M310, M320, MA10, MA10 Mini
; Monoprice - MP10, MP10 Mini, MP Mini Delta, MP Select Mini
;
;
; 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.
; If you don't add the blank line but the print 
; completed screen will not appear and will require turning the 
; printer off and back on to proceed. 
; (DokuWiki Code Blocks deletes blank lines at the end of the block but 
; g-code files typically end with a single blank line at the end.)
;
; This file is much longer than it needs to be but is like this to 
; show what is going on.
;
; If when "printing" this file it does not show as completed on the 
; display but the fan pulsed on and off a few times then the commands 
; to set the SSID and password were successfully ran and saved. 
; You can turn the printer off and on.
;
; 
;
; BEGIN
M107 ; turn fan off in case it was already on
M106 S237 ; turn fan on to signify start
;
;
; The next two lines are the only actual commands that are needed to
; store the wifi networks SSID and password.
M550 SSID
M551 PASSWORD
;
;
; PULSE FAN TO SIGNIFY COMPLETION
M107 ; turn fan off
G4 S1 ; wait 1 second
M106 S255 ; fan at full speed
G4 P500 ; wait 0.5 seconds
M107 ; fan off
;
G4 P250 ; wait 0.25 seconds
M106 S255 ; fan at full speed
G4 P500 ; wait 0.5 seconds
M107 ; fan off
;
G4 P250 ; wait 0.25 seconds
M106 S255 ; fan at full speed
G4 P500 ; wait 0.5 seconds
M107 ; fan off
;
G4 P250 ; wait 0.25 seconds
M106 S255 ; fan at full speed
G4 P500 ; wait 0.5 seconds
M107 ; fan off
;
G4 P250 ; wait 0.25 seconds
M106 S255 ; fan at full speed
G4 P500 ; wait 0.5 seconds
M107 ; fan off
;
G4 P250 ; wait 0.25 seconds
M106 S255 ; fan at full speed
G4 P500 ; wait 0.5 seconds
M107 ; fan off
;
;
M400 ; wait for current moves to finish
M107 ; turn fan off to signify completion
M84 ; disable motors
; END


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: 2020/05/22 00:02 by Matthew Upp