Category Archives: Hardware

Which Arduino board is right for you?


Picking an Arduino is as easy as Uno, Due, Tre! 


Thinking about starting a project? See which Arduino board is right for the job.

Arduino Uno

This popular board — based on the ATmega328 MCU — features 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz ceramic resonator, USB connection, power jack, an ICSP header and a reset button.

ArduinoUno_r2_front450px

The Uno does not use the FTDI USB-to-serial driver chip. Instead, it features the ATmega16U2 (ATmega8U2 up to version R2) programmed as a USB-to-serial converter.

In addition, Revision 3 of the Uno offers the following new features:

  • 
1.0 pinout: added SDA and SCL pins that are near to the AREF pin and two other new pins placed near to the RESET pin, the IOREF that allow the shields to adapt to the voltage provided from the board. Note: The second is not a connected pin.
  • 
Stronger RESET circuit.
  • ATmega16U2 replace the 8U2.

Arduino Leonardo

The Arduino Leonardo is built around the versatile ATmega32U4. This board offers 20 digital input/output pins (of which 7 can be used as PWM outputs and 12 as analog inputs), a 16 MHz crystal oscillator, microUSB connection, power jack, an ICSP header and a reset button.

300-xl

The Leonardo contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started. Plus, the ATmega32U4 offers built-in USB communication, eliminating the need for a secondary processor. This allows it to appear as a mouse and keyboard, in addition to being recognized as a virtual (CDC) serial / COM port.

Arduino Due

The Arduino Due is an MCU board based on the Atmel | SMART SAM3X8E ARM Cortex-M3 CPU.

ArduinoDue_Front

As the first Arduino built on a 32-bit ARM core microcontroller, Due boasts 54 digital input/output pins (of which 12 can be used as PWM outputs), 12 analog inputs, 4 UARTs (hardware serial ports), an 84 MHz clock, USB OTG capable connection, 2 DAC (digital to analog), 2 TWI, a power jack, an SPI header, a JTAG header, a reset button and an erase button.

Unlike other Arduino boards, the Due runs at 3.3V. The maximum voltage that the I/O pins can tolerate is 3.3V. Providing higher voltages, like 5V to an I/O pin, could damage the board.

Arduino Yún

The Arduino Yún features an ATmega32U4, along with an Atheros AR9331 that supports a Linux distribution based on OpenWRT known as Linino.

ArduinoYunFront_2

The Yún has built-in Ethernet and Wi-Fi support, a USB-A port, a microSD card slot, 20 digital input/output pins (of which 7 can be used as PWM outputs and 12 as analog inputs), a 16 MHz crystal oscillator, microUSB connection, an ICSP header and 3 reset buttons. The Yún is also capable of communicating with the Linux distribution onboard, offering a powerful networked computer with the ease of Arduino.

In addition to Linux commands like cURL, Makers and engineers can write their own shell and python scripts for robust interactions. The Yún is similar to the Leonardo in that the ATmega32U4 offers USB communication, eliminating the need for a secondary processor. This enables the Yún to appear as a mouse and keyboard, in addition to being recognized as a virtual (CDC) serial?COM port.

Arduino Micro

Developed in conjunction with Adafruit, the Arduino Micro is powered by ATmega32U4.

The board is equipped 20 digital input/output pins (of which 7 can be used as PWM outputs and 12 as analog inputs), a 16 MHz crystal oscillator, microUSB connection, a ICSP header and a reset button. The Micro includes everything needed to support the microcontroller; simply connect it to a computer with a microUSB cable to get started. The Micro even has a form factor that lets the device be easily placed on a breadboard.

Arduino Robot

The Arduino Robot is the very first official Arduino on wheels. The robot is equipped with two processors — one for each of its two boards.

Robot_Top

The motor board drives the motors, while the control board is tasked with reading sensors and determining how to operate. Each of the ATmega32u4 based units are fully-programmable using the Arduino IDE. More specifically, configuring the robot is similar to the process with the Arduino Leonardo, as both MCUs offer built-in USB communication, effectively eliminating the need for a secondary processor. This enables the Robot to appear to a connected computer as a virtual (CDC) serial?COM port.

Arduino Esplora

The Arduino Esplora is an ATmega32u4 powered microcontroller board derived from the Arduino Leonardo. It’s designed for Makers and DIY hobbyists who want to get up and running with Arduino without having to learn about the electronics first.

The Esplora features onboard sound and light outputs, along with several input sensors, including a joystick, slider, temperature sensor, accelerometer, microphone and a light sensor. It also has the potential to expand its capabilities with two Tinkerkit input and output connectors, along with a socket for a color TFT LCD screen.

Arduino Mega (2560)

The Arduino Mega features an ATmega2560 at its heart.

It is packed with 54 digital input/output pins (of which 15 can be used as PWM outputs), 16 analog inputs, 4 UARTs (hardware serial ports), a 16 MHz crystal oscillator, USB connection, a power jack, an ICSP header and a reset button. Simply connect it to a computer with a USB cable or power it with a AC-to-DC adapter or battery to get started. The Mega is compatible with most shields designed for the Arduino Duemilanove or Diecimila.

Arduino Mini

Originally based on the ATmega168, and now equipped with the ATmega328, the Arduino Mini is intended for use on breadboards and projects where space is at a premium.

Mini05_front

The board is loaded with 14 digital input/output pins (of which 6 can be used as PWM outputs), 8 analog inputs and a 16 MHz crystal oscillator. It can be programmed with the USB Serial adapter, the other USB, or the RS232 to TTL serial adapter.

Arduino LilyPad

The LilyPad Arduino is designed specifically for wearables and e-textiles. It can be sewn to fabric and similarly mounted power supplies, sensors and actuators with conductive thread.

The board is based on the ATmega168V (the low-power version of the ATmega168) or the ATmega328V. The LilyPad Arduino was designed and developed by Leah Buechley and SparkFun Electronics. Readers may also want to check out the LilyPad Simple, LilyPad USB and the LilyPad SimpleSnap.

Arduino Nano

The Arduino Nano is a tiny, complete and breadboard-friendly board based on the ATmega328 (Arduino Nano 3.x) or ATmega168 (Arduino Nano 2.x).

The Nano has more or less the same functionality of the Arduino Duemilanove, but in a different package. It lacks only a DC power jack and works with a Mini-B USB cable instead of a standard one. The board is designed and produced by Gravitech.

Arduino Pro Mini

Powered by an ATmega328, the Arduino Pro Mini is equipped with 14 digital input/output pins (of which 6 can be used as PWM outputs), 8 analog inputs, an on-board resonator, a reset button and some holes for mounting pin headers.

50720-11114-02

A 6-pin header can be connected to an FTDI cable or Sparkfun breakout board to provide USB power and communication to the board. Note: See also Arduino Pro.

Arduino Fio

The Arduino Fio (V3) is a microcontroller board based on Atmel’s ATmega32U4. It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 8 analog inputs, an on-board resonator, a reset button and holes for mounting pin headers. It also offers connections for a lithium polymer battery and includes a charge circuit over USB. An XBee socket is available on the bottom of the board.

The Arduino Fio is intended for wireless applications. The user can upload sketches with an a FTDI cable or Sparkfun breakout board. Additionally, by using a modified USB-to-XBee adaptor such as XBee Explorer USB, the user can upload sketches wirelessly. The board comes without pre-mounted headers, facilitating the use of various types of connectors or direct soldering of wires. The Arduino Fio was designed by Shigeru Kobayashi and SparkFun Electronics.

Arduino Zero

Last year, the tandem of Atmel and Arduino debuted the Zero development board – a simple, elegant and powerful 32-bit extension of the platform. The Arduino Zero board packs an Atmel | SMART SAM D21 MCU, which features an ARM Cortex M0+ core. Additional key hardware specs include 256KB of Flash, 32KB SRAM in a TQFP package and compatibility with 3.3V shields that conform to the Arduino R3 layout.

Zero-Blog-1

The Arduino Zero boasts flexible peripherals along with Atmel’s Embedded Debugger (EDBG) – facilitating a full debug interface on the SAMD21 without the need for supplemental hardware. Beyond that, EDBG supports a virtual COM port that can be used for device programming and traditional Arduino bootloader functionality. This highly-anticipated board will be available for purchase from the Arduino Store in the U.S. on Monday June 15th.

Arduino AtHeart

The Arduino AtHeart program was specifically launched for Makers and companies with products based on the open-source board that would like to be clearly identified as supporters of the versatile platform. The program is available for any device that includes a processor that is currently supported by the Arduino IDE, including the following Atmel MCUs:

Participants in the program include startups like:

EarthMake – ArLCD

The touchscreen ArLCD combines the ezLCD SmartLCD GPU with the Arduino Uno.

ee9bedf0de7441839ba219cb9df9f51a.image.446x354

Bare Conductive Touch Board

The ATmega32U4 based Touch Board can turn nearly any material or surface into a sensor by connecting it to one of its 12 electrodes, using conductive paint or anything conductive.

0f334dab601135bf329b68c8aee984f3.image.538x354

Blend Micro

The RedBearLab integrated dev platform “blends” the powers of Arduino with Bluetooth 4.0 Low Energy into a single board. It is targeted for Makers looking to develop low-power IoT projects in a quick, easy and efficient manner. The MCU is driven by an ATmega32U4 and a Nordic nRF8001 BLE chip.

14627c6f2dffee59911a21ede7a71a9a.image.447x354

littleBits Arduino Module

The fan-favorite Arduino module, which happens to also be based on an ATmega32U4, lets users easily write programs in the Arduino IDE to read sensors and control lights and motors within the littleBits system.

arduino_withlogo

Smart Citizen Kit

An Arduino-compatible motherboard with sensors that measure air composition (CO and NO2), temperature, light intensity, sound levels, and humidity. Once configured, the Smart Citizen Kit is capable of streaming data collected by the sensors over Wi-Fi.

8913f25184f084d52da77d70f5261203_large

Wi-Fi router flaw leaves hundreds of hotel guests vulnerable to hackers


Researchers have discovered 277 devices in 29 countries to be accessible over the Internet.


Another week, another piece of research highlighting the vulnerabilities of Wi-Fi devices. This time, security firm Cylance has discovered routers — which can be been found in eight of the world’s top 10 hotel chains — to be vulnerable to hacking. The experts claim cyber attackers could easily use the flaw to monitor and record data sent over the hotel’s Wi-Fi network.

area-wifi-hotel-a-pisa-3-stelle

Cylance discovered that multiple ANTLabs InnGate models contained a misconfigured, unauthenticated rsync service that listened on TCP port 873 and gave unprivileged users full read and write access to the file system. The Rsync daemon is a tool often used to backup systems since it can be set up to automatically copy files or new parts of files from one location to another.

“When an attacker gains full read and write access to a Linux file system, it’s trivial to then turn that into remote code execution,” Cylance researcher Brian Wallace wrote in a blog post. “The attacker could upload a backdoored version of nearly any executable on the system and then gain execution control, or simply add an additional user with root level access and a password known to the attacker. Once full file system access is obtained, the endpoint is at the mercy of the attacker.”

For example, hackers could potentially use the security weakness to infiltrate keycard systems to secure and unlock doors, monitor and record data sent over the network, access the hotel’s reservation system, and even distribute malware to guests, among countless other malicious acts.

At the moment, Cylance has confirmed the flaw can be found in 277 devices spanning across 29 countries that are accessible over the Internet. Aside from more than 100 of them being at located in the United States, the researchers have unearthed susceptibility in 16 systems in the UK, 35 in Singapore and 11 in the United Arab Emirates.

darkportal-map.png

“The affected nodes also include quite affluent hotels. Listing those vulnerable devices at this time would be irresponsible and could result in a compromise of those networks,” the team’s blog explains. “Take it from us that this issue affects hotels brands all up and down the spectrum of cost, from places we’ve never heard of to places that cost more per night than most apartments cost to rent for a month.”

ANTlabs has since released a patch to fix the vulnerability. If recent events were to demonstrate anything, it is that hotel networks are a common target to hackers. In fact, just last November, Kaspersky Lab documented the activity of a cyberespionage group dubbed DarkHotel that preyed on business travelers by compromising the networks of luxury hotels in the APAC region. It’s more apparent than ever that, not only are security flaws on the rise, they affect us all. Subsequently, how can you ensure that your network and its devices are protected? Those wishing to read more can head over to a detailed write-up from Wiredas well as check out Cylance’s official blog post here.

Atmel | SMART SAM L21 is winning the low-power battle


EE Times highlights the ongoing game of leapfrog between MCU vendors for the lowest-power solution. Can you guess who’s winning?


Writing for EE TimesRich Quinnell notes that MCU vendors have become engaged in a new game of leapfrog, announcing a slew of products with ever-improving benchmark results and leadership in ultra-low power processing.

ulpbench_board

“While this may seem like a marketing game, developers will ultimately be the winners as vendors refine their techniques for saving power. In the past, a low powered MCU also meant low performance, but vendors have been challenging this correlation by offering increasingly powerful MCUs for low-power applications,” he writes. “Developers, however, faced a problem in evaluating these offerings. Traditional specifications such as operating current in mW/MHz and sleep-mode leakage currents became increasingly difficult to evaluate in the face of the multiple power states that devices offered, and in the face of inconsistency in the industry in the descriptions and specifications used to characterize low-power operation.”

The Embedded Microprocessor Benchmark Consortium (more commonly referred to as EEMBC) develops benchmarks to help system designers select the optimal processors and understand the performance and energy characteristics of their systems. EEMBC has benchmark suites spanning across countless application areas, targeting just about everything from the cloud and big data, to mobile devices (Android phones and tablets) and digital media, to the Internet of Things and ultra-low power microcontrollers. In particular, the EEMBC ULPBench power benchmark, which was introduced last year, standardizes datasheet parameters and provides a methodology to reliably and equitably measure MCU energy efficiency.

“This is one of the strictest benchmarks we’ve ever done in terms of setup and such. The benchmark has the MCU perform 20k clock cycles of active work once a second, and sleep the remainder of the second. This way each processor performs the same workload, which levels the playing field with regard to executing the benchmark,” EEMBC President Marcus Levy told EE Times in a recent interview.

Lower

In order to calculate the final ULPMark-CP score, 1,000 is divided by the median value for average energy used per second during each of 10 benchmark cycles. A larger value therefore represents less energy consumed.

Using this benchmark, MCU vendors have begun publishing their results and surpassing one another to temporarily claim their stake at the top of the low-power leaderboard. Still, the leapfrog game is likely to continue for some time. Andreas Eieland, Atmel Director of Product Marketing explained to EE Times, “Low power is an area where everyone is pouring a lot of R&D into, and it has taken on a much faster pace than before. We know we’re the lowest power now, but you never know where your competition is in its efforts. So, we’re already looking at the next step.”

Eieland points out that at first low-power development efforts mainly concentrated on architectural improvements to the CPU, however optimizing the CPU wasn’t enough. This meant companies needed to begin going through every peripheral and optimizing it, looking at every transistor in the product. He adds, “We [Atmel] started developing clock-on-demand features, logic that allows peripherals to operate stand-alone, using the minimum circuitry needed to complete their task, gating away the clock and even establishing a variety of power domains so we could shut down circuits not in use and eliminate even their leakage current.”

img_5037

“TI surpassed its own earlier result by announcing the MSP-432 family based on the Cortex M4F. It achieved a ULPBench score of 167.4. While TI was briefing the media on this product, however, Atmel quietly published a ULPBench score of 185.8 for its SAM L21 MCU based on the Cortex M0+, a product announced last year that was scheduled to be released at about this time,” Quinnell reveals.

The Atmel | SMART SAM L21 family delivers ultra-low power running down to 35µA/MHz in active mode, consuming less than 900nA with full 32kB RAM retention, and 200nA in the deepest sleep mode. With rapid wake-up times, Event System, Sleepwalking and the innovative picoPower peripherals, the SAM L21 is ideal for handheld and battery-operated devices in a variety of markets.

As time goes on, we can surely expect to see benchmark scores continue to improve and the competition to pick up. However, despite their differences, everyone can agree that these scores are only a mere starting point for developers seeking the lowest-power device for their design.

“The ULP benchmark isn’t 100% fair; no benchmark can ever be,” Eieland concluded. “But it does take a lot of the marketing out of low power, and it gives you a relative comparison you can use.”

Want to read more? Head over to the entire EE Times write-up here.

Creating a see-through Arduino with an ATmega328P


CIT is hoping to put the ‘printed’ back into printed circuit boards.


CIT Technology is a manufacturer of digitally printed flexible electronic circuits. The crew is on a mission to develop low-cost, flexible circuits that will spur the imagination of the next generation of designers. In doing so, they aspire to put the ‘printed’ back into printed circuit boards by using a unique two-stage additive print-and-plate process that deposits solid copper onto low-cost flexible substrates. Building a board on these materials can have some significant advantages over conventionally manufactured PCBs.

SeeThroughArduino

If you follow along with our (*cough industry-leading cough*) Twitter account, then you saw how well the audience received CIT’s recent tweet of a see-through Arduino. Created as an example of a module built on low-cost PET, the ‘duino featured 50 micron clear PET and was based on an ATmega328P MCU, enabling it to be linked to other modules to devise entire systems.

“Our see-through Arduino was made to show how quick and simple it is to create your own modules, either as one-offs or in volume,” the team notes.

Bluetooth

As part of this project, CIT also made a Bluetooth LE module, a capacitive touchpad set and LED indicator modules. By piecing these components together, you will have all the elements required to construct a Bluetooth widget – what that widget does is entirely up to you.

“This is where we can help you create the next module by printing the designs on PET. The flex circuits are printed on clear or white PET from 50 to 125 microns thick. The tracks are copper so you can solder SMT devices to the tracks using low temperature Tin Bismuth solder.”

Flex

PET flexible circuits open up interesting options when it comes to low-cost sensors for lightweight applications, including drones where every gram counts. And of course, these circuits can be folded into awkward shapes.

CIT first began crafting these modules as a sort of “educational” process so that they could document the steps when evolving a modular project to a final dedicated circuit and show how current digital printing processes are now mainstream. Today, the company can print flexible PCBs by the kilometer, and given that the process is completely digital, there are no masks or expensive tooling involved in the setup.

Intrigued? Head over to CIT’s official page here.

Video: Taking a closer look at the Atmel | SMART SAM S70 and E70 MCUs


ARMDevices.net explores the “world’s fastest ARM Cortex-M.”


Earlier this year, Atmel expanded upon its Atmel | SMART ARM-based microcontroller family with the launch of four new series of Cortex-M7 based devices, including the SAM S70 and E70 MCUs.

maxresdefault

The new devices enable users to scale-up performance and deliver SRAM and system functionality, while keeping the Cortex-M family ease-of-use and maximizing software reuse. The MCUs contain advanced memory architectures with up to 384KB of multi-port SRAM memory, out of which 256KB can be configured as tightly coupled memory delivering zero wait state access at 300MHz. With over four times the performance of current Atmel ARM Cortex-M based MCUs running up to 300MHz, larger configurable SRAM up to 384kB and higher bandwidth peripherals, the new processors give designers the right connectivity, SRAM and performance mix for their industrial, connectivity and automotive designs.

In particular, the SAM S70 series is based on the Cortex-M7 core plus a floating point unit (FPU) extending the general purpose product portfolio with maximum operating speeds up to 300MHz, up to 2MB of Flash, dual 16KB of cache memory and up to 384KB of SRAM with an extensive peripheral set including high-speed USB host and device plus high-speed PHY, up to 8 UARTs, I2S, SD/MMC interface, a CMOS camera interface, system control and analog interfaces.

SAM70

Aside from the S70 series features, the recently-revealed SAM E70 also includes a 10/100 Ethernet MAC and Dual Bosch CAN-FD interfaces with advanced analog features making them ideal for connectivity applications. The SAM E70 is upwards compatible with Atmel’s SAM4E series.

“All the series offer two Advanced Analog Frontend (AFE) with dual sample and hold capability and Up to 16-bit resolution with hardware oversampling. They also have programmable gain for small signal input. All series offer real-time event management through direct connection between PWM, Timer and ADC for motor control application,” ARMDevices.net writes. “Both series are based on the same feature set, the only difference is coming from the Ethernet, CAN support (SAME70 integrates Ethernet and CAN). Atmel offers all series in BGA and QFP from 64 to 144 pins. Small 64-pin pin count option offers an entry level form factor high performance MCU. All series support the extended Industrial temperature range from -40 to 105°C.”

Watch below as ARMDevices.net catches up with Lionel Perdigon, Atmel Product Marketing Manager, to discuss the latest addition to the Atmel | SMART family.

Report: Smart cities will use 1.1 billion connected things in 2015


Smart homes to lead with 294 million smart objects in use this year.


Powered by the Internet of Things (IoT), the smart city of tomorrow will feature intelligent buildings, roads and public transport systems that are connected to each other and its inhabitants through sensors. This real-time information exchange will save people time, reduce environmental impact, lessen traffic and even create value for businesses along the way. Though still relatively new here in the United States, the advent of smart cities has already started taking shape across the world.

10-most-impressive-smart-cities-on-earth-image-3

Smart homes and commercial buildings will represent 45% of all connected objects in 2015 and 81% by the end of 2020, according to a new report from Gartner. The study also estimates that 1.1 billion Internet-enabled items will be used by smart cities in 2015 with that number to rise to 9.7 billion over the next five years.

The majority of IoT spending for smart cities will come from the private sector, explained Gartner Research VP Bettina Tratz-Ryan. This will surely be some great news for technology companies and service providers that stand to benefit most in terms of revenue.

According to the report, there are a wide-range of IoT deployments for on-street and off-street parking guidance, road traffic guidance and traffic flow metering as well. A quick win within transport is the reduction of traffic congestion. California and the UK have already begun implementing radio receivers or sensors that are embedded on a section of highway to diagnose traffic conditions in real time. Another successful use of IoT in the city is smart parking. The city of Los Angeles, for instance, has been deploying new parking meters, parking space vehicle sensors, real-time parking guidance and a full parking management system to influence demand during peak times.

Beyond that, residential citizens will lead the way by increasingly investing in smart home solutions, with the amount of connected things used in smart homes currently at 294 million and projected to hit 1 billion units by 2017. These include smart LED lighting, healthcare monitoring, smart locks and various sensors for such things as motion detection or carbon monoxide. Smart LED lighting will record the highest growth of IoT consumer applications, from 6 million units in 2015 to 570 million units by 2020. As the study reveals, light will migrate from being an illumination source to a communications carrier incorporating safety, health, pollution and personalized services.

martCity

We expect that by 2020, many IoT TSPs will have grown their hardware revenues through services and software by more than 50 percent,” Tratz-Ryan concluded. The researcher goes on to say that smart home security and safety will represent the second-largest service market by revenue in 2017, and that come 2020, the smart healthcare and fitness market will have grown to nearly $38 billion.

Interested in reading more? You can find the entire Gartner report here. Meanwhile, discover how Atmel is powering the IoT by focusing on edge nodes, a category that includes everything from smart home appliances to infrastructures for smart cities.

Cross-board and cross-vendor embedded development with PlatformIO


Ivan Kravets, PhD, Researcher and Software Architect, explains how PlatformIO is a cross-platform code builder and the missing library manager.


We live in a time where the wall between the hobbyist and microcontroller (MCU) world has been completely broken. Just a few years ago, no one could have imagined that MCUs would go on to become popular with people who are not familiar with electronics. Nowadays, you don’t need to have deep knowledge in PCB design, assembly language or become buried under MCU application notes to get your first experience with embedded world.

Moreover, vendors have realized that there is a need to decrease entrance threshold and to propose alternatives to existing professional development kits. It was at this point when popular prototype boards (like the Atmel based Arduino) were conceived. Comfortable board form-factor, rich peripheral and huge community of enthusiasts gave rise to a new trend, which can be called “Embedded Boards for Everybody.”

Still, there is a problem related to programming instruments. It’s excellent that MCU vendors have spent quite a bit of efforts to create rich HDKs/SDKs and comfortable IDEs which allow the performing of hardware debugging and tracing. However, all of these features are of interest mostly for those who have already decided which specific MCU they will use for the project. So, at this point the market has generated another demand: to make cross-MCU development easy. This is where Arduino and its burgeoning community have played an important part: cross-platform processing-based Arduino IDE; simple and easy-to-use wiring-based framework with high-level API; incredible count of shields (sensors, actuators, etc.), and a lot of different libraries which cover significant part of hobbyist tasks. These have all made embedded development much easier. Yet, while Arduino enables development for varying MCUs, it is still a commercial product. As a result, it is inherently restricted to Arduino boards.

Saving time for the task in hand

It doesn’t come as a big surprise today when an interesting embedded project is invented by people who have not had any earlier professional experience with MCUs. I feel that this phenomenon can easily be explained with my motto: “Creativity comes from talent and never from knowledge.” Talented people and those with ideas are interested in quick prototype instruments which don’t require big efforts to use them. Many of these people prefer to concentrate on the task in hand, and don’t want to install too much of additional software, play with confused manual or get used to new additional IDE… So far so good, as many of vendor IDEs do address these issues.

However, what if for your next project, you need some board or MCU which aren’t supported by your favorite vendor? With devices becoming increasingly smaller, wireless and battery-powered, this is occurring more frequently. Then, all of a sudden, you have a problem: development platforms from the different vendors tend to recommend their own IDEs and approaches. Subsequently, you’re likely to have several IDEs installed, each with its own requirements (to make things worse, these requirements sometimes conflict with each other), and with an ongoing switching back and forth. Ouch! It’s not before long that this quickly becomes a major headache, and ironically, headache is exactly what these development platforms aim to avoid.

Developer, meet PlatformIO. PlatformIO, meet developer.

Here is where PlatformIO comes in, an open-source cross-platform code builder and library manager (available on GitHub). After many months of development, we have finally released PlatformIO 1.0 which has been recommended for production use.

I admit that, as one of the authors behind PlatformIO, I cannot be 100% objective when speaking about it, but I’ll try.

PlatformIO allows users to:

  • Decide which operation system they want to run development process on (You can even use one OS at home and another at work.)
  • Choose which editor to use for writing the code (It can be pretty simple editor or powerful favorite IDE.)
  • Focus on the code development, significantly simplifying support for the different development platforms, boards and MCUs.

Cross-platform code builder

platformio-embedded-development

PlatformIO is independent from the platform, in which it is running. In fact, the only requirement is Python, which exists pretty much everywhere. What this means is that PlatformIO projects can be easily moved from one computer to another, as well as that PlatformIO allows for the easy sharing of projects between team members, regardless of operating system they prefer to work with. Beyond that, PlatformIO can be run not only on commonly used desktops/laptops but also on the servers without X Window System. While PlatformIO itself is a console application, it can be used in combination with one’s favorite IDE or text editor such as Arduino IDE, Eclipse, Visual Studio, Vim or Sublime Text.

Alright, so PlatformIO can run on different operating systems. But more importantly, from development perspective at least, is a list of supported boards and MCUs. To keep things short: PlatformIO supports over 100 embedded boards (all boards which are supported by Arduino IDE) and all major development platforms including Atmel AVR and Atmel | SMART, among many others.

How it works

Without going too deep into PlatformIO implementation details, work cycle of the project developed using PlatformIO is as follows:

  • Users choose board(s) interested in project configuration file – “platformio.ini.”
  • Based on this list of boards, PlatformIO downloads required toolchains and installs them automatically.
  • Users develop code and PlatformIO makes sure that it is compiled, prepared and uploaded to all the boards of interest.

Cross-board code and continuous integration

As aforementioned, PlatformIO supports cross-board code development: multiple boards can be selected in a single project, and PlatformIO will apply all respective environments and will compile the code against each of boards within the project. And for the icing on the cake, this feature can be easily integrated with Continuous Integration System (such Jenkins, Travis CI and Circle CI). It should help to ensure that, at any point, a code at least compiles on all target boards, thereby eliminating costly, time-consuming and error-prone process of fixing these cross-platform issues at later stages, when your team members have already forgotten what the code was about.

The missing library manager

platformio-library-manager

With an overall trend heading towards open-source, embedded development is no exception. Indeed, there are countless embedded libraries already available today, such as high-level communication with sensors, actuators or even full-fledged IoT implementations. Nevertheless, every time you need something like it, there is a big underlying question around where to finding this specific library, and how to make it work with your environment.

To address this problem, PlatformIO Library Manager provides an ecosystem for library writers and library users. Using library manifest file (library.json), writers have an ability to describe library. This manifest is not only about such things as authors, description, keywords, and version, but first and foremost about technical information, ranging from location of source code and examples to CVS repository and dependencies. This manifest file is generic enough to be used by other library managers (if somebody else wants to write them).

For the library users (aka developers), PlatformIO provides two ways for searching for libraries. The first way is via Command Line Interface, the other is Web 2.0 Library Search with functionality such as library categories, different framework and platform filters, and advanced search syntax with boolean operations.

PlatformIO Library Manager can be integrated into the most popular IDEs and is capable of extending their functionality, including all-important automated updates of installed libraries. For instance, Arduino IDE benefits of using PlatformIO Library Manager are summarized in the following table:

Table

Conclusion

As noted above, as an author, I cannot be objective when speaking about PlatformIO. However, I am sure that for any kind of cross-board and cross-MCU development PlatformIO provides substantial benefits. PlatformIO takes the hassle out of installing all the tool chains you need, and allows you to build your code for many boards with a single command. PlatformIO Library Manager not only helps you to find and install libraries, but has an option to keep them up to date as well.

And as PlatformIO is an open-source project, you shouldn’t care about price or vendor lock-in. So, what are you waiting for? Give it a try (and if you don’t like it, you’ll get back that zero bucks you’ve paid for it, some restrictions apply, batteries not included).

UPDATE: PlatformIO 1.2.0 is now available. To explore the release history, you can head here.

BBC to give out 1 million devices to kids as part of new initiative


BBC launches a UK-wide initiative to inspire the next generation of programmers and engineers.


It’s no secret that the Maker Movement has transcended well beyond the garages and workspaces of a few tinkerers. The phenomenon has proliferated the walls of schools, libraries, museums and retailers, among countless other establishments. Academic institutions and startups, particularly those seen on crowdfunding sites, have developed new projects in hopes of spurring the pursuit of STEM-related fields for the next generation. Maker Faire attendance is also on the rise as thousands of DIYers come together at one of 80 community events spanning across 10 countries. Looking to continue carrying that momentum, BBC has launched a new project — in partnership with over 50 organizations — which is looking to give a personal coding device to every child in year 7 across the country. That’s 1 million free devices in total to students, generally aged between 11 and 13, as part of the campaign they’re calling “Make it Digital.”

make_it_digital

Back in the 1980s, the BBC launched a Computer Literacy Project which aimed to support the learning of computing — at the time a relatively new concept for a vast majority — in schools and the home. This included a commercial partnership with Acorn Computers to produce a microcomputer as the backbone of the initiative: the BBC Micro. While nine models were eventually made with the BBC brand, the phrase “Micro” is usually used colloquially to refer to the first six (Model A, B, B+64, B+128, Master 128, and Master Compact). Well now, the news giant is reimagining its popular 1980s campaign by introducing its successor, the BBC Micro Bit.

Based on a processor which would appear to be an ATmega32U4, the Micro Bit will give students a physical companion in their path to coding competence. While merely a prototype at this point, it will be a standalone, palm-sized device equipped with an LED display and compatible with the Touch Develop, Python and C++ languages.

_81579433_microbit

Young Makers will then be able to create text via a series of lights as well as devise basic games. What’s nice is that the final version of Micro Bit will feature a Bluetooth link and will be able to sync up with other incredibly-popular boards like Arduino, Galileo, Kano and Raspberry Pi, in addition to other Micro Bits.

According to BBC, the Micro Bit will be distributed later this year, most likely the fall. The program was designed as a response to a shortage within the digital industry, given that nearly 1.4 million professionals will be needed over the next five years. BBC is hoping to aid in building the country’s talent pool and arming them with the requisite coding skills through a range of new partnerships and projects.

Interested in learning more? Head over to the project’s official page here.

iSkin stickers could turn your body into a touchscreen


These Arduino-compatible sensors will turn your skin into a touch-sensitive interface for your mobile devices.


Sifting through a pocketbook for a ringing smartphone during a meeting can be quite embarrassing. Not to mention, trying to precisely tap out a message on your wrist can draw some attention. While modern-day wearables have given users the ability to glance at their calendar, receive texts and pretty much anything else Dick Tracy could’ve envisioned, the usable interfaces offered by these devices tend to be a bit small, thus making it difficult to accurately select buttons or type an email.

640_iSkin-sensor

That may soon be a thing of the past if a new experimental project, which is currently being developed by a team of computer scientists from Saarland University and researchers from Carnegie Mellon University, is able to catch on. Inspired by recent advancements in electronic skin technology, iSkin is a thin, flexible and soft silicone overlay that is worn directly on the skin allowing the human body to act as an input surface for mobile human-computer interaction.

“The human skin is recognized as a promising input surface for interactions with mobile and wearable devices. However, it has been difficult to design and implement touch sensors that can be placed directly on the skin,” the team writes.

The stickers enable a wearer to receive and deliver commands on-the-sly, thereby controlling companion mobile devices just as any other wrist-adorned gadget would. Better yet, should one of them only be needed intermittently, the sensors can be removed, rolled up and easily stowed when not in use. Because of the flexible material used, iSkin can be manufactured in a variety of shapes, sizes and personalized designs.

Pressure

Potential use cases for the stickers include incoming and outgoing calls, controlling music, typing and sending messages, or just anything else typically done on a mobile device. They’re capable of multi-touch functionality and even recognize gestures.

To receive and transmit tactile input, the iSkin houses electrodes sandwiched between the silicone layers. Projected capacitive sensing uses capacitive coupling between the two electrodes, whereas resistive touch sensing relies upon pressure to create a contact through the permeable spacing layer. Bringing a finger close to an electrode reduces the mutual capacitance, while pressure (such as the pressing of one’s finger) creates contact between both electodes and closes the circuit. A black carbon powder connects the electrodes to one another, allowing them to be situated into any design. Meanwhile, the flexible patch is tethered by a ribbon cable to an Arduino-compatible microcontroller (Teensy dev board), which processes the data and drives the sensor.

Layout

“Integrating capacitive and resistive touch sensing, the sensor is capable of detecting touch input with two levels of pressure, even when stretched by 30% or when bent with a radius of 0.5 cm. Furthermore, iSkin supports single or multiple touch areas of custom shape and arrangement, as well as more complex widgets, such as sliders and click wheels,” the recently-published paper reveals.

At the moment, the prototypes are hard-wired to a computer. However, the team aspires to integrate chips that will let the stickers to wirelessly communicate with other output devices ranging from smartphones to health monitors. Intrigued? You can read the project’s paper in its entirety here. By the way, this remind us… what ever happened to the Circet Bracelet?

Are you ready for a smart kitchen?


Here are 5 reasons why the smart kitchen will be a $10 billion opportunity. 


Who remembers the Disney Channel hit Smart House? For those who may not recall, the 1999 flick centered around a family who won a computerized house that ends up taking on a life of its own. While some of the features may have been a bit far-fetched, Disney certainly helped paint a clear picture of the kitchen of tomorrow — one in which can learn its owners’ eating habits through atmospheric sensors and whip up beverages and other snacks instantaneously.

Now 15 years later, a Smart House-like future is coming to fruition. As the ever-evolving Internet of Things continues to experience widespread adoption, one of the areas in the smart home that is expected to see the greatest change over the next decade is, indeed, the kitchen. According to a recent report from NextMarket Insights, the result of this burgeoning technology will make way for a $10.1 billion smart kitchen market by 2020. Running out of milk, eggs or cold cuts? Replenish your stock with just a press of a button. The study, which was conducted back in October, found that out of all connected kitchen appliances, many consumers favor refrigerators that’ll allow them to monitor food inventory with their smartphone.

“Whether it’s food storage, preparation, or the act of cooking itself, the arrival of new technologies will enable consumers to become more efficient, knowledgable and possibly even better cooks in coming years,” explained Michael Wolf, NextMarket Insights Chief Analyst. “As a result, we believe that appliance makers, smart home companies as well as those who provide food to consumers will see both enormous opportunity as well as disruption to their existing businesses with the arrival of the smart kitchen.”

Screen-Shot-2014-12-02-at-10-1.22.58-AM

Surveying over 500 households, the study revealed that the next-gen technologies are already beginning to alter the way consumers interact, prepare and consume their food. Nearly one-quarter (24%) who were self-proclaimed cooks already use a tablet or smartphone “all the time” when in the kitchen to help them prep meals, while another 34% indicated they use a tablet or smartphone “sometimes.”

“Appliance and device makers are integrating smart features at both the high and low end of the device spectrum,” Wolf adds.

It wasn’t simply the notion of smart fridges that accelerated consumers’ appetites for the IoT era. Other notable devices in the connected kitchen that most appealed to them included smart coffee makers, oven ranges and crock pots.

wemo

Writing for Forbes, Wolf recently highlighted a handful of reasons as to why the smart kitchen will, in fact, be a $10 billion opportunity:

1. The technology is already there: Nearly a quarter of cooks already use a mobile device to help in the kitchen.

2. They will reduce waste: With smart kitchen tech, not only can you see what’s in your fridge while mobile, some are beginning to tell us about is about to expire.

3. Technology can make us better cooks: As everything from ovens to thermometers get connected, users will be able to easily tap into cooking guide apps and datasets.

4. They will make us all healthier: Future devices will enable us to closely monitor and synchronize food consumption with our health and fitness routines, as well as help those with very specific dietary restrictions monitor what’s really in our food.

5. They will make us safer: Compliance organizations are already working closely with manufacturers to enable smart connectivity to allow for remote shut off of appliances like stoves and ranges.

b7b1361ad5e415012c28984e283d0717

So, how close are we to a Jetsons-like world? If it’s up to companies like Whirlpool, GE, LG and Belkin, soon… very soon. While Whirlpool says some of the concepts may only be five years out from ubiquity, others like LG have already started to make the smart kitchen a reality. Take their latest connected fridge for instance, which uses its companion HomeChat app to communicate with an owner’s mobile device to let them know what items are needed while at the grocery store. Using its built-in camera positioned at the top of the main compartment, users can now easily monitor exactly what’s inside their fridge right from their smartphone. Or, GE, who has not only launched a wireless induction cooktop but is retrofitting older appliances with Wi-Fo modules. Another example, Mr. Coffee. Belkin and Jarden joined forces to debut their latest automatic, web-enabled coffee maker. Based on WeMo technology, the 10-cup Mr. Coffee Smart Optimal Brew can be remotely controlled right from bed via from any Android or iOS device.

Intrigued? Here’s a look at just some of the latest once-ordinary kitchen “things” given new “powers.”