World Maker Faire in NYC was great, see you in Rome!

on Thursday, September 26, 2013

Banzi and Volunteers

Around 70.000 people attended the 2013 World Maker Faire, NYC this past weekend.

We want to thank all the people vising the Arduino booth (in the Arduino Zone powered by Atmel) and give a special thank to all the amazing volunteers helping us transmitting the passion for making, discovering and tinkering  with Arduino boards.  Temboo team spent the whole weekend with us: it was their first time at MakerFaire and they were astonished at the positive energy of the event.

Take a look at the collection of pictures below to discover also the cool friends coming by, like LadyAda, Phil Torrone, Joey Hudy, Josef Prusa… (if you have pictures to share use the hashtag #arduino or post the link in the comments below)

We’ll be back soon at Maker Faire Rome! Have you booked your ticket yet? Click and book it now with a discount code.



View the Original article

The Yún Way: less time debugging and more time inventing

on Wednesday, September 25, 2013

Back then secret device, back then secret Yun.

Today I’m happy to welcome Sven Kräuter as guest blogger on the Arduino Yún, as part of a series of posts exploring different unique features of our new board.

Sven works with Julia Kümmel focusing on agile & lean processes for soft- and hardware product development and together create projects at the intersection of the physical and the digital world, mostly using Arduino. His post below was orginally published at this link.

—————–

This summer I had a speaker engagement at the Codemotion conference in Berlin which I really enjoyed for many reasons. For starters Jule & me participated in an inspiring wearable computing workshop where we met Zoe Romano for the first time. The next day I talked about a possible and easy way how to build the internet of things.

Presenting thoughts on & actions how to build the IOT.

After the talk it seemed to appear like a a good idea to Zoe that I should get a sneak peek at some new Arduino hardware. There weren’t any more details since it was still secret back then. Of course it didn’t took me much time for consideration since I really love Arduino for making our hardware prototyping so much easier. I happily agreed on checking out this new mysterious device.

The talk was about how to connect anything to the internet using an open source framework I initiated called the Rat Pack, so I assumed it had to do something with online connectivity or that something had to be connected to the internet. Turns out it was about both ;-) .

Making things talk with each other online (source: slideshare).

When Zoe told me about the Arduino Yún I was immediately stoked: an Arduino Board equipped with wi-fi, plus being able to access a small real time Linux system. How awesome is that? Exactly. I couldn’t wait to get hold of the Yún, and when it finally arrived it became quite obvious to me that I had a well thought and rounded product in my hands. Before I really knew what hit me this thing took shape on our balcony (see pic at the beginning of this post)

I’ll skip the amazing deeper tech details if you don’t mind (Uploading via wireless LAN, remote debugging, SSH access, Ruby on your Yún…). If you do mind please tell me, I’m glad to blog about them too ;-) . I’ll just give you a rough outline of the journey I went through with the Yun so far.

The first idea was to integrate it into the Rat Pack ecosystem. Adapting the Arduino client code of the rat pack was fairly easy, it simply uses Linux shell commands on the Yun instead of putting the HTTP command together in the Arduino C code. It’s just a small detail but dramatically reduces the complexity of your project. You don’t have to implement the HTTP calls yourself, you can rely on the work horse that Linux is.

Being inspired by this first success with the Yún I thought maybe I could reduce complexity of the prototype of a device that we use to welcome guests at our place. I’m talking about the Bursting Bubbles Foursqaure Switch.

Foursquare & Arduino powered soap bubble machine.

When you check in to our balcony with foursquare, a soap bubble machine starts filling the air with bursting bubbles. The first prototype uses Arduino connected to an XBee Wifly to control the soap bubble machine and a Rat Pack server that handles the Foursqaure API.

Initial approach with lots of moving parts(tm).

Quite complex and actually and as you might have guessed the Yún helped reducing both the software and the hardware complexity drastically. Adding it to the project made it possible to cut off a lot of fat. Actually it now only consists of the Yun connected to the soap bubble machine.

The Yun way.

What’s true for the hardware is also true for the software. Have a look at the code base. Reduced comlpexity is achieved by processing the response of the Foursquare API on Linino as opposed to letting the Ruby server take care of it. And although there’s much debate when it comes to JSON processing with regular expressions in general, I just used grep and a matching regexp to extract the information from Foursquare’s JSON response. The parts marked green are the only ones necessary after adding the Yun to the setup.

Losing some pounds. Or rather kilobytes…

For us at making things happen the Yún will also be the platform of choice for our Internet Of Things workshops. Until now we use Arduinos and XBee WiFlys since they turned out to be the most robust solution for introducing a group of people to the principles of connecting things to the internet.

Current ‘IOT Basics’ workshop setup.

Although this works most of the time there is still time needed to wire things up and debug the hardware the participants build. With the Yún we can reduce the time necessary for setting things up and debugging the custom setup and use it to concentrate on spreading our knowledge on the subject. Actually you only need two wires for the basic Rat Pack example when using the Yún:

Future workshop setup: drastically reduced wiring effort.

So on the bottom line I see the Arduino Yún as a major milestone in making the internet of things available to a broader audience and empowering fellow makers and tinkerers to spent less time debugging and more time inventing.

Less complexity = more time for creativity (source: twitter).

It will also make our workshops far less complex and let the participants concentrate less setting things up and focus on their creativity.

I did not use all of it’s features yet, I’m more than curious to explore more of it. The feature I’ll focus on next is the possibilities of actually using the pins of your Arduino via RESTful web service. I guess I’ll keep you posted about that. Thanks Arduino for this awesome device and thanks for letting me have a look at it a little earlier. It seems like the beginning of a wonderful friendship…



View the Original article

Come and visit us at World Maker Faire in New York City this weekend!

on Saturday, September 21, 2013

World Makerfaire 2013

This year, once again we are participating at World Maker Faire for the whole weekend. You can come and visit our booth at the Hall of Science. We’ll have  4 hands-on demo tables allowing you to know more about Arduino boards, try using the IDE and experiment with the hardware yourself.
We’ll be demonstrating the new Arduino Yún and how to use Temboo. We also set up a special table to experiment with the Arduino Robot and allow visitors to try its wonderful capabilities live.

On Saturday afternoon there’ll be a couple of presentations you can attend:

- Massimo Banzi: The state of Arduino
Where: Innovation Stage
When: Saturday 2:30 PM    3:00 PM

- Michael Shiloh: Getting Started With the Arduino Yún
Where: Electronics Stage
When: Saturday    4:30 PM    5:00 PM

Looking forward to see you all at the Electronic Pavillion, ZONE C (check out the Makerfaire MAP in PDF)

World Makerfaire 2013



View the Original article

Talking about the “Evolution of Microcontrollers” at the New York Hardware Innovation Workshop

on Friday, September 20, 2013

Hardware Innovation Workshop 2013

Make Magazine published a short report of the panel taking place at the Hardware Innovation Workshop, yesterday in New York City. Massimo Banzi and Jason Kridner, co-founder of BeagleBoard, were on the stage talking about the evolution of microcontrollers:

Makers love to develop on their favorite microcontrollers. The creators behind two of the most popular took boards the stage at the New York Hardware Innovation Workshop (HIW) in a panel moderated by MAKE’s own Matt Richardson. Although makers might like to argue about which is the best platform, there was plenty of common ground for these two panelists.

Massimo Banzi, Co-Founder of the Arduino Project, began the session with a short discussion on how and why Arduino got started.

“Every time you design a system to do everything, you end up with a system designed to do nothing,” Massimo says. “The challenge is to build a platform that solves a simple problem for a specific group of people: beginners for example.”

Keep reading  the article on Make.

Evolution Of Microcontrollers



View the Original article

The new Arduino Robot is now in the store!

on Thursday, September 19, 2013

Arduino Robot

We are pleased to announce the availability of the Arduino Robot in our store and distributors worldwide, starting from 189€.

Designed in cooperation with Complubot, 4-time world champions in the Robocup Junior robotics soccer, the Arduino Robot promises endless hours of experimentation and play.
It is a self-contained platform that allows you to build interactive machines to explore the world around you.

You can use straight out of the box, modify its software, or add your own hardware on top of it. You can learn as you go: the Arduino Robot is perfect for both the novice as well as those looking for their next challenge.

To further explore the Arduino Robot, check out the documentation to getting started with it and  a collection of examples and tutorials that will quickly show its great features.

The Arduino Robot is the result of a collective effort from an international team looking to make science and electronics fun to learn. Read the article about the history of the Robot on Make Zine by David Cuartielles .

Check it out in the Arduino Store >> (This product is  available with UK Plug, US Plug and IT Plug)

Arduino Robot



View the Original article

Playing with the new Arduino Yún at the headquarters in Torino

on

arduino yun @ designboom

Designboom published the second part of the report after visiting Officine Arduino in Torino. This time the focus is on the Arduino YÚN!



View the Original article

MakerFaire Rome is getting closer: get your discount ticket!

on Monday, September 16, 2013

Makerfaire Rome

The greatest show and tell on earth is coming to Rome next October and it’s now time to organize and register to the events!

This is the agenda of MakerFaire Rome:

  • Thursday 3rd October- Opening Conference “How to Remake the World” with special guests like Joey Hudy, Dale Dougherty,  Leah Buechley, David Gauntlett and many more! Get your free ticket >>
  • Friday 4th October – Educational Day – Entrance for registered schools only – If you are a teacher and want to visit MakerFaire with your class book your reservations here (only in italian)
  • Saturday 5th and Sunday 6th October – MakerFaire Rome days with over 200 projects from all over the world will be on show, including workshops, live demonstrations, and conference panels. Buy your ticket now >> (if you register by the 20th of September there’s a promotional code)

Check out the video below to see why you shouldn’t miss this event:



View the Original article

Making a Gmail Lamp with Arduino Yún

on Friday, September 13, 2013

Arduino Yún

I am delighted to welcome Stefano Guglielmetti who, together with other Arduino friends/supporters, accepted to start experimenting with  Arduino Yun and write a blog post to present some hands-on results. Starting today we are going to host a series of guest bloggers exploring different unique features of our new board.

Stefano, has more than 16 years of experience in the Internet industry, working both with small companies and start-ups up to very big and complex environments. His post below was orginally published at this link.

————-

Finally!!! Finally I put my hands on a brand new  Arduino Yún. I’ve been waiting for this a long, loooong time. I’ve been playing with Arduino since the “diecimila” model came out and I, as a lot of people, always suffered the lack of connectivity and of real computing power. I tried to solve some of these problems using RaspberryPi and/or Electric Imp, but I always missed the Arduino approach… easy, lots of shields and Arduino ready parts, a lot of documentation, a strong community and the freedom of Open Source.

Now one of my dreams came true, and every time I go deeper into the discovery of the Yún’s capabilities, I find something amazing, very smart and very well done.

I won’t describe the platform itself, as many articles talking about that are already published and there will be many more to come. I’ll start directly with a real life example, in just a few hours I finally built something really, really useful to me, something I already built several times in various ways but none of which really satisfied me.

The task is pretty simple, and I believe it will be very useful to many people: I need to be alerted in real time when I receive some important emails. Not all the emails: we provide customer care for many clients, with different SLAs, and I need to be alerted only for the most important ones. Moreover, sometimes I look forward to receiving a precise email… a shipment confirmation, a mail from a special someone… I need something flexible, eye catching, that doesn’t depend on my computer or my cellphone (that always has only 1% battery)

So I decided to build a GMail Lamp and Arduino Yún was the perfect choice (and now that I built it, I can confirm that. It is perfect)

The working principle is very straightforward: On GMail, I defined a new label, so I can quickly change the rules for the messages that will go under it, then I tell to Arduino Yún which label to watch for (via REST APIs… amazing) and that’s it! The lamp (actually only just a led, the lamp will come in the future) turns on every time I get new messages under that label. It’s the bat-signal principle! :)

LED Display with Arduino Yún

Okay, now let’s get a bit more technical… how did I do it?

The hardware

  • An Arduino Yún, and it must be connected to the internet.
  •  A LED (or a relay if you want to turn on a real lamp, as I will do in the future)

This is the connection scheme (supersimple)

The LED goes on Digital Pin 13
The LED Display uses pins 10,11,12 and, obviously, GND and +5V

Schematic - Arduino Yún

Ok, the hardware is ready. When you will program the Yún for the first time, even if you can program it over the wifi network, I suggest you use the serial port via USB because it’s faster and I still use the serial port to debug (even if you have a brand new Console object :) . But it’s just a personal choice.

Now, the Code

Even if it’s short, I think it’s very interesting because I used many new features of the Yún. I’m not going to describe all the code, that you can freely download or fork from GitHub (https://github.com/amicojeko/Arduino-Yun-Gmail-Check). I’ll try to describe only the parts that involve brand new code and that are peculiar of the Yún

Let’s start from the beginning

#include 

With the Process library, you can run some code on the Linux side of the Yún and catch the stdout on Arduino. It’s amazing because you can delegate to Linux all the dirty jobs and the heavy computing. In this case, I use the Linux “curl” command to get the ATOM feed of my label from GMail.

The Process library also includes the Bridge library, that allows you to pass information between the two sides of the Yún (Linux and Arduino) using a key/value pairing. And it gives you the power of REST APIs, I use it to configure the label to observe.

#include 

With this library, you can use the inernal memory or a micro SD card/USB key for storage. All these features are native on the Yún!

#include "LedControl.h" 
/* Downloaded From http://playground.arduino.cc/Main/LedControl */

I use this library to control the 7 segment LED Display

const int ledPin = 13;

I’ve used the pin 13 for the led. As I told you before, you can replace the LED with a relay in order to turn on and off a real lamp!

const char* settings_file = "/root/gmail_settings\0"; 
/* This is the settings file */

I’m saving under “/root” cause /tmp and /var will be erased at every reboot.

Bridge.get("label", labelbuffer, 256);

This is a supercool line of code that uses an übercool Yún’s feature. I’m telling Arduino to listen for a REST call on the URL http://arduino.local/data/put/label/LABEL

When I get some data, it will put the value of LABEL in the localbuffer. The localbuffer was initialized like that

char labelbuffer[256];

That means that you can actually talk with your Arduino while it runs projects! You can get or put variables, you can finally make dynamic projects! I used it to tell Arduino which label to observe, but I can, and I will go further, I promise.

label = String(labelbuffer);
File settings = FileSystem.open(settings_file, FILE_WRITE);
settings.print(label);
settings.close();

This is cool too. Using the FileIO object, I save the label in a local file on the Linux side of Arduino, so when I will turn it off and on again, It will remember my settings.

File settings = FileSystem.open(settings_file, FILE_READ);
while (settings.available() > 0){
char c = settings.read();
label += c;
}
settings.close();

This is how I read a file from the filesystem.

Process p;

p.runShellCommand("curl -u " + username + ":" + password + "
\"https://mail.google.com/mail/feed/atom/" + label + "\" -k --silent |grep -o \"
[0-9]*fullcount>\" |grep -o \"[0-9]*\"");

while(p.running()); // do nothing until the process finishes, so you get the whole output
int result = p.parseInt();

This is another bit of Yún’s magic. I run the curl command to get the ATOM feed of a specific label, and then I parse it with the grep command, and finally I get the number of unread messages for that label. Even if on the Yún’s Linux stack there are both Python and Lua, I thought that this solution was the most simple and stupid, and I love to KISS.

That’s it, now i just have to turn the LED on and to display the number of unread messages on the LED Display…

In a single day I learned how to use the Bridge library to get data from REST webservices, how to save and load data from the Linux filesystem, and how to run processes on the Linux side and get the STDOUT results. I already knew how to use the LED Display but I hope that someone learned something new even about that :)

Now I will build the actual lamp, improving both the Hardware and the Software sides, I will make it gorgeous and fully configurable, and I will keep you informed about that!
Cheers to everybody and happy hacking!

——

Text and pictures by Stefano Guglielmetti



View the Original article