I have a 48x32 LED dot matrix that I want to create a web interface for. I have the basic web interface written (attached), but now I need a good way to send the data to the Arduino. On the web page, the status of the LEDs are stored in an 2-dimensional array. Ideally, I’d like to be able to just send the array as-is, but I’m not sure how to go about it. But if not, I thought about sending a binary value for each row (48 bits long).
For interfacing between the webpage and arduino, I’ve been following the Arduino Ethernet Shield Web Server Tutorial. In it, he is sending data back in the request.open() GET request by adding unique strings to the URL then parsing the request on the Arduino. The strings he uses are short, only a few bytes long, and only a few of them. My application would have 32 much longer strings, so I’m not sure if that will be an issue. Plus it would require a very large buffer on the Arduino to hold the entire request. And space on my sketch is getting tight since it’s also controlling the LED matrix.
tdlr; Looking to find the best (or any) way to send 32 48-bit values from a webpage to the Arduino.
index.txt (6.39 KB)