This repository has been archived by the owner on Jan 29, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 68
Connecting ESP8266 LaserWeb3 Smoothieware
Peter van der Walt edited this page Oct 12, 2016
·
7 revisions
(note instructions written for Windows, but may equally well be used for other O/S)
- Download and install Arduino IDE 1.6.x from https://www.arduino.cc/en/Main/Software
- Install ESP8266 Arduino support https://github.com/esp8266/Arduino#installing-with-boards-manager
- Install the following libraries: 3.1: WifiManager: https://github.com/tzapu/WiFiManager#install-through-library-manager 3.2: arduinoWebSockets: https://github.com/Links2004/arduinoWebSockets
- Replace the provided WifiManager.h file from the WifiManager library, with the new template from https://github.com/openhardwarecoza/LaserWeb3/blob/master/ESP8266%20Wifi%20Bridge/WiFiManager.h (For Emblaser/Darklylabs theme)
- Configure your ESP8266 for sketch upload (GIPOs pulled up and down accordingly, USB to serial connected, reset and ready for upload)
- Upload the Sketch https://github.com/openhardwarecoza/LaserWeb3/blob/master/ESP8266%20Wifi%20Bridge/websocketserver.ino/websocketserver.ino.ino 6.1 Note after testing, please comment out https://github.com/openhardwarecoza/LaserWeb3/blob/master/ESP8266%20Wifi%20Bridge/websocketserver.ino/websocketserver.ino.ino#L126 - I delete the saved AP details on each reboot while testing to make sure the WifiManager starts. This is unwanted in general use, so comment out line 126 with // in front
- Connect the TX of the ESP8266 to RX of the Smoothie, and RX of the ESP8266 to TX of the Smoothie. Power up the ESP and Smoothie
- Connect to the Emblaser2 AP to connect the ESP to your local Wifi, then switch back to your local wifi (Animation below shows the details)
- Update LaserWeb to the version released on 12 October 2016 or newer
- In LaserWeb, set it to ESP8266, and connect to the IP of the ESP (Note, I will add an IP scanner soon. For now, check on your DHCP server which IP was dished out)
For support: Please join the Google+ Community LaserWeb