Sunday, July 5, 2015

Arduino Zero Has Arrived!

The long awaited Arduino Zero has arrived! This is the version from CC not SRL. Looks like some retailers such as Adafruit has/had the SRL version already. Wonder if they will switch, perhaps since they began manufacturing for Arduino in the U.S.? Shipping via USPS with regular mail was painstakingly slow, especially since they are rolling out phase two of their plan. It arrived five days later than scheduled, but alas, that is my error for not choosing USPS priority mail. I could go on and on about their delivery times and dealings, but it would mean writing another post about it. 

Anyway, now that rant is out of the way, I can rant about the poor packaging. This is my first order directly from the Arduino U.S. store, so I had no prior expectations. What I received was a standard manilla padded envelope with the familiar Arduino box inside. Upon removing the small box, it had been noticeably smashed at least once. I immediately checked to see if the headers were damaged. Thankfully the Zero was fine. However, the lack of protected packaging could have easily made that a different story. The box they use isn't crushed-proof, I believe it is just their standard retail packaging. To top it off, the Zero inside has zero antistatic protection. None, whatsoever. I was in a bit of shock, especially since Arduino.cc is well known. It would cost them less than pennies to at least outfit the Zero with a antistatic bag. Actually, come to think of it, all of their products should be in antistatic bags, in my opinion. (If you've seen this from Dave Jones' EEVblog, then you know what I'm talking about!)

Not all is lost, though! Now down to the good stuff bout what was inside the small box: the Arduino Zero. It is the first Arduino with the Atmel Embedded Debugger (EDBG). Here is a video with a good overview of using the EDBG with the Zero. https://www.youtube.com/watch?v=Bjr6BBHXuDw.  This is like the Arduino Due in price and that it gives you a 32bit ARM microcontroller, however, not quite as large - it's much smaller like the UNO and it has the Atmel Embedded Debugger.

Arduino Zero and Packaging
Mine arrived as pictured. One thing to note is the JTAG headers for the Embedded Debugger/serial link is populated but the SWD interface for connecting another target board is not. If you need it you will need to get the smaller 1.27mm headers. Looks like there is an adapter kit on Amazon.

Differences vs other Arduino's

  • 32-bit core that allows operations on 4 byte wide data within a single CPU clock. (For more information see the int type page).
  • CPU Clock at 48MHz
  • 12 channels DMA controller that can relieve the CPU from doing memory intensive tasks
  • 32 bit Real Time Counter (RTC) with clock/calendar function.
  • 32 bit CRC generator
  • Two-channel Inter IC Sound (I2S) interface
  • Peripheral Touch Controller (PTC)

Summary

MicrocontrollerATSAMD21G18, 32-Bit ARM Cortex M0+
Operating Voltage3.3V
General purpose I/O Pins20, all of which can do digital I/O and all except for 2 and 7 can be used as PWM output
UART 1
Analog Input Pins6, 12-bit ADC channels
Analog Output Pins1, 10-bit DAC
External InterruptsAvailable on all pins except pin 4
DC Current per I/O Pin7 mA
Flash Memory256 KB
SRAM32 KB
EEPROMNone (part of the Flash memory may be used as a non-volatile storage with some limitations*)
Clock Speed48 MHz

*Copied from http://www.arduino.cc/en/Main/ArduinoBoardZero


These are some very nice features that I am looking forward to trying out. Before we get to playing, we have too see how much power this thing uses. The Arduino UNO can be setup to consume very little power. Let us find out what the extra processing power will cost us...


Power Usage

For all of my testing, I will be using the USB Tester OLED Backpack. This will allow me to see power usage over the life of a sketch versus instant like all of the cheap meters.  Click the above link for more information on a quality meter. ;)


Arduino Zero and USB Tester

Blink Sketch

Using  Debug USB Port - This port only start to draw 100mA+ when D-/+ is connected. Otherwise it is the same power draw as the native USB port.
Arduino Zero - Blink Sketch - Debug Port
Using Native USB Port
Arduino Zero - Blink Sketch - Native USB Port

Uploading a Sketch

Uploading over debug port. You can see a spike at the beginning but over all doesn't use much more power.
Arduino Zero - Uploading Blink - Debug USB Port

I wanted to try sleep mode but with this being a new development board, I will have to do some research on enabling sleep mode. So we will leave that to another post. Hopefully this will give you a little bit of an idea of power usage vs other Arduino's and help you choose the right chip for the job. Catch ya next time!


No comments:

Post a Comment