MySQL for the Internet of Things

(Steven Felgate) #1

ChApTEr 2 ■ hArdwArE for IoT SoluTIonS


The board comes equipped with a USB host port so you can write sketches to access devices via USB
such as a keyboard or mouse.
The Arduino Zero is an excellent choice for most Arduino projects and can solve a number of issues
with memory and performance using the older boards. While not a replacement for poor or inefficient
programming, the Arduino Zero can improve solutions that require more processing power and, more
importantly, more memory.


■Tip The Arduino Zero runs on 3.3V. Take extra care when using shields and connecting components to


ensure you do not damage the board.


While this is the newest Arduino board in my portfolio of microcontrollers, I have used this board to test
sketches that require more memory. Indeed, it has already proven to be an excellent choice for a node in my
IOT solutions where I aggregate or augment the data. The added memory means I can also issue queries on
the database server for looking up values for calculations.
You can find specific documentation for the Arduino Zero at http://arduino.cc/en/Main/
ArduinoBoardZero.


Arduino Yún


The Arduino Yún is a very different Arduino board. While it is and supports use as a normal Arduino
board (you can run the same sketches), the Yún has two processors: the Atmel ATmega32U4 is a Leonardo-
compatible microcontroller, and the Atheros AR9331 runs a scaled-down version of Linux and the OpenWrt
wireless stack.


Figure 2-1. Arduino Zero

Free download pdf