Move issue tracker images to wiki

Move all direct commands documents to wiki
This commit is contained in:
Luc 2020-10-04 11:12:51 +02:00
parent 1a5c0e8a20
commit 5097084297
19 changed files with 351 additions and 13 deletions

View File

@ -1,7 +1,7 @@
We can flash our loved ESP3D to cheap ESP-12F based serial wifi module (eg [from aliexpress](https://www.aliexpress.com/item/ESP8266-ESP-12F-Serial-WIFI-Wireless-Transceiver-Module-For-Arduino-ESP-12F-Adapter-Expansion-Board-For/32804504326.html) ). It contains built in 2way levelshifter/bi-directional logic level converter. So we can power and use via 5V uart from the 3d printers' motherboard.
* We need to manualy ground the ```IO0``` while powering up to start in flash mode while powering up (there is no switch for that, neither for reset)
* ![wiring](https://i.imgur.com/GgirQpB.png)
* ![wiring](https://raw.githubusercontent.com/wiki/luc-github/ESP3D/images/esp/ESP12.png)
* I used FTDI adapter as usb2serial
* We have to see in console/serial monitor boot mode is (*1*,7).
* baudrate: 74880

View File

@ -1,7 +1,7 @@
For the Sanguino based CR-10 and Ender printers you will need to solder to any of the via circled (can also be done in the backside of board), or to the legs of the Arduino or ftdi. Connect TX from the board to RX of Wemos D1 mini and RX from board to TX of Wemos D1 mini. 5v and GND are located in the six pin header next to the LCD connector.
![](https://i.imgur.com/2TFdjQh.jpg)
![](https://raw.githubusercontent.com/wiki/luc-github/ESP3D/images/CR10/board.jpg)
Since soldering might be difficult because the solder points are so close to each other, another option is to scrape off the insulation from the traces on the backside and solder there. Be extra careful not to scrape the surrounding ground plane. You need suitable fine scraping tools for this. The picture below shows an Ender-2 PCB.
![](https://user-images.githubusercontent.com/2480569/60397893-7df68c00-9b41-11e9-8286-e624623df3f2.jpg)
![](https://raw.githubusercontent.com/wiki/luc-github/ESP3D/images/CR10/traces.jpg)

View File

@ -1,3 +1,3 @@
You will need to solder to small circle, or to the legs of the ATmega2560 (RXD0 pin 2, TXD0 pin 3)
![Ender 4](https://i.imgur.com/5gHKrrm.jpg)
![Ender 4](https://raw.githubusercontent.com/wiki/luc-github/ESP3D/images/ender4/board.jpg)

View File

@ -1,5 +1,5 @@
## Direct commands:
* [v2.0](https://github.com/luc-github/ESP3D/blob/2.0/docs/Commands.txt)
* [v2.1](https://github.com/luc-github/ESP3D/blob/2.1/docs/Commands.txt)
* [v3.0](https://raw.githubusercontent.com/wiki/luc-github/ESP3D/docs/Commands.txt)
* [v2.0](https://raw.githubusercontent.com/wiki/luc-github/ESP3D/docs/Commands2_0.txt)
* [v2.1](https://raw.githubusercontent.com/wiki/luc-github/ESP3D/docs/Commands2_1.txt)
* [v3.0](https://raw.githubusercontent.com/wiki/luc-github/ESP3D/docs/Commands3.txt)

View File

@ -1,8 +1,8 @@
# Wiring ESP32 CAM
Once the board is programmed, the wiring to the printer board should be like this:
![ESP32 CAM connection diagram](https://user-images.githubusercontent.com/62440824/77234429-a7af8180-6bae-11ea-9121-d215436c38a2.png)
![ESP32 CAM connection diagram](https://raw.githubusercontent.com/wiki/luc-github/ESP3D/images/esp/ESPcam32.png)
note: this is not the only way to connect the board.
* other values for the resistors could be used (always in the ratio 1:2)
* could use a logic level coverter 5V - 3.3V (see [D1-mini wiki page](https://github.com/luc-github/ESP3D/wiki/D1-mini) )
* could use a logic level coverter 5V - 3.3V (see [D1-mini wiki page](https://github.com/luc-github/ESP3D/wiki/D1-mini) )

View File

@ -52,5 +52,5 @@ For more Info check http://lokspace.eu/anet-a8-wifi-mod/
# For connecting version 1.7 Anet boards
Unlike older boards this board does not require you to remove any resistors.
You will have to solder two wires from number 9 and number 10 its recommender to connect these to pin 1 and 2 of J3 connector. ![board](https://user-images.githubusercontent.com/28871862/79461201-78f0c380-8013-11ea-83f7-db038b93a7cc.jpg)
You will have to solder two wires from number 9 and number 10 its recommender to connect these to pin 1 and 2 of J3 connector. ![board](https://raw.githubusercontent.com/wiki/luc-github/ESP3D/images/Anet/board.jpg)

View File

@ -1,2 +1,2 @@
# Where to connect ESP on Smoothieboard:
![](https://github.com/luc-github/ESP3D/blob/2.0/images/Smoothieware/smoothieboard-wiring.png)
![](https://raw.githubusercontent.com/wiki/luc-github/ESP3D/images/Smoothieware/smoothieboard-wiring.png)

View File

@ -4,6 +4,6 @@ To connect the ESP12e to the UART0. (Credits:https://www.lesimprimantes3d.fr/for
5V (buck to 3.3v if directly connect to ESP - most development ESP boards already have this voltage limited built-in - but check!) and GND can be taken from the AUX3 exposed connector.
UART0 is normally used by USB port so don't use both together - so this hack piggybacks on that same port at UART level.
![](https://user-images.githubusercontent.com/46300801/50600783-8c295f80-0eb2-11e9-8ee2-0536256125e9.JPG)
![](https://raw.githubusercontent.com/wiki/luc-github/ESP3D/images/Trigorilla/board.jpg)
![](https://user-images.githubusercontent.com/46300801/50600853-bbd86780-0eb2-11e9-93eb-5680ab05b3c8.JPG)
![](https://raw.githubusercontent.com/wiki/luc-github/ESP3D/images/Trigorilla/nodemcu.jpg)

163
wiki/docs/Commands2_0.txt Normal file
View File

@ -0,0 +1,163 @@
* Change STA SSID
[ESP100]<SSID>
if authentication is on, need admin password
[ESP100]<SSID>pwd=<admin password>
* Change STA Password
[ESP101]<Password>
if authentication is on, need admin password
[ESP101]<Password>pwd=<admin password>
* Change Hostname
[ESP102]<hostname>
if authentication is on, need admin password
[ESP102]<hostname>pwd=<admin password>
* Change Wifi mode (STA/AP)
[ESP103]<mode>
if authentication is on, need admin password
[ESP103]<mode>pwd=<admin password>
* Change STA IP mode (DHCP/STATIC)
[ESP104]<mode>
if authentication is on, need admin password
[ESP104]<mode>pwd=<admin password>
* Change AP SSID
[ESP105]<SSID>
if authentication is on, need admin password
[ESP105]<SSID>pwd=<admin password>
* Change AP Password
[ESP106]<Password>
if authentication is on, need admin password
[ESP106]<Password>pwd=<admin password>
* Change AP IP mode (DHCP/STATIC)
[ESP107]<mode>
if authentication is on, need admin password
[ESP107]<mode>pwd=<admin password>
* Set wifi on/off
[ESP110]<state>
state can be ON, OFF, RESTART
if authentication is on, need admin password
[ESP110]<state>pwd=<admin password>
* Get current IP
[ESP111]<header answer>
* Get hostname
[ESP112]<header answer>
*Get/Set pin value
[ESP201]P<pin> V<value> [PULLUP=YES RAW=YES ANALOG=NO ANALOG_RANGE=255 CLEARCHANNELS=NO]pwd=<admin password>
if no V<value> get P<pin> value
if V<value> 0/1 set INPUT_PULLUP value, but for GPIO16 INPUT_PULLDOWN_16
GPIO1 and GPIO3 cannot be used as they are used for serial
if PULLUP=YES set input pull up, if not set input
if RAW=YES do not set pinmode just read value
* Output to oled column C and line L
[ESP210]C=<col> L=<line> T=<Text>
* Output to oled line 1
[ESP211]<Text>
* Output to oled line 2
[ESP212]<Text>
* Output to oled line 3
[ESP213]<Text>
* Output to oled line 4
[ESP214]<Text>
*Get full EEPROM settings content
but do not give any passwords
can filter if only need wifi or printer
[ESP400]<network/printer>
*Set EEPROM setting
position in EEPROM, type: B(byte), I(integer/long), S(string), A(IP address / mask)
[ESP401]P=<position> T=<type> V=<value> pwd=<user/admin password>
Positions:
* EP_WIFI_MODE 0 //1 byte = flag
* EP_STA_SSID 1 //33 bytes 32+1 = string ; warning does not support multibyte char like chinese
* EP_STA_PASSWORD 34 //65 bytes 64 +1 = string ;warning does not support multibyte char like chinese
* EP_STA_IP_MODE 99 //1 byte = flag
* EP_STA_IP_VALUE 100 //4 bytes xxx.xxx.xxx.xxx
* EP_STA_MASK_VALUE 104 //4 bytes xxx.xxx.xxx.xxx
* EP_STA_GATEWAY_VALUE 108 //4 bytes xxx.xxx.xxx.xxx
* EP_BAUD_RATE 112 //4 bytes = int
* EP_STA_PHY_MODE 116 //1 byte = flag
* EP_SLEEP_MODE 117 //1 byte = flag
* EP_CHANNEL 118 //1 byte = flag
* EP_AUTH_TYPE 119 //1 byte = flag
* EP_SSID_VISIBLE 120 //1 byte = flag
* EP_WEB_PORT 121 //4 bytes = int
* EP_DATA_PORT 125 //4 bytes = int
* EP_OUTPUT_FLAG 129 //1 bytes = flag
* EP_HOSTNAME 130//33 bytes 32+1 = string ; warning does not support multibyte char like chinese
* EP_DHT_INTERVAL 164//4 bytes = int
* EP_FREE_INT2 168//4 bytes = int
* EP_FREE_INT3 172//4 bytes = int
* EP_ADMIN_PWD 176//21 bytes 20+1 = string ; warning does not support multibyte char like chinese
* EP_USER_PWD 197//21 bytes 20+1 = string ; warning does not support multibyte char like chinese
* EP_AP_SSID 218 //33 bytes 32+1 = string ; warning does not support multibyte char like chinese
* EP_AP_PASSWORD 251 //65 bytes 64 +1 = string ;warning does not support multibyte char like chinese
* EP_AP_IP_VALUE 316 //4 bytes xxx.xxx.xxx.xxx
* EP_AP_MASK_VALUE 320 //4 bytes xxx.xxx.xxx.xxx
* EP_AP_GATEWAY_VALUE 324 //4 bytes xxx.xxx.xxx.xxx
* EP_AP_IP_MODE 329 //1 byte = flag
* EP_AP_PHY_MODE 330 //1 byte = flag
* EP_FREE_STRING1 331 //129 bytes 128+1 = string ; warning does not support multibyte char like chinese
* EP_DHT_TYPE 460 //1 bytes = flag
* EP_TARGET_FW 461 //1 bytes = flag
*Get available AP list (limited to 30)
output is JSON or plain text according parameter
[ESP410]<plain>
*Get current settings of ESP3D
output is JSON or plain text according parameter
[ESP420]<plain>
* Get/Set ESP mode
cmd can be RESET, SAFEMODE, CONFIG, RESTART
[ESP444]<cmd>
if authentication is on, need admin password for RESET, RESTART and SAFEMODE
[ESP444]<cmd>pwd=<admin password>
* Change / Reset user password
[ESP555]<password>pwd=<admin password>
if no password set it use default one
* Send GCode with check sum caching right line numbering
[ESP600]<gcode>
* Send line checksum
[ESP601]<line>
* Read SPIFFS file and send each line to serial
[ESP700]<filename>
* Format SPIFFS
[ESP710]FORMAT pwd=<admin password>
* SPIFFS total size and used size
[ESP720]<header answer>
* Get fw version and basic information
[ESP800]<header answer>
* Get fw target
[ESP801]<header answer>
* Check SD presence
[ESP802]

175
wiki/docs/Commands2_1.txt Normal file
View File

@ -0,0 +1,175 @@
* Change STA SSID
[ESP100]<SSID>
if authentication is on, need admin password
[ESP100]<SSID>pwd=<admin password>
* Change STA Password
[ESP101]<Password>
if authentication is on, need admin password
[ESP101]<Password>pwd=<admin password>
* Change Hostname
[ESP102]<hostname>
if authentication is on, need admin password
[ESP102]<hostname>pwd=<admin password>
* Change Wifi mode (STA/AP)
[ESP103]<mode>
if authentication is on, need admin password
[ESP103]<mode>pwd=<admin password>
* Change STA IP mode (DHCP/STATIC)
[ESP104]<mode>
if authentication is on, need admin password
[ESP104]<mode>pwd=<admin password>
* Change AP SSID
[ESP105]<SSID>
if authentication is on, need admin password
[ESP105]<SSID>pwd=<admin password>
* Change AP Password
[ESP106]<Password>
if authentication is on, need admin password
[ESP106]<Password>pwd=<admin password>
* Change AP IP mode (DHCP/STATIC)
[ESP107]<mode>
if authentication is on, need admin password
[ESP107]<mode>pwd=<admin password>
* Set wifi on/off
[ESP110]<state>
state can be ON, OFF, RESTART
if authentication is on, need admin password
[ESP110]<state>pwd=<admin password>
* Get current IP
[ESP111]<header answer>
* Get hostname
[ESP112]<header answer>
*Get/Set pin value
[ESP201]P<pin> V<value> [PULLUP=YES RAW=YES ANALOG=NO ANALOG_RANGE=255 CLEARCHANNELS=NO]pwd=<admin password>
if no V<value> get P<pin> value
if V<value> 0/1 set INPUT_PULLUP value, but for GPIO16 INPUT_PULLDOWN_16
GPIO1 and GPIO3 cannot be used as they are used for serial
if PULLUP=YES set input pull up, if not set input
if RAW=YES do not set pinmode just read value
* Output to oled column C and line L
[ESP210]C=<col> L=<line> T=<Text>
* Output to oled line 1
[ESP211]<Text>
* Output to oled line 2
[ESP212]<Text>
* Output to oled line 3
[ESP213]<Text>
* Output to oled line 4
[ESP214]<Text>
* Delay command
[ESP290]<delay in ms>[pwd=<user password>]
* Give EEPROM Version detected
[ESP300]
*Get full EEPROM settings content
but do not give any passwords
can filter if only need wifi or printer
[ESP400]<network/printer>
*Set EEPROM setting
position in EEPROM, type: B(byte), I(integer/long), S(string), A(IP address / mask)
[ESP401]P=<position> T=<type> V=<value> pwd=<user/admin password>
Positions:
* EP_WIFI_MODE 0 //1 byte = flag
* EP_STA_SSID 1 //33 bytes 32+1 = string ; warning does not support multibyte char like chinese
* EP_STA_PASSWORD 34 //65 bytes 64 +1 = string ;warning does not support multibyte char like chinese
* EP_STA_IP_MODE 99 //1 byte = flag
* EP_STA_IP_VALUE 100 //4 bytes xxx.xxx.xxx.xxx
* EP_STA_MASK_VALUE 104 //4 bytes xxx.xxx.xxx.xxx
* EP_STA_GATEWAY_VALUE 108 //4 bytes xxx.xxx.xxx.xxx
* EP_BAUD_RATE 112 //4 bytes = int
* EP_STA_PHY_MODE 116 //1 byte = flag
* EP_SLEEP_MODE 117 //1 byte = flag
* EP_CHANNEL 118 //1 byte = flag
* EP_AUTH_TYPE 119 //1 byte = flag
* EP_SSID_VISIBLE 120 //1 byte = flag
* EP_WEB_PORT 121 //4 bytes = int
* EP_DATA_PORT 125 //4 bytes = int
* EP_OUTPUT_FLAG 129 //1 bytes = flag
* EP_HOSTNAME 130//33 bytes 32+1 = string ; warning does not support multibyte char like chinese
* EP_DHT_INTERVAL 164//4 bytes = int
* EP_FREE_INT2 168//4 bytes = int
* EP_FREE_INT3 172//4 bytes = int
* EP_ADMIN_PWD 176//21 bytes 20+1 = string ; warning does not support multibyte char like chinese
* EP_USER_PWD 197//21 bytes 20+1 = string ; warning does not support multibyte char like chinese
* EP_AP_SSID 218 //33 bytes 32+1 = string ; warning does not support multibyte char like chinese
* EP_AP_PASSWORD 251 //65 bytes 64 +1 = string ;warning does not support multibyte char like chinese
* EP_AP_IP_VALUE 316 //4 bytes xxx.xxx.xxx.xxx
* EP_AP_MASK_VALUE 320 //4 bytes xxx.xxx.xxx.xxx
* EP_AP_GATEWAY_VALUE 324 //4 bytes xxx.xxx.xxx.xxx
* EP_AP_IP_MODE 329 //1 byte = flag
* EP_AP_PHY_MODE 330 //1 byte = flag
* EP_FREE_STRING1 331 //129 bytes 128+1 = string ; warning does not support multibyte char like chinese
* EP_DHT_TYPE 460 //1 bytes = flag
* EP_TARGET_FW 461 //1 bytes = flag
*Get available AP list (limited to 30)
output is JSON or plain text according parameter
[ESP410]<plain>
*Get current settings of ESP3D
output is JSON or plain text according parameter
[ESP420]<plain>
* Get/Set ESP mode
cmd can be RESET, SAFEMODE, CONFIG, RESTART
[ESP444]<cmd>
if authentication is on, need admin password for RESET, RESTART and SAFEMODE
[ESP444]<cmd>pwd=<admin password>
* Send GCode with check sum caching right line numbering
[ESP500]<gcode>
* Send line checksum
[ESP501]<line>
* Change / Reset user password
[ESP555]<password>pwd=<admin password>
if no password set it use default one
* Send Notification
[ESP600]msg [pwd=<admin password>]
* Set/Get Notification settings
[ESP610]type=<NONE/PUSHOVER/EMAIL/LINE> T1=<token1> T2=<token2> TS=<Settings> [pwd=<admin password>]
Get will give type and settings only not the protected T1/T2
* Read SPIFFS file and send each line to serial
[ESP700]<filename>
* Format SPIFFS
[ESP710]FORMAT pwd=<admin password>
* SPIFFS total size and used size
[ESP720]<header answer>
* Get fw version and basic information
[ESP800]<header answer>
* Get fw target
[ESP801]<header answer>
* Get state / Set Enable / Disable Serial Communication
[ESP900]<ENABLE/DISABLE>

BIN
wiki/images/Anet/board.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 414 KiB

BIN
wiki/images/CR10/board.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1018 KiB

BIN
wiki/images/CR10/traces.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 809 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

BIN
wiki/images/ESP12E.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 433 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB