Creating a Human-Machine Interface (HMI) Web Application

Simple Embedded Monitor and Control Dashboard

Final HMI Web Application
Final HMI Web Application

In this guide, we’re going to learn how to create a very simple PHP web application that will read and display real-time CPU temperature data and control an LED using javascript AJAX calls from a web browser anywhere in the world. In the real world, you’d want to monitor something more interesting, like equipment or sensors connected to ADC, CAN, RS-485, RS-232 ports and other GPIO pins. Or how about monitoring voltage input? You’d also want to be able to control your connected equipment using digital output signals. This guide provides an introduction to the concepts that will help get you started in the right direction. All source code is available in the tarball hmi-example-web-app.tar.

Continue reading “Creating a Human-Machine Interface (HMI) Web Application”

Getting Current Voltage Input (VIN) on TS-7250-V2

Here’s an example program our engineers might find useful. Jesse Off, our lead engineer, wrote this simple program to get the voltage input (Vin) on the 8 – 28 VDC power rail on the TS-7250-V2 (Rev. B only). Without going into too much detail about implementation of the SiLabs microcontroller, there is a register which is used to store various ADC values, including Vin. This example program basically polls this 19 byte register via I2C interface, accounts for the voltage divider (see TS-7250-V2 schematic), and spits out the Vin value. So, without further ado, here’s the code:

Continue reading “Getting Current Voltage Input (VIN) on TS-7250-V2”

Practical Guide to Getting Started with the TS-7250-V2

Introduction

This guide will walk you through the basic steps of getting your TS-7250-V2 up and running. It’s mostly an extrapolation from the official TS-7250-V2 Manual, but provides a more practical approach in setting up common connections, networking, and environments to begin development.

Connections

Let’s get our TS-7250-V2 hooked up! This includes our very basic connections we’ll need for most any development or project: power, serial console, and Ethernet.

TS-7250-V2 with power, console, and Ethernet
TS-7250-V2 with power, console, and Ethernet

Continue reading “Practical Guide to Getting Started with the TS-7250-V2”

The Time for Industrial IoT is Now

The Time for Industrial IoT is Now

While home automation first put the Internet of Things concept into the technology mainstream, industrial IoT is where this nascent high-tech sector’s growth truly lies. Companies of all sizes, spanning many different industries, hope to gain a competitive advantage using a variety of IoT applications.

A typical industrial IoT scenario involves data from sensors embedded inside equipment that communicates with a small gateway computer connected to the Internet. A remote data analyst or engineer uses this information in a myriad of ways. The ultimate goal of the application could be optimizing performance by detecting either hardware breakdowns or simply inefficient operation.

Frankly, this is only one of many different possibilities. Let’s dive into some reasons why the time for industrial IoT is today.

Continue reading “The Time for Industrial IoT is Now”

Powering an Embedded Single Board Computer From a Battery

In today’s industrial SBC world, an uninterrupted source of power is imperative. When it comes to your file system, the safest way to protect your investment is to always protect your data. A common concern with embedded Linux design is the risk of file system corruption when power to the system is unexpectedly shut off. We offer some steps in a white paper, explaining how to make your system manage itself with minimal maintenance, and protect against data corruption. Follow this link to learn more about file system corruption.  Here, we will test how long the TS-BAT12 can power a TS-7670 under load.

Continue reading “Powering an Embedded Single Board Computer From a Battery”

Improving PC/104 Bandwidth using FPGA Microcontroller

The TS-ADC24 can provide up to 8 MB/s of ADC data, but the ISA (PC/104) bus on most systems is limited to 2 MB/s bandwidth or less. So one might conclude that the TS-ADC24 is over-designed. However, the TS-ADC24 itself does not require the long ISA strobe times that typical PC/104 systems use, and a well-designed PC/104 system such as the TS-8100-4740 featuring a Spartan 6 FPGA can actually exceed 2MB/s for sustained bursts. This translates into sampling 4 ADC channels at 250 kHz or even 500 kHz. This is possible due to standard functionality in the FPGA including customizable bus timing, user DMA, and an embedded processor. With extra engineering, 1000 kHz would be possible, but this article explores what can be accomplished by a typical C programmer who does not want to venture into the realm of FPGA development.

Continue reading “Improving PC/104 Bandwidth using FPGA Microcontroller”

Welcome to the New Technologic Systems Blog!

We’re excited to announce our new official blog here at https://www.embeddedarm.com/blog, where we will feature articles, guides, and news-worthy content about our products and services. Please take a moment to subscribe by pointing your favorite RSS feedreader to https://www.embeddedarm.com/blog/feed/ so you can be among the first to receive updates. Thank you.