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:
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.
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.
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.
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.
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.