Wifi on 3D printer with NodeMCU & ESP3D V2 + V3 installation
Melvin George Melvin George
1.12K subscribers
13,622 views
0

 Published On Apr 29, 2021

This video is not sponsored by anyone nor the parts I've used in this tutorial.


###########
if you need additional help, join my server
  / discord  
###########


What we can do with ESP3D!!
• Wireless serial monitor
• PID tuning without PC
• Print monitoring
• firmware upload and update
• Gcode upload and printing
• -Z axis babystepping
• EEPROM management
• Print camera with ESP cam

[ # ESP3D V3 currently doesn't support gcode upload for NodeMCU V2/ V3, if you want gcode upload for ESP3D V3, you have to get ESP32 / ESP32-Cam module.

{
V3 features :
• Emergency Stop
• Print percentage
} ]

(note: if the NodeMCU module got bricked or you uploaded a wrong index.html.gz where you are getting a blank screen, connect the NodeMCU back to your PC and upload a different version of ESP3D, eg: if your V1 is bricked, upload a V3 and vice versa)

Download Microsoft VSCODE
https://code.visualstudio.com

How to install PlatformIO in VSCODE
https://platformio.org/install/ide?in...

ESP3d 2.1.1
https://github.com/luc-github/ESP3D/t...

WebUI for V2.1.1
https://github.com/luc-github/ESP3D-W...

ESP3D V3
https://github.com/luc-github/ESP3D/t...

ESP3D V3 Web UI (index.html.gz)
https://github.com/luc-github/ESP3D-W...

Espressif 8266 Library
https://github.com/platformio/platfor...

Profterface Download
http://www.pronterface.com/

Initial configuration
http://192.168.0.1

Custom configuration
http://printerName.local/#


(Note you might want to change print position to 0 in interface of ESP3D, what this feature does is, it moves your hotend +100 mm Absolute (which can be dangerous if you haven't homed your printer, so change it to 0 for the safety)

(note : I'm Using NodeMCU V2 instead of V3,
because I had bad experience with CH340G driver before on my arduino Mega.
(    • How to fix a Dead Arduino Mega (CH340...   )
So I will always go for a Square shaped IC than a rectangular IC.)

NodeMCU Specs
• NodeMCU consist an input voltage regulator AMS1117 with
[# Minimum Input voltage 4.6V (3.3 out + 1.3 drop)
Maximum rated voltage 15V]

• Recommended using Vin of NodeMCU as VCC 5V.

• You can also power the NodeMCU with external power supply/ 5-12V battery, but make sure to connect the GND of the external power supply to your printer motherboard.

• You can either use Vin of NodeMCU as 5-15V input or a VCC of 5V from your Motherboard

Pinout configuration
Ramps 1.4 (Aux-1)
• Aux 5V to NodeMCU (Vin/ VCC)
• Aux GND to NodeMCU GND
• Aux Tx to NodeMCU Rx
• Aux Rx to NodeMCU Tx

My wiring color code
Red wire for 5V
White for GND
Green for Aux - 1 Tx
Black for Aux - 1 Rx

How to display text on Printer LCD?
Type :
' M117 your text ' in ESP3D Terminal console and Press enter

(Additional note : if your ESP3D disconnects a lot or its freezing, you selected the wrong baud rate. Try changing the baud rate to fix that issue. You can find your correct baud rate in configuration.h file of your 3D printer firmware)

To do PID autotuning

Open ESP3D interface

You have to make sure to turn on your part cooling fan, if any. Make sure your part cooling fan speed percentage is same as your printing fan speed in your slicer software.

Then in ESP3D terminal enter,

M303 S240 C10
Where
S = your desired printing temperature
C = cycle

Once the PID is complete collect the P, I, D values from

#define DEFAULT_Kp 13.22
#define DEFAULT_Ki 0.79
#define DEFAULT_Kd 54.98

(The above values are of my printer, yours will vary hence use the values you get)

Type

M301 P13.22 I0.79 D54.98

Then Type

M500

Click enter to save the new PID values

Now again run M503 to check if your new PID values has been saved into the EEPROM

You can reboot the printer to double check the values saved.


If you have more queries
Instagram @ManMeetsTec
Do Comment on my post just in case if i miss your inbox!

Check out my website for more pics and info about my projects!
https://www.mels3d.com/about-us

00:00 NodeMCU board
03:38 Ramps 1.4 wiring for NodeMCU
05:20 ESP3D web interface
06:40 Uploading GCODE through ESP3D
08:18 ESP3D print Demo
10:31 ESP3D V3
14:23 ESP3D V3 Index.html.gz
15:46 PID tuning using ESP3D

show more

Share/Embed