Q&A: Colin O’Flynn (Engineering and “Pure” Research)

Colin O’Flynn

NAN: Where are you located?

COLIN: I’m currently living in Halifax, Nova Scotia, Canada. I’m originally from Hamilton, Ontario, Canada, and had been living in Edinburgh, Scotland for almost two years before I moved to Halifax.

NAN: How did you become interested in electronics?

COLIN: Like many people in this area, I did start at a very young age. If I had to pin one event as the starting of my life-long interest in electronics, it was getting one of those “20-in-1” kits from RadioShack as a present. My parents always encouraged my interest in electronics, but as they were a commercial airline pilot and a chartered accountant, it wasn’t the case of them initially pushing me in the same direction they started!

My dad found me a few small “learn-to-solder” kits, which I enjoyed. At age 8, I assembled my first real kit, the LED-Tric Christmas tree featured in the December 1994 issue of Popular Electronics. My parents have kept bringing that tree out as a Christmas decoration every year since, and it still works.

Besides my parents, I also had help from local people interested in electronics and became friends with many of the local electronics store owners. I spent many hours building projects from magazines like Electronics Now, Popular Electronics, Circuit Cellar, and the various Forrest M. Mims III books. I find it interesting to see the recent surge in “maker” culture. It’s something that has really been going on for years. Growing up, there wasn’t such a thing as maker spaces, but there were local people with interesting workshops who would share projects. It’s great to see this a little more mainstream now, as it means more opportunities for people to get involved at any stage of their life in this fascinating world.

NAN: What is your current occupation? Are you still consulting for projects related to 802.15.4 wireless communications?

COLIN: I’m currently a graduate student at Dalhousie University pursuing a PhD. I decided to go back to school for the chance to do more “pure” research. It’s also fun to have access to a range of tools I wouldn’t otherwise get—the lab I sit in has an anechoic chamber, for example. And we have most of the latest versions of high-end software like MATLAB (including most of the add-ons), 3-D electromagnetic antenna simulation software, FPGA design software, and so forth.

RadioBlocks

I’m only loosely involved in 802.15.4 projects for now, and not actively following the latest developments and standards. Having said that, a friend of mine has gotten involved in creating small, wireless modules called RadioBlocks.

They use an IEEE 802.15.4 radio combined with a small ARM Cortex-M0 microcontroller. They use an open-source mesh networking software we created called SimpleMesh, so most of my recent work on 802.15.4 has been around this project. The mesh software is designed to do the basic job of sending a block of data to another node, and otherwise staying out of the way. I previously did a lot of work using IPv6 on such small sensor networks, but haven’t been active in that area lately.

At Dalhousie, I’m working on the area of side-channel analysis of cryptographic systems, specifically power analysis. This area has a simple idea: if you have a microcontroller or other embedded controller, it typically has some internal data bus. When those data lines switch state, it takes power. But the power actually depends on the data. Imagine a databus switching from all 1s to all 0s in a clock cycle, compared to staying at all 1s. Likewise, different operations, such as a MUL compared to a LDI, have different power signatures. If you measure the current consumption on each clock cycle, you can learn something about the data being processed, and then often the secret key. Practically speaking, you can measure this current even with an electromagnetic probe, so you don’t need to physically modify the circuit board.

I gave a presentation at Black Hat Abu Dhabi in December 2012 about some of this work. If you are interested, the slides and white paper are available online at Blackhat.com, or from my personal website NewAE.com. You can see the photo above showing an example of attacking a microcontroller-based smart card. The capture software might look something like where you can see different computations the card is performing directly from the power trace. In this case, each burst is a round of the AES-128 computation.

NAN: Many of your projects include Atmel microcontrollers. Why Atmel?

COLIN: It’s no secret I’ve been a big fan of Atmel’s AVR microcontroller, but it wasn’t my first. I don’t know the exact lineage of my microcontroller work, but one of the first things I learned on was an AMD 2900 Evaluation and Learning Kit. A local electronics store happened to have it in stock. They had gotten it from someone cleaning out old inventory, as even at that time it was old. I added heatsinks, as the several amps it drew when powered with 5 V made a lot of those chips very hot. And, of course, you had to keep the entire board powered up if you didn’t want to lose you program you’d been manually entering. From there, I moved onto a Z80 trainer board, which let you program with a hex-entry keypad, and eventually I moved onto programming it from the computer. I designed a Z80 computer board but never built it—I still have the piece of transparency with the taped out PCB design and photosensitive PCB on which I was to expose it. That’s more than 10 years old now, so I suspect the chemicals in it have degraded a little!

I forget exactly why I picked up the AVRs, but I had one of the first AVRs released, Atmel’s AT90S1200, which I programmed in Assembly. After Assembly, I programmed them in BASIC (using MCS Electronics’s BASCOM-AVR), going as far to write a neural network in

BASCOM-AVR. Even today, I think BASIC gets a bad rap. It was almost the original “Arduino” environment, as you could drop down LCD drivers, ADC, and so forth without ever knowing much about how it worked, and with a really intuitive feel. I moved onto C sometime later, and used C almost exclusively for embedded development since. For some time, I was fairly involved in the tools used in the AVR world, such as WinAVR. Atmel donated a considerable amount of equipment to me, as at the time I was a high school student using these devices for science fair projects. I think that’s a great example of how such corporate donations pay off. I’ve almost exclusively used AVR processors since I am so familiar with them because of that. In addition, as a student with little money but lots of time, I was happy to spend hours each day on AVRFreaks.net or working on open-source tools. While Atmel probably ended up giving me around $3,000 worth of tools, I’m sure the value of work I performed for free in terms of open-source tool contributions or forum posts would be worth many times this.

A funny story around all this work: In undergrad, we used the Atmel AVR microcontrollers. During one of the first labs they distributed a tutorial on how to set up the WinAVR tools and compile your first program. As it turned out, this guide was something I wrote years prior and had posted to the WinAVR website. Sufficient to say, I did OK in that class.

NAN: Tell us about NewAE.com. What kind of information is available on the site?

COLIN: I’ve run NewAE.com since 2001, although it’s not really designed to be the type of website one checks for new content daily. If I’ve spent some time solving a problem that I think other people could use, I’ll put a post up. Sometimes this is a complete project, such as my IEEE 802.15.4 sniffer. Sometimes it’s just a small post, such as how to set up the AVR USB keyboard for 5-V operation, which wasn’t described in the manual. I also use it for keeping copies of any published papers or presentations.

I’ve more recently been posting some ongoing research to the site, including blog posts with ongoing projects, rather than just waiting until it’s completely finished! In that vein, I started a YouTube channel with some technical videos (www.youtube.com/user/colinpoflynn). A big collection of these are from when I taught a digital logic course and recorded all my presentations from that.

My content spans a huge range of topics—everything from showing my students how to get screen captures, to a demonstration of my soldering station, to recordings of my academic paper presentations. I don’t like duplicating work. I’ll only go to the effort of making a video or website post if I really couldn’t find the information elsewhere. Because of this, I don’t have one specific topic you could expect to learn about. I’ve never been aiming to be like EEVBlog!

NAN: You wrote “It’s a SNAP: A Flexible Communications Protocol” (Circuit Cellar 139, 2002) more than 10 years ago. Do you still use SNAP in any of your current projects?

COLIN: I have to admit that I haven’t used SNAP in probably eight years! Of course now, when needing to network devices, I’m more likely to turn to a wireless standard.

NAN: Your article “Open-Source AVR Development” (Circuit Cellar 196, 2006) provides an introduction to the AVR-GCC toolchain for AVR microcontrollers. The article references the Cygwin project and Sourceforge’s WinAVR project. How do these components work in the design?

COLIN: The Cygwin project is still something I use regularly, as it lets you run a variety of Unix-like tools on Windows. The Linux command line is extraordinarily powerful, and it is makes it simple to access things like C compilers, text parsing utilities, and scripting tools. With Cygwin, one can have a Linux-like experience under Windows, which I used in that article to build some of the tools you are developing for AVR. By comparison, WinAVR is just a number of prebuilt tools for the AVR development. While it’s more work to build your own tools, sometimes you require special features that were not available in the premade tools.

NAN: Atmel products have played a starring role in several articles you have published in Circuit Cellar. For example, an AT90S4433 microcontroller was featured in “It’s a SNAP: A Flexible Communications Protocol” (Circuit Cellar 139, 2002), an ATmega88 AVR RISC microcontroller was featured in “Digital Video in an Embedded System” (issue 184, 2005), an AT45DB041 DataFlash and an ATmega88 microcontroller were featured in “Open-Source AVR Development” (issue 187, 2006), and an AT90USBKEY demonstration board was featured in “Advanced USB Design Debugging” (issue 241, 2010). Why Atmel microcontrollers/boards? What do you prefer about these products?

COLIN: As I mentioned before, I have a long history with Atmel products. Because of this, I already have the debug toolchains for their chips and can get projects up very quickly.

When picking boards or products, one of the most important considerations for me is that readers can buy it easily. For me, this means I can get it at DigiKey (and I’ll check Farnell for our UK friends). Part of this comes from being in Canada, where DigiKey was one of the first distributors offering cheap and fast shipping to Canada.

NAN: Are you currently working on or planning any microprocessor-based projects?

Binary Explorer Board

COLIN: My current big project is something I designed over the summer of 2012. It’s called the Binary Explorer Board and is something I used when teaching a course in digital logic at Dalhousie University. I needed a simple, programmable logic board and nothing I could find was exactly right. In particular, I needed something with an integrated programmer, several switches and LEDs, and an integrated breadboard. The students needed to be able to use the breadboard without the CPLD to learn about discretely packaged parts. All the CPLD-based trainers I found didn’t have exactly what I wanted in this regard.

The embedded part is the USB interface using an Atmel AT90USB162 microcontroller, although I plan on later upgrading that to an XMEGA for lower cost and more code room. The firmware is powered by Dean Camera’s excellent open-source USB library called LUFA (www.fourwalledcubicle.com/LUFA.php). This firmware lets students program the CPLD on the board easily over USB. But the cool thing is you can go even further and use the device as a generic programmer for other AVRs or CPLDs/FPGAs. For example, you can mount an AVR on the breadboard, connect it to the USB interface, and program that through the Arduino IDE. The entire board would retail for $35 in single-unit quantity, so it’s cheaper than most textbooks. I’m working on making it a real product with Colorado Micro Devices right now.

The design environment is the standard Xilinx toolchain, although I’ve made a number of predefined projects to make it simple enough for students with zero previous design experience to use. The idea is to get students familiar with the real tools they might see in the industry. Around this project, it’s interesting to note I choose a Xilinx CPLD because of my familiarity with Xilinx devices and design tools. This familiarity comes from years ago when Xilinx donated to me a part for a project I was working on. Now throngs of students will be exposed to Xilinx devices, all because Xilinx was willing to donate some parts to a student.

There is always an assortment of half-finished projects, too. I started designing a battery tester, which could simulate characteristics you’d typically see when driving small wireless nodes from coin-cell batteries. I started planning on using an AVR USB microcontroller and doing all the data logging myself. I then found this LabJack device, which simplified my life a lot, as they had basically a generic USB-based logging/control module.

NAN: What do you consider to be the “next big thing” in the embedded design industry?

COLIN: Wireless and the “Internet of Things” will eventually be a big thing, which means design engineers will need to become more familiar with things like protocols and realistic transmission characteristics. I use the word “realistic,” as part of this world is separating hype from reality. There’s certainly a huge disconnect between the marketing hype around all these various wireless protocols and how well they work in practice. When designing a product that will use a wireless technology, it’s likely some commercial off-the-shelf (COTS) module will be used, so the engineer may think they can remain blissfully unaware of RF or networking things. But the engineer still needs to have a rough idea about how many devices might fit in an area on a single network or the advantage of selecting certain protocols.

Another thing of interest to me is programmable logic, such as FPGAs. It’s been interesting to see the tools that try to turn anybody into an FPGA designer becoming more mainstream, or at least letting you program FPGAs in more common languages (e.g., C/C++). They are still fairly specialized and more likely to be used by a hardware engineer looking to improve productivity, compared to a software engineer who needs to offload an algorithm into a FPGA. But I think they could fairly quickly get to the point that engineers with some FPGA experience could implement considerably more complex designs than they would have otherwise been able to had they been required to design everything from scratch.

In a somewhat similar vein, we are starting to see the availability of multicore devices coming down to embedded levels. Learning to program them in a way to take advantage of these new cores is a useful skill to pick up. I recently started using both the OpenMP API and Cilk++ development software on some of my programs. My work wasn’t targeting an embedded project, but instead regular full-size multicore computers, but it’s still a useful (and fairly simple) skill to pick up.

NAN: Tell us a little about your workbench. What are some of your favorite design tools?

Colin’s Workbench

COLIN: My initial workbench was the kitchen table, although other family members were frequently concerned about eating in the same space as these various items with warning labels about lead. My next workbench was a long, custom-built bench in Hamilton, Ontario. My current bench in Halifax was again custom-built, and I’ll take you few of its features. I’d like to point out by “custom-built” I mean built by myself with a jigsaw and some plywood, not an artesian finely crafted piece of furniture.

Due to a back injury, I work standing up, which you can’t see in the photo. It’s actually quite refreshing, and combined with a good quality antifatigue mat and stool to lean up against means I can work long hours without tiring. A cover comes down to hide everything in my desk, which was a feature partially required by my significant other, who didn’t want guests to see the typical mess of wires it contains. When closed, it also gives it some protection against any rogue water leaks. For my computer, I use a trackball instead of a mouse, and the keyboard and trackball are mounted on a plate tilted underneath the desk in a “negative” tilt angle, adjusted to most natural angle. And, because there is no way to see the keyboard while typing, it tends to keep anyone else from borrowing my computer to look something up!

I’ve wired a ground fault interrupter (GFI) into the desk, so all my power outlets are protected. If I ever did something dumb like dropping a scope ground on a live wire, the GFI socket would at least give me a hope of protecting the scope and myself. There are many outlets above and below the desk, and also a ground jack for the antistatic strap beside the thermal wire strippers. The outlets under the desk let me plug in things in a hidden manner—printers, USB hubs, and other permanent devices get wired in there. I’ve wired a number of USB hubs to the top of my desk, so I typically have around 12 free USB slots. You always seem to run out otherwise!

Most of my tools are off the desk and stored in the drawers to either side. I made the “drawers” just pieces of wood with minimal sides—the idea being most of the time you are placing PCBs or tools down, so the lack of high sides prevents you from piling too much into them! All the cables get stored on hooks to the left of my desk, and I’ve got a whiteboard that sticks up when I’m working on a problem.

SMD Organization

I store all my SMD parts in small envelopes stored in index card holders in the bottom left of my desk. While I’m not a static-phobic, I also didn’t want to use plastic film strips or plastic bags. So the paper envelopes at least I hope don’t generate much static, even if they don’t dissipate it. It’s very easy to label all your parts and also this system holds up to a high dynamic range of stock numbers. For example, capacitors get split into 10.1–99.9 nF, 100 nF, 100.1–999.9 nF, and so forth. Because you seem to end up with loads of 100-nF capacitors, they get their own envelope. It’s trivial to change this division around as you get more parts, or to group part sizes together.

In terms of interesting tools: my soldering station is probably my favorite tool, a Metcal MX500 I got used from eBay. The response time on these is unbelievable. I put a video up to show people just because I’ve been so impressed with it. There are other manufactures that now make stations with the same RF-heating technology I believe, and I always encourage everyone to try one. I’ve been using the DG8SAQ Vector Network Analyzer (VNWA) for a while too. It’s a very affordable way to get familiar with VNA and RF measurements. It’s especially fun to follow along with some of the “Darker Side” columns in Circuit Cellar. Rather than just hearing about the mysterious world of RF, you can do experiments like viewing the response of several different decoupling capacitors mounted in parallel. I’ve got an old TiePie TiePieSCOPE HS801 parallel-port oscilloscope mounted underneath my desk, and still use it today. A lot of my work is digital, so have an Intronix LogicPort digital analyzer, a Beagle USB 480 protocol analyzer, and oodles of microcontroller programming/debug tools from different manufacturers.

CC271: Got Range?

As with wireless connectivity, when it comes to your engineering skills, range matters. The more you know about a variety of applicable topics, the more you’ll profit in your professional and personal engineering-related endeavors. Thus, it makes sense to educate yourself on a continual basis on the widest range of topics you can. It can be a daunting task. But no worries. We’re here to help. In this issue, we feature articles on topics as seemingly diverse as wireless technology to embedded programming to open-source development. Let’s take a closer look.

Consider starting with Catarina Mota and Marcin Jakubowski’s Tech the Future essay, “Open-Source Hardware for the Efficient Economy” (p. 80). They are thoughtful visionaries at the forefront of a global open-source hardware project. You’ll find their work exciting and inspirational.

Stuart Ball’s Dip Meter

On page 20, Stuart Ball describes the process of designing a digital dip meter. It’s a go-to tool for checking a device’s resonant frequency, or you can use it as a signal source to tune receivers. Ball used a microcontroller to digitize the dip meter’s display.

Interested in 3-D technology? William Meyers and Guo Jie Chin’s 3-D Paint project (p. 26) is a complete hardware and software package that uses free space as a canvas and enables you to draw in 3-D by measuring ultrasonic delays. They used a PC and MATLAB to capture movements and return them in real time.

This month we’re running the third article in Richard Lord’s series, “Digital Camera Controller” (p. 32). He covers the process of building a generic front-panel controller for the Photo-Pal flash-trigger camera controller project.

Richard Lord’s front panel CPU

Turn to page 37 for the fifth article in Bob Japenga’s series on concurrency in embedded systems. He covers the portable operating system interface (POSIX), mutex, semaphores, and more.

Check out the interview on page 41 for insight into the interests and work of electrical engineer and graduate student Colin O’Flynn. He describes some of his previous work, as well as his Binary Explorer Board, which he designed in 2012.

Colin O’Flynn’s Binary Explorer Board

In Circuit Cellar 270, George Novacek tackled the topic of failure mode and criticality analysis (FMECA). This month he focuses on fault-tree analysis (p. 46).

Arduino is clearly one of the hottest design platforms around. But how can you use it in a professional-level design? Check out Ed Nisley’s “Arduino Survival Guide” (p. 49).

Standing waves are notoriously difficult to understand. Fortunately, Robert Lacoste prepared an article on the topic that covers an experimental platform and measurements (p. 54).

This month’s article from the archives relates directly to the issue’s wireless technology theme. On page 60 is Roy Franz’s 2003 article about his WiFi SniFi design, which can locate wireless networks and then display “captured” packet information.

If you like this issue’s cover, you’ll have to check out Jeff Bachiochi’s article on QR coding (p. 68). He provides an excellent analysis of the technology from a pro engineer’s point of view.

Circuit Cellar 271 is now available.

Retro Electronics (“Retronics”): Analog, Test, & Micrcontroller Tech

Pop quiz: What was the first microcontroller to leave the Earth? Find out the answer in Jan Buiting’s new “Retronics” webinar. Check out the video below.

The Tektronix 546B

If you read Circuit Cellar and Elektor magazines, you likely have as much passion for old-school electronics as you do for he new, cutting-edge technology you find at events such as the Embedded Systems Conference. Elektor editor Jan Buiting is well-known for his love of both new and old technology, and in his Retronics webinar series he presents some of his favorite old-school technologies.

In the video below, Jan explains how and where he found some of his retronics equipment. He also details how he fixed some of the systems and what he does with them. Examples include:

  • A Heathkit TC-2P Tube Checker that Jan found at lawn sale
  • Old audio equipment
  • A satellite TV receiver
  • An “Elektorscope” from 1977
  • 1980s-era test equipment
  • And more!

CircuitCellar.com is an Elektor International Media publication.

New Products: February 2013

ROBOTIC WHEEL ENCODER & AMBIENT LIGHT PROXIMITY SENSOR

The 36-Position Quadrature Encoder Set provides rotational feedback for robot wheels. The set was specifically designed for Parallax’s Motor Mount and Wheel Kit, which is included with the Eddie and MadeUSA robotic platforms. The kit also can be used with custom robots or mechanical systems with 0.5” axles.

The encoder set provides two out-of-phase outputs from within a single sensor assembly. Its 36-position encoder disks, which resolve to 144 positions with the quadrature sensor output, are incised to grip 0.5” diameter axles. Key features include low power consumption, dual-channel outputs that provide speed and directional information, and a six-pin, single-row header that accommodates a four- or six-wire interface.

The Si1143 Proximity Sensor is well suited for noncontact gesture recognition in microcontroller applications. Gestures in the up, down, left, right, and center directions can be detected by measuring infrared light levels from the three on-board IR LEDs.

The Si143 measures visible and IR ambient light levels, providing a range of operation from darkness to full sunlight. The sensor’s easy-to-use interface is compatible with any microcontroller. Its standard 0.1” header pins enable the sensor to conveniently connect to breadboard or through-hole projects.

The 36-Position Quadrature Encoder Set and the Si1143 Proximity Sensor both cost $29.99.

 

Parallax, Inc.

www.parallax.com


HIGH-RESOLUTION PWM UNIT FOR DIGITAL POWER CONVERSION

The XMC4400, XMC4200, and XMC4100 Cortex-based microcontrollers offer a high-resolution PWM unit. Devices in the XMC4000 microcontroller family use ARM Cortex M4 processors.

With a 150-ps PWM resolution, the XMC4400, XMC4200, and XMC4100 microcontrollers are well suited for digital power conversion in inverters, switching and uninterruptible power supplies (UPS), and other applications including I/O automation units, user interfaces (HMI), and logging and control systems.

Like Infineon’s XMC4500 microcontrollers, the XMC4400, XMC4200, and XMC4100 series offer powerful application-optimized peripherals, fast and robust embedded flash technology, an extended –40°C-to-125°C temperature range, and tools for automatic code generation.

The XMC4000 family includes four series: XMC4500, XMC4400, XMC4200, and XMC4100. The microcontroller families differ mainly in core frequency, memory capacity, peripheral functions, and number of I/Os. The XMC4400, XMC4200, and XMC4100 series have a powerful CPU subsystem with 120 MHz or 80 MHz, DSP functionality, a floating-point unit, and fast flash memory (512, 256 or 128 KB). They feature a 22-ns read time and error-correction code and SRAMs up to 80 KB. The microcontrollers’ peripherals include high-speed 12-bit ADCs and DACs and integrated delta-sigma demodulator modules (XMC4400). Communication is provided by Ethernet MAC (XMC4400), USB 2.0, CAN interfaces, and serial communication channels, which can be individually software-configured as UART, SPI, Quad-SPI, I2S, or I2C. The microcontrollers also provide a touch interface and an LED matrix display.

The XMC4400, XMC4200, and XMC4100 are supported with the DAVE 3 integrated development platform, which enables convenient, fast, and application-orientated software development. Third-party tools can be used to extend the Eclipse-based environment with free GNU compiler and debugger. DAVE 3 also supports automatic code generation based on predefined software components (i.e., the “DAVE Apps”). The DAVE Apps are configured in a user-friendly way via the graphical user interface. DAVE 3 ensures industrial application developers can use the XMC4000 microcontrollers’ functionality with little programming effort. The generated code can be compiled and debugged directly in DAVE 3 or imported into third-party tools for further processing (currently Altium, ARM, Atollic, IAR Systems, and Rowley).

Contact Infineon for pricing.

Infineon Technologies

www.infineon.com


 

DIGITAL POTENTIOMETERS WITH HIGH BANDWIDTH & LOW RESISTANCE TOLERANCE

The AD514x and AD512x series of nonvolatile single-, dual-, and quad-channel digital potentiometers (digiPOTs) feature a ±1% resistance tolerance to improve component matching in industrial and communication control systems. The 11 digiPOTs in the AD514x and AD512x series achieve a high 3-MHz bandwidth, which enables fast system response time.

The nonvolatile digiPOT series meet a range of system-level requirements in 256- or 128-TAP, SPI or I²C interfaces, leaded and leadless packaging, all of which feature 4-kV ESD protection. The devices offer a low temperature coefficient performance over a –40°C-to-125°C temperature range.

The AD514x and AD512x digiPOTS are available in a 3-mm × 3-mm LFCSP package option for board savings. Contact Analog Devices for pricing.

 

Analog Devices, Inc.

www.analog.com


REAL-TIME CLOCK FOR AUDIO AND CONTROL DEVICES

The Barix Real-Time Clock (RTC) accessory helps ensure audio and control devices continue operating uninterrupted during network failures. The devices help keep mission-critical operations for broadcast radio, streaming media, building automation, and other applications on time.

The self-sustaining reference clock plugs into any device with an RS-232 serial port, including Barix IP audio and control products. The Barix RTC maintains time, even when unpowered, for years. This enables the RTC to provide time information immediately after a device startup, even without a network-based time reference.

The Barix RTC enables devices to work offline without network connection, playing out audio messages and time-sensitive content on time. Similarly, broadcasters streaming syndicated programs with local network IDs, jingles, ads, and promotions can trigger scheduled events without affecting their on-air content.

The RTC can be used by IP control devices to gain independence from network time references, continuing to switch lights and boilers on and off if the network fails. This ensures energy-saving techniques for schools, businesses, and other facilities continue without disruption.

Contact Barix for pricing.

Barix

www.barix.com


NEW TOOLS FOR WIRELESS CONNECTION TO ZIGBEE

The A2530x24xxx series, Anaren’s new family of Anaren Integrated Radio (AIR) modules, are specifically designed to help OEMs develop products that wirelessly communicate in compliance with the ZigBee standard. Based on the Texas Instruments (TI) CC2530 low-power RF system-on-a-chip (SoC), which operates using TI’s Z-Stack firmware, the family of AIR modules is bundled with AIR Support for ZigBee, which includes time-saving AIR-ZNP firmware (including more than 30 code examples), precertification to applicable global, regulatory standards, and development tools (e.g., Anaren’s BoosterPack for TI MSP430 and Stellaris LaunchPad development kits).

The A2530x24xxx devices require minimal RF engineering and ZigBee experience. They are easy to program for a shortened design cycle. The devices are available with an integral or connectorized antenna and a tiny, 2.5-mm × 11-mm × 19-mm standardized footprint. The devices are pre-certified to FCC/IC and compliant with ETSI. There is a choice of range-extender or non-range extender modules. The A2530x24xxx devices’ additional features include a 2.4-GHz IEEE 802.15.4-compliant RF transceiver (TI’s CC2530), a wide 2.2-to-3.6-V input voltage range, and excellent receiver sensitivity and robustness to interference (–95 dBm average).

Anaren has also introduced a BoosterPack featuring its new family of modules. The CC2530 BoosterPack Kit helps OEM engineers develop wireless applications using a TI LaunchPad for MSP430 or a Stellaris microcontroller. The BoosterPack provides “out-of-the-box” wireless connectivity to easily develop applications based on the ZigBee standard. It also includes AIR-ZNP firmware solution (based on TI’s Z-Stack).

The kit includes three A2530E24A AIR Module BoosterPacks for connection to TI’s MSP430 or Stellaris’s LaunchPad development kit (LaunchPad not included). Each BoosterPack includes an on-board MSP430G2553IN20 Value Line microcontroller, pre-flashed with Anaren’s AIR-ZNP firmware (based on TI’s Z-Stack for the ZigBee standard).

Contact Anaren for pricing.

Anaren, Inc.

www.anaren.com


ENERGY-HARVESTING DISCOVERY KIT

The M24LR Discovery Kit helps you design battery-free electronic applications that can exchange data with ISO15693-compatible NFC-enabled smartphones or radio-frequency identification (RFID) reader-writers. The kits help create and integrate energy-autonomous data collection, asset tracking, or diagnostics capabilities in applications, including phone and tablet accessories, computer peripherals, electronic shelf labels, home appliances, industrial automation, sensing and monitoring systems, and personal healthcare products.

With a combination of industry-standard serial bus (I2C) and contactless RF interfaces, the M24LR EEPROM memory is capable of communicating with host systems “over-the-wire” or “over-the-air.” The M24LR’s RF interface can convert ambient radio waves emitted by RFID reader-writers and NFC phones or tablets into energy to power its circuits and enable complete battery-free operation.

The M24LR Discovery Kit includes an RF transceiver board with a 13.56-MHz multiprotocol RFID/NFC transceiver (CR95HF) driven by an STM32 32-bit microcontroller, which powers and wirelessly communicates with a battery-less board. This board includes ST’s dual-interface EEPROM memory IC (M24LR), an ultra-low-power 8-bit microcontroller (STM8L), and a temperature sensor (STTS75).

The M24LR Discovery Kit costs $17.50.

STMicroelectronics

www.st.com


E-FIELD-BASED 3-D GESTURE CONTROLLER

The configurable MGC3130 is an electrical-field (E-field)-based 3-D gesture controller, providing low-power, precise, fast, and robust hand-position tracking with free-space gesture recognition. The controller features Microchip’s GestIC technology, which enables intuitive, gesture-based, non-contact user interfaces for many end products.

The MGC3130 includes 150-dpi, mouse-like resolution and a 200-Hz sampling rate to sense fast hand and finger motions. It has a super-low-noise analog front-end for high-accuracy interpretation of electrode sensor inputs. The controller’s configurable Auto Wake-Up on Approach at 150-µW current consumption enables always-on 3-D gesture sensing in power-constrained mobile applications.

The MGC3130’s additional features include automated self calibration, 32-bit digital signal processing for real-time processing of x/y/z positional data, integrated flash memory to easily upgrade deployed products, and a 70-to-130-kHz E-field with frequency hopping to eliminate RF interference.

GestIC technology achieves high gesture-recognition rates through Colibri Suite, which is a library of 3-D gestures for hands and fingers that is preprogrammed into the MGC3130. The Colibri Suite combines a stochastic Hidden Markov model (HMM) and x/y/z hand-position vectors to provide recognized 3-D hand and finger gestures. Examples include Wake-Up on Approach, Position Tracking, Flick Gestures, Circle Gestures, and Symbol Gestures to perform functions (e.g., on/off, open application, point, click, zoom, scroll, free-space mouseover, etc.). The chip also provides prefiltered electrode signals for additional functionality.

GestIC technology uses thin sensing electrodes made of any conductive material, such as PCB traces or a touch sensor’s indium tin oxide (ITO) coating, to enable invisible integration behind a device’s housing. In addition, the technology provides 100% surface coverage, eliminating “angle-of-view” blind spots. With a detection range of up to 15 cm, the MGC3130 is well suited for products used in close proximity for direct user-to-device interaction.

In addition, Microchip’s Sabrewing MGC3130 single-zone evaluation kit enables development with the MGC3130 by providing a 5” or 7” selectable electrode size. The kit comes with the AUREA graphical user interface (GUI), which is available for a free download at www.microchip.com/get/DST9. The GUI enables designers to easily match their system commands to Microchip’s Colibri Suite. The evaluation kit costs $169. The MGC3130, featuring GestIC technology, is available in a 5-mm × 5-mm, 28-pin QFN package. The controllers cost $2.26 each.

Microchip Technology, Inc.

www.microchip.com


CONTROLLER FOR SMOOTH SERVOMOTOR RESPONSE

The SMC-01 is a manual servomotor controller for a single servomotor. The controller performs via an on-board potentiometer. A Microchip Technology PIC12F683 microcontroller is at the heart of the SMC-01. The potentiometer connects to the microcontroller to proportionally control the servomotor’s rotation.

The servomotor’s shaft is capable of responding as fast and as far as the potentiometer knob is rotated. A universal three-pin header enables easy connection to the servo motors. They are simply plugged into the board. The circuit is controlled by an inexpensive, eight-pin microcontroller and powered by a 9-V battery.

The unit can be purchased as a kit or fully assembled. The SMC-01 kit costs $24.95. The fully assembled SMC-01A costs $34.95.

Images SI, Inc.

www.imagesco.com


DIGITAL CLASS D AUDIO DEVELOPMENT FOR 32-BIT EMBEDDED DESIGNS

The Class D ToolStick kit is a cost-effective USB-based evaluation kit that enables developers to add digital Class D audio capabilities to 32-bit embedded designs based on Silicon Labs’s SiM3U1xx Precision32 microcontrollers. The kit helps developers upgrade basic “buzzer/beeper” alert sounds used in personal medical devices, fitness equipment, high-end toys, small appliances, and other consumer electronics products to sophisticated voice prompts, music, sound clips, and streaming audio.

The SiM3U1xx microcontrollers include the following: a 300-mA, high-drive I/O that can directly drive a small speaker; a crystal-less USB transceiver compatible with the USB audio interface; two 250-ksps, 12-bit ADCs; and an I2S receiver that supports audio streaming from a PC, a portable music player, or a range of I2S-enabled audio devices. The only external components required to drive Class D audio from SiM3U1xx microcontrollers are inexpensive inductors, some capacitors, and ferrite beads.

You can use the ToolStick to add capacitive-touch buttons and sliders to 32-bit embedded systems. The SiM3U1xx microcontrollers’ high-drive I/Os with PWM can be used to directly drive other components (e.g., small motors), without using separate power field-effect transistors (FETs).

The Class D ToolStick kit is powered from USB using the SiM3U1xx microcontroller’s internal 5-V regulator. The board uses a simple speaker to play music from a stereo jack, a computer, or a recorded message. The ToolStick provides four modes of operation. The microcontroller’s on-chip ADCs are used to sample data from a portable music player or USB audio streaming from a PC. The kit uses a common audio compression algorithm to play prerecorded sound clips stored from on-chip flash memory and it uses an audio-compression algorithm as a voice recorder that stores data in flash. Capacitive-touch buttons and control volume with a capacitive-touch slider are used to handle mode transition.

The Class D ToolStick evaluation kit comes complete with hardware Gerber files and software, which helps streamline the process of adding Class D audio to embedded applications. The ToolStick features a built-in USB-based debugger/programming interface and accessible pins for easy prototyping. The ToolStick debug interface is fully operational with Silicon Laboratories’s complimentary Precision32 IDE, compiler, AppBuilder crossbar configuration software, and Keil toolchains.

The Class D ToolStick evaluation kit includes full source code and implements a Class D amplifier demonstration using a small-footprint, 40-pin, 6-mm × 6-mm package SiM3U1xx microcontroller. The kit costs $35.

Silicon Laboratories, Inc.

www.silabs.com


MCUs WITH INTEGRATED USB ENABLE HIGH-SPEED CHARGING

The RL78/G1C group of 16-bit microcontrollers conforms to the USB Battery Charging Specification, Revision 1.2. The microcontrollers provide USB host/function interfaces, which support full-speed and low-speed USB communication. The USB interface is used between PCs and PC peripheral equipment and also as a general-purpose interface for consumer and industrial equipment in applications such as smartphone accessories, portable healthcare devices, AV accessories, and game and industrial equipment.

The microcontrollers’ battery-charging function enables high-speed charging up to 1.5 A. They also integrate a 1% accurate high-speed oscillator.

The RL78/G1C microcontroller group is the first RL78 microcontroller family that includes USB host/function and can be easily deployed in existing systems utilizing other RL78 family products. The integration of USB functionality alongside RL78’s smart peripherals enables them to achieve 71 µA/MHz in full operation and 0.23 µA in Stop mode (RAM retained). The first series within the RL78/G1C microcontroller group features 32-to-48-pin devices in packages as small as 5 mm × 5 mm, up to 32 KB of flash, and 5.5 KB of on-board RAM.

Samples of the RL78/G1C group of microcontrollers are available. Prices vary by USB peripheral functions and USB host functions including packages and number of pins. For example, the 32-pin LQPF package R5F10KBCAFP device with USB peripheral function costs $1 per unit, in 10,000-unit quantities.

Renesas Electronics Corp.

www.renesas.com

 

Design a Low-Power System in 2013

A few months ago, we listed the top design projects from the Renesas RL78 Green Energy Challenge. Today, we’re excited to announce that Circuit Cellar‘s upcoming 25th anniversary issue will include a mini-challenge featuring the RL78. In the issue, you’ll learn about a new opportunity to register for an RL78/G14 demonstration kit that you can use to build a low-power design.

Renesas RL78

The RL78/G14 demonstration kit (RDK) is a handy evaluation tool for the RL78/G14 microcontrollers. Several powerful compilers and sample projects will be offered either free-of-charge (e.g., the GNU compiler) or with a code-size-limited compiler evaluation license (e.g., IAR Systems).  Also featured will be user-friendly GUIs, including the Eclipse-based e2studio.

RL78G14 RDK KIT

  • 32-MHz RL78/G14 MCU board with integrated debugger and huge peripheral, including Wi-Fi, E Ink display, matrix LCD, audio ports, IR ports, motor control port, FET and isolated triac interfaces
  •  256-KB On-chip flash
  • USB Debugger cable
  • Four factory demos showcasing local and cloud connectivity through Wi-Fi

The CC25 anniversary issue is now available.