Showing posts with label Arduino. Show all posts
Showing posts with label Arduino. Show all posts

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...

Monday, March 31, 2014

Arduino Yún - Power Usage

Last year during Black Friday weekend, I broke down and bought an Arduino Yún from Pololu. They had some great sales and I just couldn't pass it up. If you haven't heard of Pololu, go check them out right now. I'll wait till you get back. See? They have great electronics and tons of robot stuff. I love their power boards, boost\buck boards and ones that do it at the same time. Anything you need they have it.

Arduino Yún with USB Tester

Saturday, November 16, 2013

Adruino and working with limited memory

Check out this great post about how Arduino memory works and how to work with limited memory. This includes tips of ways to trim the fat from your program.




http://learn.adafruit.com/memories-of-an-arduino

Sunday, October 6, 2013

TinyISP-Tuner

In my recent experience with the ATtiny2313, I had problems with the serial communication at 8Mhz. Which in turn my research led me to learning about tuning the internal oscillator. The ATtiny is a small microcontroller by Atmel, the same company that makes the ATmega328p in the Arduino UNO. It doesn't have all the features but it is cheap and great for embedding in projects. Here is a link to more info on them: http://www.atmel.com/products/microcontrollers/avr/tinyavr.aspx . The great part is that there is a add-on for the Arduino IDE called Arduino-Tiny. This way you can use the same code with the ATtiny's.

After some trial and error and some help from the forms, I was able to figure out how to tune the ATtying2313 and get reliable serial communications. As a result I decided to design a kit that makes it much easier to tune.



The TinyISP-Tuner connects to your computer via a FTDI cable and has an ATmega328p as the controller. The ATmega328p is running the TinyISP sketch with tuning and KnockBang. KnockBang allows you to pass serial debug info via SPI over the FTDI cable to your computer. Very convenient. When tuning is enabled there is a 16ms pulse sent out to the ATtiny you are programming. Plus you can program the ATtiny once it is tuned with your sketch. All with this one kit.


Supports ATtiny84/44/24, ATtiny85/45/25, and ATtiny2313/4313.

Kit Contents:
• 1x PCB
• 1x 6pin Right Angle header for FTDI programming
• 1x Atmega328p DIP (Pre-programmed with TinyISP configured for tuning)
• 1x 16Mhz Resonator
• 2x 0.1uF Capacitor
• 1x 10K Resistor
• 1x 330Ohm Resistor
• 1x Red LED
• 1x 20pin socket
• 1x 14pin socket
• 1x 8pin socket
• 1x 28pin socket



Check out the guide: http://friedcircuits.us/docs/tinyisp-tuner/
If you want to buy one: https://www.tindie.com/products/FriedCircuits/tinyisp-tuner/

Monday, November 26, 2012

100th Post: Giveaway Winner!

We are thrilled to announce the winner of the 100th post giveaway!

Congratulations to Michael Horne! We will be in contact with you. (Note, you have forty-eight hours to respond, or the prize will be forfeited.)

Check out the video below to see the setup of the random number generator using an Arduino. We decided to select three winners, in case we do not receive a response from the first person, etc.


I used a brand new, unopened Arduino Leonardo from my stash and used a graphic LCD screen that was on SBot2. I tried to use the included random function, but the results wouldn't work for the giveaway as randomization is difficult in general. So I came across this other library, which you can access here, TrueRandom. Here is a link to the code used for the random number generator and LCD output.

Thanks again to all who participated. We look forward to offering other giveaways!






Tuesday, November 20, 2012

RIP: Arduino UNO 11/19/2012

It saddens me to write this post after the events of last night. This Arduino UNO was the beginning of it all. It started me on a journey that would change my life forever and has taught me many things over the years. From blinking LEDs to controlling a robot, to many late night projects. It has always been there for me, no matter the task at hand.  It gave its life in the line of duty for betterment of electronics and the protection of my USB port. Its sacrifice will not be in vein but help further development of many late night projects. It will be missed but never forgotten.

RIP 2009-Nov 19 2012
Have you had a similar loss?

Thursday, November 15, 2012

100th Post Giveaway! CLOSED

The 100th post has arrived! So to celebrate, we're having a giveaway! I wrote about it earlier, and I still cannot believe that it is finally here. I've wanted to extend my gratitude to those who follow my blog here, and to the electronics community, especially when it comes to Opensource.

Thanks to our friends over at DFRobot for sponsoring this giveaway! 
A little background about them: as an online shop, they specialize in robotics. They make and sell a variety of boards (offering PCB services), tools, components, kits, etc. If it's about robots, chances are, they've got it. They also plenty of other electronic items. If you've yet to hear about them, go check them out!

The prize: Dreamer Nano V4.0

Source: DFRobot, with editing by heartsy

Description from DFRobot:

The Dreamer Nano V4.0 is a surface mount breadboard embedded version of the ATMEGA 32U4 with integrated Micro USB. It has everything that Arduino Leonardo has (electrically).Physically, it is just missing power jack to save space.

Using the ATmega32U4 as its sole microcontroller allows it to be cheaper and simpler. Also, because the 32U4 is handling the USB directly, code libraries are available which allow the board to emulate a computer keyboard, mouse, and more using the USB-HID protocol!
The Dreamer Nano v4.0 is compatible with most Nano shield in the market. It's suitable for projects that require a compact size controller system.

Specifications
  • Microcontroller:ATmega32u4
  • Operating Voltage:5V
  • Input Voltage (recommended):6.5-12v (VIN) / 5v (Micro USB)
  • Input Voltage (limits):6.5-12V
  • Digital I/O Pins:20
  • PWM Channels:7
  • Analog Input Channels:12
  • DC Current per I/O Pin:40 mA
  • DC Current for 3.3V Pin:50 mA
  • Flash Memory:32 KB (ATmega32u4) of which 4 KB used by bootloader
  • SRAM:2.5 KB (ATmega32u4)
  • EEPROM:1 KB (ATmega32u4)
  • Clock Speed:16 MHz
  • Compatible with most of Nano shield
  • Size: 45x20x20mm



We think this prize makes a great starter microcontroller that is breadboard-able, and Arduino Leonardo compatible.


How to enter the giveaway:
  • One comment, answering: How did you get started into (or what brings you to) electronics?
  • Winner will be picked with a random number generator using an Arduino.
  • The generator will be recorded in action & uploaded on the blog, in a new post.
  • Be sure to log in when you comment. Anonymous types will not be accepted.
Giveaway is now until Thursday, November 22, 2013 at 11:59 PM PST. Winning announcement will be held that same weekend.

Should you have any questions, please send me an e-mail instead of leaving a comment. Good luck!



Thursday, October 4, 2012

ARM-Powered Arduino DUE



Far removed from the legions of 3D printers featured at this year’s Maker Faire in New York was a much smaller, but far more impressive announcement: The ARM-powered Arduino DUE is going to be released later this month.
Instead of the 8-bit AVR microcontrollers usually found in Arduinos, the DUE is powered by an ATSAM3X8E microcontroller, itself based on the ARM Cortex-M3 platform. There are a few very neat features in the DUE, namely a USB On The Go port to allow makers and tinkerers to connect keyboards, mice, smartphones (hey, someone should port IOIO firmware to this thing), and maybe even standard desktop inkjet or laser printers.
The board looks strikingly similar to the already common Arduino Mega. That’s no mistake; the DUE is compatible with existing shields, so connecting a RAMPS board for your 3D printer should be a snap.
Here’s a PDF the Arduino and Atmel guys were handing out at their booth. A few DUE boards have already made it into the hands of important people in the Arduino community, including 3D printer guru [Josef Prusa]. Sadly, the folks at Arduino didn’t think media personalities needed a DUE before its release, so you’ll have to wait until we get our hands on one later this month for a review.



Source: Hack A Day

Tuesday, September 11, 2012

Labor Day Weekend: LED Audio Meter

Two weeks ago I received some MAX7219 samples from Maxim. So this past labor day weekend was the perfect opportunity to try one out. I started out by assembling another Atmega Lite from Gizmoz USA. I have three of them, of which this is the second to use. My friend bought me two and I bought another one while I was visiting Portland, OR last year. These are great, cheap and breadboard usable, or good to embed in a project like I have done with my Smart Outlet. Plus you can use the Arduino bootloader. So the first thing was to get one LED to light up, which I thought would be easy. Ha!