In this third part of our WebSocket tutorial series, we will be building upon the real-time dashboard example that was described in the previous articles
The saying goes that a picture is worth a thousand words. By that reasoning, a web-based 3D scene complete with models, textures, lighting, and animations must be worth at least a million. It can’t be denied that data visualization can be extremely beneficial when it comes to understanding complex and frequently multi-dimensional data-sets. What better place to take advantage of these informative and rich 3D or 2D visualizations than in the field of embedded systems? It is a realm where sensors and measurements abound, and analyzing the data flow coming from them can often feel like taking a drink from a firehose. If you are still displaying your data from CSV files or boring tables, this tutorial will open your eyes to some truly amazing possibilities!
Part II: WebSockets for Real-Time Web and IoT Applications – Controlling Your NetBurner with WebSockets Interface
In this article, we will make a WebSockets dashboard application that provides real-time monitoring AND control of a NetBurner Core Module from a web browser. Previously in Part 1, we discussed the benefits of using WebSockets and demonstrated how to make a WebSockets application to remotely monitor the state of DIP switches on a NetBurner Core Module Development Kit. Next, we will build on the same example to show how we can also control the NetBurner Dev Kit’s integrated LED array in real-time from a browser using WebSockets.
Have you ever wanted to display your real-time sensor data on a webpage that can be viewed on any device with a modern web browser? How about a web page that serves as a dashboard for controlling and monitoring your embedded device in real-time? With WebSockets, you can do exactly that! In this article, we will briefly review what a WebSocket is, how it works, its benefits, and dive into a system-monitoring, dashboard-type application tutorial.