arkypita / ESP8266-SerialTelnet

Telnet to Serial bridge for LaserGRBL
47 stars 18 forks source link

1. Download and install Arduino IDE 1.6.x from https://www.arduino.cc/en/Main/Software

2. Install ESP8266 Arduino support https://github.com/esp8266/Arduino#installing-with-boards-manager

Please note: require version >= 2.4.0 Replace package URL with https://github.com/esp8266/Arduino/releases/download/2.4.0-rc1/package_esp8266com_index.json

3. Install the following libraries:

3.1: WifiManager: https://github.com/tzapu/WiFiManager#install-through-library-manager

4. Configure your ESP8266 for sketch upload (GIPOs pulled up and down accordingly, USB to serial connected, reset and ready for upload)

5. Upload the Sketch contained in telnetserver folder

6. Connect the TX of the ESP8266 to RX of grbl arduino board, and RX of the ESP8266 to TX. Power up the ESP and engraver Remember that ESP modules use 3.3v and arduino use 5V. Somewere is suggested to connect via a voltage divider like this:

image

7. Connect to the ESP8266 WiFi network and go to "http:\192.168.4.1". Configure connection to your AP, set password, then switch back to your local wifi (Animation below shows the details)

8. In LaserGRBL open menu "grbl-settings" and configure for Telnet protocol and connect to the IP of the ESP (usually 192.168.x.y:23 where "x" is your subnet and "y" assigned by DHCP)

NOTE: I will add an IP scanner soon. For now, check on your DHCP server which IP was dished out)

Setting Up Wifi