Generating Server-Sent Events on Arduino

This is a tiny demonstration I created for MESO Digital Services. We’re using an Arduino Ethernet to intercept inputs and forward them to a browser. One-Way communication makes Server-Sent Events via Eventsource an interesting and rarely seen choice.

Here’s a video of the proof of concept with two switches on digital inputs. Analog input (or complex input like MIDI or DMX) works, too. The latency is negligible – the video was shot at 25 frames per second, and i can’t even tell if there’s one frame of delay. It’s certainly good enough for most use cases, including games.

The Code and some more links are up on GitHub!


Comments are closed. Please feel free to Contact me directly!


Author

Claudius Coenen is a tech-enthusiast. He's writing on all kinds of topics, including programming, technology, gadgets and media.

This site features his occasional articles, findings, documentations.

Categories

Connect

RSS Recent Bookmarks

Legal