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”
BACnet is a data communication protocol for Building Automation and Control Networks. Developed by the American Society of Heating, Refrigerating and Air-Conditioning Engineers (ASHRAE), BACnet is a national standard in more than 30 countries around the world, and an ISO global standard. It was created to have a unified communication system for different devices across different manufacturers. Manufacturers of BACnet devices create a wide range of monitor and control modules, from basic IO, to analog, to specialized devices such as gas monitors.
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
CES 2018 is in the bag. There were some highs and lows as the show continues to grow and slowly encompass the entire Vegas Strip. This is my unofficial awards ceremony for this years CES.
Most Omni-Present Tech
Google. Google, everywhere. This CES was definitely the battle of the virtual assistant market share and “hey google” was making a big splash. From wrapping the monorail to banners covering entire buildings to the oompa-loompah like assistants running all around the show it was hard to get away from Google. However, while Google had the crown for the most marketing materials it seemed like developers were leaning more towards Alexa in the vendor booths.
Runner Up (tie)
Screens. It’s no surprise for a show that started partially as a showcase for televisions that screens are still king at CES. From the massive LG OLED canyon to wafer thin screens that worn as watches, there were screens of all shapes, sizes and clarity were everywhere.
Robots. Every shape, style and size of robot was on display. From autonomous two wheel “tank” bots cruising the aisles to small desktop balancing robots responding to voice commands the robots were at CES in a big way this year. My personal favorite was Buddy, who looked like he came straight out of a Pixar movie.
Line I Wish I Stood In
Teslasuit. There were a lot of VR/AR experiences and a line to go with everyone of them. However, the standout seemed to be the Teslasuit full haptic feedback suit and I wish I would have experienced that one first hand. Next year.
Most Impressive Demonstration
For this one you had to go to the mydevices suite in Mandalay Bay. If you were lucky enough to get invited you saw Benny Estes, product manager for mydevices put together a complete working sensor suite from scratch. Using auto-discovery and QR codes Benny took devices out of the box and had them online and reporting to a central dashboard in a matter of seconds. Truly inspiring to see how quickly you could deploy and the variety of sensors you can have available.
Mother Nature. In the first two days of CES Vegas get one quarter of their annual rainfall. Flooded parking garages, puddles and disabled outdoor escalators were just some of the downsides to this water show. Soggy shoes and walking 18,078 steps is a bad combo. The power outage in north hall on day 3 was also attributed to the rains.
There was a lot of the typical swag at CES this year, as to be expected, but for me a few booths stood out. CNET provided hand screened canvas bag made to order while you wait. I went with the timeless 70s logo, mainly because my other selection “so many gadgets, so little time” was too popular.
A pill you ingest to help you predict and notify you when you are going to experience flatulence. Not sure if you get a text, or how you are notified of the pending eruption. Taking the Internet of Things a bit too far?
Security. This show is massive. Almost unimaginably massive. It has a footprint spanning from the LVCC to the Aria with stops everywhere in between, and is even larger if you count vendor suites. The security was amazing. Omnipresent, but not intrusive you were never far from help but also never standing in long lines for bag searches. Incredibly well choreographed and coordinated from the K9, to LVPD, to the convention center security they were hitting on all cylinders. #vegasstrong
Monorail. My personal favorite mode of travel the monorail kept whisking attendants away to the next venue or to the after parties on a smooth schedule and even at peak hours never seemed over crowded.
Favorite Non-CES Moment
I ran into Caesar’s Forum shops to get out of the rain and saw an Optimus Prime sculpture in a storefront. I took a picture and sent it to my son, who is currently an Optimus fan. When I got home I asked if he got the picture and my son said that he had and asked me, “He’s not real, is he?” and thanks to being to CES 2018 I could answer the question truthfully, “Not yet.”
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:
EECatalog.com both published and featured the second of a multi-part article “HALT 2: Preparation is Everything“, written by our very own Alan Brown, Marketing Communications Manager. In it, he covers tips, tricks, and lessons learned as Technologic Systems prepared for and underwent HALT. Be sure to take a look!