Close
0%
0%

ESP8266 MAX7219 Dot Matrix Display as MQTT Client

A MAX7219 driven Display, controlled by an ESP8266 SoC and MQTT

Public Chat
Similar projects worth following
This project describes how to connect a MAX7219 to an ESP8266 Chip and let it act as a MQTT client. Its based on my ninHOME Node Project where you can optionally add a MAX7219 Display. But it can easily adapt to work without the other functionality especially without SPIFFS support to save space on your ESP.

Updated to Version 0.2 with updated MAX72XX Library and a whole bunch of text animations

The Firmware is completely based on Sming Framework for ESP8266 and is hopefully easy to use.
I will upload some binaries which you can upload without the compiling.

Formerly i use this firmware and its options for my SmartHome integration with ioBroker from where I script everything i want to control or measure. And it isn't completely ready, so if you want to contribute something ...

---------- more ----------

Here you can see the Webinterface and where you had to set up your Display


Even the time display is a simple crontab in ioBroker (probably you will use the standard crontab to achieve this) which sends the actual time to the mqtt broker to the corresponding topic which the display listens for new text.

You can find the whole source on GitHub or you can use the binaries i provide which you can upload by esptool.py or the graphical pendant esptool-gui which you can find here on hackaday.io.

The App i used in the Video is MQTT Dash which you can find on Android Playstore

 Each widget in MQTT Dash is connected to one MQTT topic of the display. It publishes the messages with a QoS of 1 and as retained message so if the display reboots or something else happend then it restores its state from the retained messages it receives on subscribing to the display topics.

firmware.tar.gz

Current firmware binaries

gzip - 446.55 kB - 05/13/2018 at 00:36

Download

  • 4 × 8x8 LED MAX7219 Dot Matrix Display
  • 1 × ESP8266 Development Board (Modded)

  • 1
    Connect Display to ESP8266

    Connect jumper wires to all 5 Pins of the first MAX7219 Display board (On the side where Data In is printed on PCB) and connect the other ends of the jumper wires to the corrosponding pins like described in the table below.

    LED MatrixESP8266
    VCC+3.3V
    GNDGND
    DINGPIO13 (HSPID)
    CSChoose free GPIO, e.g. GPIO2
    CLKGPIO14 (HSPICLK)
  • 2
    Flash the ninHOME Node Firmware

    You have more than one option to flash the ninHOME Node Firmware.

    1. Get the Source Code and compile, afterwards flash with make command 'make flash'
    2. Flash directly the Binaries with esptool.py or esptool-gui
      esptool.py -p /dev/ttyUSB0 -b 230400 write_flash -ff 40m -fm qio -fs 4m 0x00000 0x00000.bin 0xa000  0xa000.bin 0x52000  spiff_rom.bin
  • 3
    Setup the ninHOME Node Networking

    After flashing the ninHOME Node Firmware and starting up your ESP8266 it won't find any configuration in the SPIFFS so it
    will open up a Wifi Access Point which you can connect to, if you havent changed the name in the source it will be called 'ninHOME Configuration'. 

    After you connected to the Access Point you can open up a Browser and got to (if not changed in source)

    http://192.168.4.1

    There you find an overview of the reachable Wifi Networks.

    Click on your desired network and give in the Wifi Password, after that reset your ESP8266.
    Now your ninHOME Node should be connected to your choosen Wifi Network,
    the IP of it you can find in your Router or if you open up a Serial Monitor on the ESP8266. 

    A more easy way will be implemented soon.

View all 6 instructions

Enjoy this project?

Share

Discussions

harkirat wrote 05/16/2018 at 01:52 point

i am trying to flash this to Nodemcu esp8266 but i canot get it to work can i get help

  Are you sure? yes | no

harkirat wrote 05/11/2018 at 20:02 point

Hello Can i have Binary plz

  Are you sure? yes | no

Andre wrote 04/23/2018 at 19:38 point

I would love to get the binary! :)

  Are you sure? yes | no

NoizzioN wrote 03/13/2018 at 05:01 point

Hi ninharp , can I have the binary please ..thanks

  Are you sure? yes | no

uwe28 wrote 03/10/2018 at 20:37 point

hi, nice job! Can you send me the binays please?

  Are you sure? yes | no

ninharp wrote 02/22/2018 at 17:19 point

Hi, i can send it to you if you want

  Are you sure? yes | no

NoizzioN wrote 03/13/2018 at 09:18 point

very nice project and exactly what im looking , but im not really good on this .. can you share the binary ..or somehow direct me to a instruction . (sorry my knowledge is on network only) ..thanks

  Are you sure? yes | no

ninharp wrote 04/22/2018 at 23:55 point

Hey. For sure i can help you. havent seen your message so the belate response ;) Write me a pm for more 

  Are you sure? yes | no

tokaphi wrote 02/21/2018 at 17:01 point

hello, how can I have the binary file to test please.
Thank you

  Are you sure? yes | no

ninharp wrote 05/16/2018 at 12:16 point

sure. what is your esptool version nd how does your flash command look like?

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates