Coder Social home page Coder Social logo

longsideled's Introduction

LongsideLED

This is a speedy way of building a scrolling LED sign using 8x8 led displays modules using the MAX7219 chipset and an ESP8266 with the Arduino IDE. It was build originally to go in the window of studio 1 at Longside Radio ( http://longsideradio.co.uk ) and to be a simple way of displaying and updating a scrolling message.

Features :

  • Captive portal for WiFI setup
  • IP address displayed on boot
  • Default message displayed on boot
  • Can change the message from a web page hosted on the ESP8266
  • Can clear the display so it no longer displays a message or revert to default.

Not very clear demo video

Available here : https://youtu.be/cvs0KwTVzGU

Hardware

I suggest you use a NodeMCU dev kit type board or Weemos D1 mini. You can do this with a bare board but if you are doing that I assume you know what you are doing and can adapt this to your needs. The following setup works here but I accept no liability for damage, loss or anything really :) Any suggestions of improvements a gladly recieved.

The MAX7219 modules just daisy chain together with the output of the first one going to the inputs of the second one. It is important to note that your input starts at the right hand end of the modules. The left hand output pins are not connected to anything. The right hand input pins are connected to:

  • VCC --> 5V PIN
  • GND --> GND PIN
  • DIN --> D7 PIN
  • CS --> D4 PIN
  • CLK --> D5 PIN

If you are using the 4 modules that are already joined together style (with the big MAX7219 not visible) then connect in the same way but follow the instructions in the code for downloading the forked version of the library with rotation support.

I have tested this with upto 8 displays with a Lolin nodemcu ish type board and it seems to work. I suspect the limit would be what you can draw from the voltage regulator. You could probably up this by powering the VCC rail seperatly and not from the ESP but if you do that you will probably need to common the negative rail and we are getting out of the scope of these instructions and you are on your own! Also bear in mind that if you are doing this while you are only plugged into your PC then you are limited to the 500ma that your onboard USB can put out!

Software

I am assuming you have the Arduino IDE installed and the ESP8266 libraries installed too. If you haven't there are lots of tutorials on this available.

Download the repository from GitHub and also download and install the awesome LedMatrix library from here : https://github.com/squix78/MAX7219LedMatrix * you will also need the very very awesome Wifimanager library : https://github.com/tzapu/WiFiManager

Before you flash the code in the Arduino IDE scroll to the config section and update the number of modules you are using and the default message you want to display and the captive portal access point name.

  • If you need to rotate the display because the scroll is working in the wrong axis then see the comments in the head of the code for the fix!

Booting

On boot if your ESP8266 board has not got a Wifi access point stored in it then it will put itself into AP mode and behave as a captive portal for you to configure your wifi settings (I did say the Wifimanager library is very very awesome). Once you have done this it will reboot and scroll it's IP address across the display. Go to this IP address and have fun!

Don't be alarmed if all of the LEDs (or some of them) light up fully on boot for a second or two... not sure why it does this but it does...

longsideled's People

Contributors

longsidetech avatar

Stargazers

 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.