Updated WiFi Installation (english) (markdown)

Oliver Köster
2022-02-08 16:07:57 +01:00
parent cbf279b41f
commit a3104b30ee

@@ -34,67 +34,67 @@ This section is based on the great project [ESP3D](https://github.com/luc-github
The EXP1 connector is typically used for graphic displays. In Anycubic printers with a touchscreen, however, this connection is completely unoccupied and is usually hidden under a small plug-in circuit board.
[[https://raw.githubusercontent.com/knutwurst/Marlin-2-0-x-Anycubic-i3-MEGA-S/master/images/ESP_01.jpg | width = 800px]]
[[/images/ESP_01.jpg | width = 800px]]
Only 4 pins have to be soldered to this connection. UART requires RX (receive), TX (send) and a power supply. Since the power supply on the board works with 5 volts, an ESP01 cannot be operated without a voltage converter! Hence the aforementioned breakout board, which already contains it.
[[https://raw.githubusercontent.com/knutwurst/Marlin-2-0-x-Anycubic-i3-MEGA-S/master/images/ESP_02.jpg | width = 800px]]
[[/images/ESP_02.jpg | width = 800px]]
After the 4 lines (color-coded if possible) have been soldered on, the board can be reinstalled. How you lay the cables now is up to you. I led the cables directly under the board to the USB port and there led them to the outside through one of the ventilation holes. To the outside, because the printer's housing is made of metal and could otherwise severely restrict WiFi reception.
[[https://raw.githubusercontent.com/knutwurst/Marlin-2-0-x-Anycubic-i3-MEGA-S/master/images/ESP_03.jpg | width = 800px]]
[[/images/ESP_03.jpg | width = 800px]]
The individual Dupont plugs are now plugged into RX, TX, 5V and GND to match the labeling.
[[https://raw.githubusercontent.com/knutwurst/Marlin-2-0-x-Anycubic-i3-MEGA-S/master/images/ESP_04.jpg | width = 800px]]
[[/images/ESP_04.jpg | width = 800px]]
If you want, you can now attach the circuit board to the housing. I used one of the above adhesive pads for this. Regular double-sided tape is too thin and the contacts on the underside would touch the case. By attaching the WiFi module to the outside of the housing, it is not necessary to open the printer later for firmware updates. Simply pull out the ESP01 module, flash it and plug it in again.
[[https://raw.githubusercontent.com/knutwurst/Marlin-2-0-x-Anycubic-i3-MEGA-S/master/images/ESP_05.jpg | width = 800px]]
[[/images/ESP_05.jpg | width = 800px]]
## ESP firmware flashing
To flash the firmware, we connect the ESP01 to the ESP programmer and plug it into a free USB port. We also download the [ESP3D firmware for the ESP01 module](https://github.com/knutwurst/ESP3D/releases).
[[https://raw.githubusercontent.com/knutwurst/Marlin-2-0-x-Anycubic-i3-MEGA-S/master/images/ESP_06.jpg | width = 800px]]
[[/images/ESP_06.jpg | width = 800px]]
Which software you use to write on the ESP is up to you. I like to use the NodeMCU PyFlasher here. However, there is [here a guide and a good overview](https://nodemcu.readthedocs.io/en/latest/flash/).
[[https://raw.githubusercontent.com/knutwurst/Marlin-2-0-x-Anycubic-i3-MEGA-S/master/images/ESP01_Flash.jpg | width = 800px]]
[[/images/ESP01_Flash.jpg | width = 800px]]
## Connect to the new WIFI Network
After flashing, we can switch the programmer so that the ESP01 boots. After about 20 seconds a new network named "ESP3D" should be found.
[[https://raw.githubusercontent.com/knutwurst/Marlin-2-0-x-Anycubic-i3-MEGA-S/master/images/ESP3D_Inst_01.jpg | width = 500px]]
[[/images/ESP3D_Inst_01.jpg | width = 500px]]
## Install web interface
After we have connected, we open a browser on the mobile phone or PC and navigate to the address http://192.168.0.1/. Here we are greeted with the setup wizard, which first asks for the web interface for ESP3D. This [we download here](https://github.com/luc-github/ESP3D-WEBUI/releases), unzip the .zip file and upload the **index.html.gz** in it directly.
[[https://raw.githubusercontent.com/knutwurst/Marlin-2-0-x-Anycubic-i3-MEGA-S/master/images/ESP3D_Inst_02.jpg | width = 800px]]
[[/images/ESP3D_Inst_02.jpg | width = 800px]]
## configuration
It is important to set the baud rate to exactly 500,000, as this is the speed of the printer's new UART interface. It should then be possible to read out and change the data from the printer.
[[https://raw.githubusercontent.com/knutwurst/Marlin-2-0-x-Anycubic-i3-MEGA-S/master/images/ESP3D_Inst_03.jpg | width = 800px]]
[[/images/ESP3D_Inst_03.jpg | width = 800px]]
If this was overlooked in the settings, you can still change all values afterwards.
[[https://raw.githubusercontent.com/knutwurst/Marlin-2-0-x-Anycubic-i3-MEGA-S/master/images/ESP3D_00.jpg | width = 600px]]
[[/images/ESP3D_00.jpg | width = 600px]]
## Complete
The following images show the web interface in an overview and in the specific printer settings. I find the option to be able to change all parameters and also the mesh directly via WiFi at any time very helpful.
[[https://raw.githubusercontent.com/knutwurst/Marlin-2-0-x-Anycubic-i3-MEGA-S/master/images/ESP3D_01.jpg | width = 1280px]]
[[/images/ESP3D_01.jpg | width = 1280px]]
[[https://raw.githubusercontent.com/knutwurst/Marlin-2-0-x-Anycubic-i3-MEGA-S/master/images/ESP3D_02.jpg | width = 800px]]
[[/images/ESP3D_02.jpg | width = 800px]]
[[https://raw.githubusercontent.com/knutwurst/Marlin-2-0-x-Anycubic-i3-MEGA-S/master/images/ESP3D_03.jpg | width = 800px]]
[[/images/ESP3D_03.jpg | width = 800px]]
[[https://raw.githubusercontent.com/knutwurst/Marlin-2-0-x-Anycubic-i3-MEGA-S/master/images/ESP3D_04.jpg | width = 800px]]
[[/images/ESP3D_04.jpg | width = 800px]]
***