That’s right, there is no such thing as an ASCII string unless you understand the encoding that it uses. And there are a lot of encodings. We all know a significant segment of the world’s population speaks, reads and writes something other than English. For your ASCII strings to be understood by people speaking languages other than English, you really need to understand ASCII encodings. It’s time to ante up.
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.
The Internet of Things has become an increasingly popular and susceptible attack surface for hackers, leading to some scary incidents. Significant and ongoing data breaches and malware infections have been reported with Ethernet-enabled baby monitors, medical devices, cameras, refrigerators and automobiles, to name a few. [ 1, 2 ] In this article we will give a bit of understanding into the TLS protocol and its benefits for IoT and Ethernet-enabled systems. We’ll also get you going with a tutorial on how to test a TLS connection between a PC and a NetBurner Serial to Ethernet Device.
Imagine you have to deploy a dozen various devices throughout a factory floor. These consist of Linux PCs, low power embedded devices, a mobile phone app, simple sensors, and a remote database. Some devices are connected through Ethernet, while other more remote devices utilize a cell network to occasionally phone home. The problem you now have is, how do I get these devices communicating with each other in real time? MQTT is an ISO standard protocol used to solve this problem.
Have you ever found yourself daydreaming idly, “If only there was something out there that allowed me the luxury of having several ‘masters’ communicate to several ‘slaves’ on a single embedded device… BUT -- with only two wires?” If so, then prepare to have your dreams come true! What we are going to look at today is a protocol and bus all rolled together called I2C, or more formally, Inter-Integrated Circuit. It’s a handy toolset to understand and have at your disposal as it is utilized in a wide variety of embedded platforms, data acquisition systems, components and sensors. That’s also why we at NetBurner include I2C in most of our embedded Ethernet web servers (core modules) and serial to Ethernet servers, along with an easy to use API – so let us show you how to get the most out of that technology including a code example at the end of the article!