Spidey Wall is the name for a physical wall lit up by multiple addressable LED strips. This program is an LPC1768 web server to control the wall from a browser.
Dependencies: EthernetInterfacePlusHostname RdWebServer mbed-rtos mbed
This project is part of a Light-Wall using addressable LED strips (WS2801). I have published a few posts on my blog about the construction of the wall and building a game to play on it (PacMan). I have also had a guest post from a friend who has set his children the task of producing some interesting animations. The original post is http://robdobson.com/2015/07/spidey-wall/
So far, however, I hadn't fully connected the physical (and electronic) wall with the web-browser creations to drive it. This project is hopefully the final link. A fast and reliable web server using REST commands to drive the 1686 LEDs in the Spidey Wall from code running in a browser (say on an iPad while you are playing a game).
The approach taken here results in the ability to control the RGB values of all 1686 LEDs at a rate of 20 frames per second.
A blog post describing the whole thing is here:
http://robdobson.com/2015/08/a-reliable-mbed-webserver/
History
Fixed an unforeseen problem with messages not aligned on RGB boundaries; Fixed potential hanging pointer problem in colourconverters; Changed Idle screen to a set of colourful snakes
2015-09-03, by Bobty [Thu, 03 Sep 2015 20:17:23 +0000] rev 6
Fixed an unforeseen problem with messages not aligned on RGB boundaries; Fixed potential hanging pointer problem in colourconverters; Changed Idle screen to a set of colourful snakes
Added an idle handler so there is something to show when nothing is being sent over HTTP
2015-09-01, by Bobty [Tue, 01 Sep 2015 15:53:52 +0000] rev 5
Added an idle handler so there is something to show when nothing is being sent over HTTP
Tidied up and removed unnecessary code
2015-08-31, by Bobty [Mon, 31 Aug 2015 15:21:47 +0000] rev 4
Tidied up and removed unnecessary code
Made ShowLeds an explicit command rather than automatic; Allow hostname to be set; Made sure HTTP response has keep-alive in it; Moved http_server into main loop (was in a separate thread); Added HSV fill command
2015-08-31, by Bobty [Mon, 31 Aug 2015 09:03:15 +0000] rev 3
Made ShowLeds an explicit command rather than automatic; Allow hostname to be set; Made sure HTTP response has keep-alive in it; Moved http_server into main loop (was in a separate thread); Added HSV fill command
Working for simple cases
2015-08-29, by Bobty [Sat, 29 Aug 2015 05:33:30 +0000] rev 2
Working for simple cases
Implemented a command protocol using HTTP POST
2015-08-20, by Bobty [Thu, 20 Aug 2015 07:41:02 +0000] rev 1
Implemented a command protocol using HTTP POST
Initial - unchanged since 2013
2015-08-18, by Bobty [Tue, 18 Aug 2015 16:03:29 +0000] rev 0
Initial - unchanged since 2013