Tag Archives: MCUs

Atmel lights up fluorescent ballasts

Microcontrollers (MCUs) might not instantly spring to mind when one thinks of fluorescent ballasts – which are used to produce warm and inviting light without flickering or humming.

But they can be found in high-frequency electronic ballasts, such as the full-featured single-chip Atmel AVR especially designed for lighting applications, or a general microcontroller with range of standard-compliant transceiver options. Meanwhile, the embedded EEPROM stores tube wattages and parameters for accurate wattage detection and parameter adjustment without the need for separate components.

In addition, Integrated Power Stage Controllers (PSCs) help to reduce electrical magnetic interference (EFI), manage lamp power and control voltage to ensure lighting stability in dimmable fluorescent lamps.

“Dimmable fluorescent ballasts are a natural fit for the Atmel AT90PWM microcontroller, which supports the Digital Addressable Lighting Interface (DALI),” an Atmel engineering rep told Bits & Pieces.

lampballast

“Non-dimmable fluorescent ballasts benefit from the flexible Atmel AT83EB5114 microcontroller with integrated Power Factor Corrected (PFC) capability, which eliminates the need for additional components.”

And last, but certainly not least, the Atmel AT90PWM microcontroller supports the DALI standard to network multiple ballasts to a centralized system for tighter light level control and big energy savings.

Want to learn more about Atmel’s lighting solutions? Check out Atmel’s official page here.

Washing your clothes with Atmel MCUs

Washing machines. We all have them, or at the very least, use them to clean our clothes every so often. And yes, we’ve clearly come quite a long way since the very first electric washing machines were advertised in national newspapers during the early 1900’s.

Indeed, current-gen washing machines require support for motor controls, water level and temperature sensing, as well as an advanced UI (user interface) capable of withstanding harsh environments. And although one might not think it critical, standards-based, secure connectivity is also a must for appliances tapping into a home network.

As we’ve previously discussed on Bits & Pieces, Atmel’s extensive lineup of MCUs and touchscreen solutions are quite versatile and can be used for a number of applications, including washing machines.

First off, Atmel offers up a wide range of 8- and 32-bit microcontrollers that are dedicated to motor control – providing the appropriate support for BLDC motors, AC motors and switched reluctance motors.

Secondly, AVR 32-bit microcontrollers embed a digital signal processor (DSP) and a floating point unit (FPU) in select models, delivering the high performance required in advanced motor control solutions. Thirdly, many AVR microcontrollers include high-end PWM modules with dead-time insertion, fault management, synchronization with analog – making them a perfect choice for motor control.

In addition, AVR microcontrollers are offered in 105°C versions, as well as models up to 150°C, for a perfect match for washers with challenging temperature requirements. Meanwhile, Atmel provides an IEC 60730 Class B Library to support customers in the certification process, which dramatically speeds time to market. Plus, AVR 32-bit microcontrollers feature a multi-layer databus and DMA controller that make them a perfect fit for HMI applications where high bandwidth is required.

On the touch side, Atmel’s QTouch library offer designers the ability to easily add capacitive touch buttons, wheels and sliders – at no additional cost. In terms of reducing BOM, Atmel offers motor control and HMI touch in a single-chip, along with high power IOs that can directly drive LEDs and buzzers.

And last, but certainly not least, ZigBee PRO compatibility enables standards-compliant connectivity and smart metering, while node authentication capability supports smart meter infrastructure connections.

Interested in learning more? Additional information is available here.

Atmel’s maXTouch powers Galaxy S4 Mini’s touchscreen

Samsung has selected Atmel’s maXTouch mXT336S controller to power the touchscreen of its recently launched Galaxy S4 Mini.

Powered by a 1.7GHz dual-core processor and running Google’s Android 4.2.2 operating system, the Samsung Galaxy S4 Mini also boasts a 4.3-inch high-definition super AMOLED display.

“The mXT336S controller delivers the ultimate human touch interface with its feature-rich solution by enabling thinner stylus and thicker glove support,” an Atmel spokesperson told Bits & Pieces. “It also facilitates more touch precision and fewer unintended touches, along with lower power consumption for longer battery life, brighter displays and faster response times.”

Additional key Galaxy S4 Mini features include:

  • 4G LTE in addition to 3G and 3G dual-SIM versions
  • 8-megapixel rear camera and recording
  • 1.9-megapixel front-facing camera
  • 1.7GHz dual-core processor
  • 1,900 mAh battery

It should be noted that Atmel technology can be found in a number of Samsung mobile devices, including the full-sized Galaxy S4. As previously discussed on Bits & Pieces, the Galaxy S4 is fitted with Atmel’s sensor hub management MCU (microcontroller unit) which collects and processes data from all connected sensors in real-time, optimizing multiple user experiences, such as gaming, navigation and virtual reality. In addition, the sensor hub MCU lowers the overall system power consumption via picoPower technology to prevent drain and enable longer battery life.

Wireless solutions for the Internet of Things (IoT)

The Internet of Things (IoT) refers to a future world where all types of electronic devices link to each other via the Internet. Today, it’s estimated that there are nearly 10 billion devices in the world connected to the Internet, a figure expected to triple to nearly 30 billion by 2020.

And as Maker Afroditi Psarra recently noted, wearable computing is on track to ultimately connect our physical bodies (wearable tech) with the Internet of Things (IoT).

Clearly, wireless connectivity is more important than ever, as as wireless extends from PC peripherals and home entertainment applications to the smart grid and beyond. To support these sophisticated applications, Atmel offers a complete line of IEEE 802.15.4-compliant, IPv6/6LoWPAN based, ZigBee certified wireless solutions.

They are based on Atmel’s family of RF transceivers, 8-bit and 32-bit AVR and ARM microcontrollers. To facilitate rapid development and speed time to market, Atmel offers a variety of free software stacks, reference designs, wireless modules and development kits. Simply put, the provide everything engineers need to meet the unique needs of low-cost, low-power, wireless control and sensor network applications.

Key features include:

  • Single-Chip Solutions — The Atmel IEEE 802.15.4-compliant single-chip solution combines an AVR microcontroller and best-in-class 2.4GHz RF transceiver. This particular combo is ideal for applications requiring minimal board space and cost – without compromising on MCU and RF performance.
  • Transceivers – Atmel’s wide range of high performance, low-power IEEE 802.15.4-compliant transceivers support regional 700/800/900MHz frequency bands available in China, Europe, Japan and North America, as well as the 2.4GHz band available worldwide. For maximum flexibility, these unique RF transceivers can be combined with Atmel’s microcontrollers over the SPI Interface.
  • Bundles – Flexible IEEE 802.15.4-compliant bundles make it easy to create a solution that is appropriately aligned to your application needs.
  • Modules – ZigBits are compact 802.15.4/ZigBee modules featuring record-breaking range performance and exceptional ease of integration. ZigBits also pack a complete FCC/CE/ARIB certified RF design that eliminates costly and time-consuming RF development and gets your product to market on-time and on-budget.

Additional information about Atmel’s MCU Wireless controllers can be found here.

Optimizing charge cycles and battery life

Bits & Pieces has been on a roll this week with an automotive theme in honor of the latest additions to Atmel’s touch family: the mXT336S and mXT224S. In this article, we’re going to take a closer look at how Atmel optimizes automotive charge cycles and battery life with its MCUs.

As automotive enthusiasts know, Li-ion technology is currently the first choice for modern high-performance batteries. To be sure, Li-ion batteries are up to 30 percent smaller and 50 percent lighter than conventional NiMH batteries – yet manage to store significantly more energy.

However, while the batteries do offer concrete advantages in terms of size, weight, recharge speed and resistance to memory effects, Li-ion has a higher cost compared to other battery types. Of course, this can definitely be improved by using a battery management system like Atmel’s which optimizes battery performance.

“Our Li-ion battery management solution offers high accuracy analog measurement functions in combination with efficient active cell balancing ensuring optimum usage of battery capacity,” an Atmel engineering rep told Bits & Pieces. “Specifically, the megaAVR, ATmega32HVE2 and ATmega64HVE2 microcontrollers (MCUs) can be used to improve the performance and longevity of 12V standard lead-acid batteries.”

As the engineering rep notes, the above-mentioned MCUs are designed for intelligent battery sensor applications – with the devices determining the state of charge and state of health for 12V standard lead-acid batteries by measuring the battery voltage, current and temperature.

“For cars with idle-stop-go function, this feature is mandatory to retain sufficient battery energy for a guaranteed engine start,” the engineering rep added. “Combined with the Atmel ATA6870 Li-ion battery monitor IC, it forms an ideal system solution for replacing 12V standard lead-acid batteries with Li-ion batteries.”

Additional key features of an Atmel-powered battery management system and components include:

  • Active balancing – The industry’s first to feature active cell balancing for high cell count Li-ion batteries to prevent energy loss.
  • Maximum safety – Highest accuracy due to simultaneous cell voltage measurement of the cells in the entire battery stack leading to precise state-of-charge and state-of health calculations.
  • Smart sensing – Allows engineers to measure the battery voltage, current and temperature with up to 18-bit accuracy.
  • Valuable development tools – PC-controlled development kits help devs easily build a battery management system and get the most of the battery management devices.

Interested in learning more? Detailed information about using Atmel’s powered system can be found here.

Putting Atmel AVR MCUs in your refrigerator

Power efficiency is an obvious, yet critical element of refrigeration design. To meet current green energy requirements, refrigerators and freezers are required to include support for global efficiency standards, as well as advanced communication capabilities for smart metering.

AVR MCUs can be used to provide flexible connectivity options and power efficient architectures that make them an excellent fit for refrigeration applications. Indeed, a variety of 8- and 32-bit Atmel microcontrollers are specifically optimized for motor control – providing full support for BLDC motors, AC motors and switched reluctance motors. As an added bonus, Atmel solutions meet energy efficiency requirements such as Energy Star and European regulations to deliver maximum efficiency.

“Atmel AVR 32-bit microcontrollers feature a multi-layer databus and DMA controller that make them a perfect fit for HMI applications where high bandwidth is required,” an engineering rep told Bits & Pieces.

“Robust touch sensor technology, featuring the Atmel QTouch library, allows designers to easily add capacitive touch buttons, wheels and sliders at no additional cost. Meanwhile, native 5 volts support is available on the Atmel megaAVR and Atmel tinyAVR microcontrollers, with node authentication capability supporting smart meter infrastructure connections. And last, but certainly not least, ZigBee Pro compatibility enables standards-compliant connectivity and smart metering.”

Refrigerators are an N1 energy consumer – understandably requiring power-efficient technology. In short, Atmel microcontrollers and wireless products are a perfect fit to help engineers design related products with granular energy control and optimized efficiency.

Interested in learning more? Additional information about the use of Atmel MCUs in refrigeration design can be found here.

A closer look at Atmel’s vehicle portfolio

Earlier this morning, Atmel announced the expansion of an already formidable automotive maXTouch lineup with the mXT336S (optimized for 7-inch touchscreens) and mXT224S (targeted at smaller touchscreens and tablets).

In addition to touchscreens, Atmel boasts an extensive automotive ecosystem that meets strict quality demands, helping to make vehicles more safe and affordable. Primary solutions include battery management (Li-ion), car access, radio, networking, motor control systems and microcontrollers.

As previously discussed on Bits & Pieces, Atmel’s versatile AVR microcontrollers deliver power, performance and flexibility – making them appropriate for a wide range of automotive applications.

So what differentiates AVR microcontrollers from the competition in the automotive sphere? Well, according to an engineering rep, Atmel offers functionality and high temperature capabilities in its vehicle-oriented chip designs.

“Plus, complete system-in-package (SIP) solutions integrate components such as an AVR microcontroller, LIN and CAN interfaces, voltage regulator, watchdog, floating point unit (FPU), FlashVault code protection, high-speed Ethernet and USB with OTG connectivity in a single cost-effective package,” the engineering rep told Bits & Pieces. “In fact, Atmel’s highly integrated designs can reduce system costs by up to 60 percent, while saving time in development, integration and prototyping.”

Key specs include:

  • High performance – Executing powerful instructions in a single clock cycle, Atmel’s 8-bit automotive AVR MCUs achieve throughputs approaching 1 MIPS per MHz, balancing power consumption with processing speed.
  • Code protection – Atmel FlashVault allows devs to partially program and lock flash memory for secure on-chip storage. Code stored in FlashVault will execute as normal, but cannot be read, copied or debugged. It is also capable of carrying software such as math libraries or encryption algorithms to potentially untrustworthy environments where the rest of the source code can be developed and debugged.
  • Built-in voltage protection – The on-chip voltage regulator with short-circuit monitoring interface featured in several 8-bit microcontrollers ensures reliable operation and extends the useful life of the device and the product it controls.
  • Optimized power efficiency – Thanks to more than a decade of research, Atmel picoPower technology reduces microcontroller power usage in both sleep and active mode to achieve the industry’s lowest power consumption numbers.

Interested in learning more? Additional information about Atmel’s expansive automotive portfolio is available here and here.

A closer look at Atmel’s Xplained Pro kits

Atmel’s comprehensive lineup of Xplained Pro boards offers engineers everything they need to start designing microcontroller (MCU) applications in minutes. First off, the boards are quite easy to connect, linking to PCs with just a USB cable.

As expected, the boards are automatically recognized by Atmel Studio, facilitating direct access to example projects and documentation. Meanwhile, hardware extension boards provide easy access to all functionality of the MCU.

Currently, Xplained Pro kits are grouped into three primary categories:

  • Evaluation kits – Lowest cost kits starting at $39 for evaluating MCUs and developing with example projects in Atmel Studio.
  • Starter kits – Low-cost bundle of MCU and extension boards starting at $99 for rapid application prototyping and development with Atmel Studio and Atmel Software Framework.
  • Extension kits – Boards with additional functionality, connecting to Xplained Pro MCU boards through standardized connectors.

On the evaluation side, Atmel offers the SAM D20 Xplained Pro, SAM4N Xplained Pro, SAM4S Xplained Pro, SAM4L Xplained Pro and the ATmega256RFR2 Xplained Pro.

In terms of extension boards, there is the I/O1 Xplained Pro, OLED1 Xplained Pro, SLCD1 Xplained Pro and the PROTO1 Xplained Pro.

Interested in learning more? Be sure to stay tuned, because next time we’ll be getting up close and personal with Atmel’s MCU Xplained (evaluation) kits.

Engineering wizardry for your Arduino

Bits & Pieces has been on a roll lately when it comes to technical books related to Atmel-powered Arduinos. Over the past few weeks, we’ve taken a closer look at  a number of titles, including “Arduino Robot Bonanza,”Arduino and Lego Projects,” “Arduino Workshop: A Hands-On Introduction with 65 Projects” and “Practical AVR Microcontrollers.”

Today we wanted to talk about “Exploring Arduino: Tools and Techniques for Engineering Wizardry,” which uses the popular board as a platform to teach readers about electrical engineering, programming and human-computer interaction.

Written by Jeremy Blum, the book is targeted at both hobbyists and engineers, both of whom will benefit from paced lessons walking readers through practical educational exercises which gradually become more advanced.

In addition to specific projects, the book offers up advice about programming and design that can be applied to numerous projects.

“Exploring Arduino: Tools and Techniques for Engineering Wizardry” also covers electrical engineering and programming concepts – interfacing with the world through analog and digital sensors, as well as communicating with various devices.

“Code snippets and schematics will [continue to] serve as a useful reference for future projects even after you’ve mastered all the topics in the book,” added Blum.

“Exploring Arduino: Tools and Techniques for Engineering Wizardry” can be pre-ordered on Amazon for $24.79 here.

Designing next-gen UIs with the SAMA5D3 MPU

Intuitive user interfaces (UIs) are ubiquitous for smartphones, tablets and personal media players. But what about user interfaces in the world of industrial automation applications and home control units?

userinterface

Frédéric Gaillard, Atmel Product Marketing Manager, tells Bits & Pieces the use of MIMIC diagrams and traditional switches and rotary controls are still quite commonplace for industrial equipment. Ditto for home thermostats, the majority of which are mechanical.

“There are actually some very good reasons for this, as gloved hands, moisture, and condensation can play havoc with touchscreen controls. The industrial operating environment may dictate large switches for these reasons,” Gaillard explains.

“Safety considerations may warrant the use of traditional control mechanisms such as switches. Nevertheless, equipment manufacturers are keen to update both the functionality and cosmetic aesthetics of their products. Industrial automation equipment is increasingly networked.”

sama5d3flat

Clearly, when it comes to home automation, there is a need for an integrated display and control center to control heating, ventilation and smart-energy monitoring.

“You need a higher performance microprocessor, but with a more intuitive, easy-to-understand user interface (UI). When embarking on a new control panel application, embedded developers are likely to select a microprocessor device rather than a microcontroller,” says Gaillard.

“This is dictated by the processing power required for the connectivity and the need to manage a TFT LCD screen and associated UI. An example of such a microprocessor is the Atmel SAMA5D3 MPU, based on an ARM Cortex-A5 core. It’s 65nm low-power process geometry delivers up to 850 DMIPS (drhystone million instructions per second) at 536 MHz and up to 1,328 MB/s at a 166 MHz bus speed.”

The SAMA5D3 also features a floating-point unit (FPU) for high-precision compute-intensive applications, along with a 24-bit TFT LCD controller and graphics accelerator for image composition. Optimized for use in industrial control and HMI (human-machine interface) applications, the device is equipped with a comprehensive set of peripheral interfaces including dual Ethernet, high-speed USB and dual CAN.

Simply put, the Atmel SAMA5D3 MPU is an ideal candidate for most control panel-oriented designs. With its Cortex-A5 core and vector FPU, the MPU is capable of achieving accelerated graphics processing. Coupled with the 32-bit DDR (dual data rate) controller performing up to 1,328 MB/s, it offers enough raw horsepower to drive a high-resolution screen display via the 24-bit TFT LCD controller block. Resistive touchscreen support is integrated into the device, although one can alternatively interface to an external Atmel maXTouch capacitive touchscreen controller.

sama5d3sketch

On the software side, Atmel has partnered with TimeSys to port the Qt framework and its comprehensive range of development tools for easy UI design. Qt can best be described as a cross-platform application framework with a reliable, easy-to-use toolkit to develop complex graphical user interfaces.

“Qt is based on a comprehensive set of widgets that you use to create a GUI screen design. Within the Qt Creator development environment, the Qt Designer tool allows you to lay out the interface design and plan the human interaction,” Gaillard adds.

“The excellent support for multimedia and 3D graphics, plus all the traditional concepts of text entry, check-boxes, and radio buttons, all help to facilitate the easy creation of industrial interface designs. Indeed, the Qt Designer creates C++ code that integrates into your application, while QML defines all the necessary visual graphical interface elements to create and animate visual interaction.”

Interested in learning more? Check out Atmel’s official white paper on the subject here.