Giter Club home page Giter Club logo

esp8266-serialwebsocket's Introduction

Credits: Based on LaserWeb codebase, https://github.com/LaserWeb/LaserWeb3-ESP8266

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

3. Install the following libraries:

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

3.2: arduinoWebSockets: https://github.com/Links2004/arduinoWebSockets

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 websocketserver 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 LaserWebESP8266 protocol and connect to the address of the ESP (usually ws://192.168.x.y:81/ 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

NOTE: To reset the Wifi settings you can send WIFIRESET via websocket

esp8266-serialwebsocket's People

Contributors

arkypita avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.