For this project I'd like to setup the display so that it is getting images sent to it from the computer instead, of having images stored on the Arduino. For this I am planning on using Wifi to do UDP string communication. My plan is to have Unity (Game Engine) do all of the graphics and convert those images into small enough packets of information that the can be sent to Arduino using UDP packets.
A UDP packet has a maximun limit of 65,000 bytes. Which should be more that enough to encode a simple image onto.
Unity Scripts for Sending and Receiving UDP
Arduino code for sending and receiving UDP
No comments:
Post a Comment