Let’s take a look at what it takes to read sensor data from an I2C interface (aka I2C, IIC, TwoWire, TWI). In particular, we’ll be reading data from the NXP MPL3115A2 Altimeter/Barometer/Temperature sensor. The principles found in this guide can also be applied generically, even to your ambifacient lunar waneshaft positioning sensor of your turboencabulator.
Imagine this: You have a five-year-old son who has grown tall enough, and smart enough to open the door to your home office, packed with all your super fun gizmos and trinkets. It has a lock, but being the lackadaisical creature you are, you forget to lock it. You’ll only be gone for a minute or two, after all! Well, that was just enough time for your son to sneak in, rip up all the jumper wires from your breadboard, find a permanent marker, and well, you know how this ends.
In this (oddly specific) example project we’re going to be coming up with a solution to avoid such a disaster by building a wireless, internet connected, SMS door alert system using:
- 2x XBee Pro S1 Radios (OP-XBEERADIO)
- Sparkfun XBee Explorer USB
- TS-7553-V2 Single Board Computer
- Magnetic Door/Window Switch
- 3.7 VDC 1 Ah Lithium Polymer Battery
- Jumper wires and breadboard for prototyping
- PCB Etching
- 3D Printing
This way, we’ll receive a text message every time the door is opened and be able to rush to the scene of the future crime.
Continue reading “Example XBee Project: Opened Door Alert via Email/SMS”
TS-4100 Computer on Module powered by NXP i.MX6 UL Processor.
Feb 15, 2018 – Technologic Systems announced their latest Computer-on-Module, the TS-4100, has entered in to their engineering sampling program (see below for details). The TS-4100 is the first Technologic Systems Computer-on-Module to feature the NXP i.MX 6 UltraLite processor, featuring a single ARM Cortex A7 core, operating at speeds up to 695MHz. The NXP i.MX 6UL processors offer scalable performance and multimedia support, along with low power consumption. Technologic Systems allows you to take full advantage of the integrated power management module to optimize power sequencing throughout the board design to achieve 300 mW typical power usage, making this CoM perfect for embedded applications with strict power requirements. The TS-4100 is perfect for industrial embedded applications for medical, automotive, industrial automation, smart energy and many more applications.
Digi XBee radios sure are handy for wireless communication in embedded systems, so let’s take a look from a newbie perspective at how to get two of ‘em talking to each other quickly.
This tutorial can be applied generically to any setup with any two XBee radios, so long as you have them plugged in and ready to work with a serial port. That being said, this is a list of parts used in this tutorial:
- 2x Digi XBee Pro (XBP24-AWI-001) Radios
- Technologic Systems’ Part Number OP-XBEERADIO
- 1x SparkFun XBee Explorer USB
- 1x TS-7553-V2
- 1x USB Mini-B Cable
This practical guide gives us an opportunity to take a relaxed approach to getting started with the TS-7670 single board computer. We’re going to take a look at how to make our first connections, and setup the network. These are usually the first things we do before starting development. In the grand scheme of things, this is just a friendlier extrapolation from the official TS-7670 manual, so be sure to keep it handy for more advanced topics and specific details. The only assumption being made is that you’ve purchased the TS-7670 with a development kit, including the pre-programmed microSD card. Right then, let’s get started!
One big draw to the TS-7670 is the GPS receiver feature. When paired with a wireless network, such as through WiFi or cellular, it becomes a powerful tool in asset tracking or geo surveying. In this quick guide, we’re going to go through what it takes to get GPS working and how to read the data.
Print Your Own Baseplate for Development and Prototyping
A new development baseplate and accessories for the TS-7670, TS-7680, and TS-7970 are now available for 3D printing. The main baseplate features standoffs for securing the single board computer (SBC), clip mounts for cable management, and tabs for attaching accessory boards. The accessory boards include a full sized breadboard mounting plate, and two (vertical and horizontal) half-sized breadboard mounting plates with compartments for organizing resistors and components. Two different sized cable clips are also included. You can download the STL files for 3D printing by referring to the product webpage in the resources tab, or directly here:
Check out this project from Daedalus Technology Group using a TS-7250-V2 to weigh and track penguins in Antarctica!
Embedded Computing author Brandon Lewis, Technology Editor, interviewed our own Mark Featherston, Embedded Engineer, on Ubuntu Core. Be sure to take a look! Pages 18 and 19.
Nuts and Volts has published the article “Working with I2C Sensor Devices” in the July 2017 issue. It walks you through how to interface with an I2C device using a single board computer. Be sure to visit your local bookstore and pick up a copy while they’re available!