Git Product home page Git Product logo

esp-matrix's Introduction

ESP Matrix Display

A simple scrolling message display that can be updated over WiFi from a web browser.

Hardware Requirements

The code has been tested on the ESP-01S, the NodeMCU 1.0 board and the Wemos D1 R2 board, but any ESP8266-based board should work with a little modification to the code. Both hardware and software SPI are supported.

The matrix module used was a generic 32x8 module, commonly sold on Amazon, Ebay etc. The MD_Parola library defines this as FC16 hardware.

An example schematic is included for use with the ESP-01S.

Libraries

The following libraries must be installed from the Arduino IDE library manager. The versions below are the versions I used. Updated versions may or may not work, but I make no guarantees.

Library Version Author
MD_MAX72XX 3.2.1 majicDesigns
MD_Parola 3.3.0 majicDesigns
WiFiManager 0.15.0 tzapu

Additonally, the ESP8266 Arduino core must be installed.

Operation

Access point mode (first boot)

When the module first starts it will be in WiFiManager mode. Nothing is displayed during this time.

The ESP module starts in access point mode, with a unique network name (SSID). Connect to this network using your device and you should be automatically taken to the configuration page. To access the configuration page manually navigate to the static IP address in any web browser (by default this is set as 10.0.0.1).

Access point mode is entered whenever a successful connection to WiFi could not be made.

Normal operation

Once a connection to a WiFi network has been established the matrix will scroll the IP address of the configuration page, followed by either the build-in message or whichever message is stored in the ESP file system. The first message to be shown on connection to the WiFi network will always be the local IP addess.

The configuration page is a simple form that has fields for a message, the display intensity (brightness) and scroll speed. When a new message is sent the old message is interrupted and the display cleared. Messages are stored in the ESP module's file system, so they are retained even when the system is powered down.

Factory Reset

A reset routine has been added to the code which allows the WiFi creentials, stored message and stored settings to be erased. Due to the limited availability of GPIO pins on the ESP-01S module this is shared with the CS line of the MAX7219 module. On boards with more available IO lines it is possible to adjust the code so that a dedicated pin is used. See the provided schematic for the appropriate way to connect the reset button when using the shared pin.

To perform a factory reset press and hold the factory reset button during power up, and release it after a few moments. If the reset was successful the word "RESET" will be displayed, followed by "SETUP". The device is now in access point mode and ready to be connected to a new WiFi network.

esp-matrix's People

Contributors

mattybigback avatar

Stargazers

 avatar

Watchers

 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.