Giter Club home page Giter Club logo

espsuite's Introduction

espSuite

Full-featured Serial bridge for ESP8266, supports MQTT, WebSockets,Raw TCP (Telnet), Server and Client mode and also comes with a nice Configuration Page.

This is great because we don't have to upload code again all the time we want to change to AP Mode or change the password. Just go to the Setup Page, submit and it will be stored in the SPIFFS.

It uses Arduino Libraries arduinoWebSockets for WebSockets, pubsubclient for MQTT and ArduinoJson for JSON Parsing.

Flashing:

Pre-built:

Bulding from source will allow you to modify initial values, but if you experience trouble, try flashing this binary extracted from a working device.

  • Install esptool
  • Run (replace COM4 with your port number):
esptool -p COM4 write_flash 0x0 espSuite_1MB.bin
From source
  • Upload the Sketch to your ESP8266
  • Upload Sketch Data using ESP8266 Sketch Data Upload Tool
  • Connect to your new AP (SSID is things by default) and go to 192.168.1.1 to see the Setup Page

The ESP will now work as an awesome Serial device, always when you Serial.print("something"), something will be sent using the protocol you've chosen. When you send something to its IP address and port (don't forget the '\n' in the end), it will be printed to Arduino too.

Things to make it cooler:
  • Choose another language (currently, EN-US and PT-BR available) by editing the indexPath variable
  • Edit /data/index_xx.html with the name of your thing or robot. E.g.: Wall-E Setup
  • You can change or view any any initial setting in the JSON files inside the data folder

The Setup Page

Setup Page

The Wiring Diagram

Just in case you forgot:

ESP-01 Wiring

Notes

  • Disconnect DTR and RTS before opening Arduino Serial Monitor
  • Make sure to use Newline('\n') as line ending char, or change dataTrailer in the sketch to use something else.
  • If the ESP is resetting:
    • Try flashing Sketch Data and/or Sketch again
    • If you see "exception(28)" on Serial Monitor, try editing the json files (e.g. delete line endings) before flashing Sketch Data

espsuite's People

Contributors

vitorbnc avatar

Stargazers

 avatar

Watchers

James Cloos avatar  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.