Tuesday, July 30, 2013

The Arduino Starter Kit Video Tutorials

A selection of video tutorials made by Massimo Banzi(Arduino co-founder) for creating projects using the Arduino Start Kit.

The Arduino Starter Kit (Official Kit from Arduino with 170-page Arduino Projects Book)

The Official Arduino Starter Kit is here! This kit walks you through the basics of using the Arduino in a hands-on way. You'll learn through building several creative projects. The kit includes a selection of the most common and useful electronic components with a 170-page book of 15 projects. Starting the basics of electronics, to more complex projects, the kit will help you control the physical world with sensor and actuators.

The projects in the kit are:

- 01 : GET TO KNOW YOUR TOOLS an introduction to the concepts you'll need to use this kit
- 02 : SPACESHIP INTERFACE design to control panel for your startship
- 03 : LOVE-O-METER measure how hot-blooded you are
- 04 : COLOR MIXING LAMP produce any color with a lamp that uses light as an input
- 05 : MOOD CUE clue people in to how you're doing
- 06 : LIGHT THEREMIN create a musical instrument you play by waving your hands
- 07 : KEYBOARD INSTRUMENT play music and make some noise with this keyboard
- 08 : DIGITAL HOURGLASS a light-up hourglass that can stop you from working too much
- 09 : MOTORIZED PINWHEEL a color wheel that will have your head spinning
- 10 : ZOETROPE create a mechanical animation you can play forward or reverse
- 11 : CRYSTAL BALL a mystical tour to answer all your tough question
- 12 : KNOCK LOCK tap out the secret code to open the door
- 13 : TOUCHY-FEEL LAMP a lamp that responds to your touch
- 14 : TWEAK THE ARDUINO LOGO control your personal computer from your Arduino
- 15 : HACKING BUTTONS create a master control for all your devices!

Once you've mastered this knowledge, you'll have a palette of software and circuits that you can use to create something beautiful, and make someone smile with what you invent. Then build it, hack it and share it. Because Arduino is you!

Sunday, July 28, 2013

Arduino Esplora Board

The Arduino Esplora is a microcontroller board derived from the Arduino Leonardo. The Esplora differs from all preceding Arduino boards in that it provides a number of built-in, ready-to-use setof onboard sensors for interaction. It's designed for people who want to get up and running with Arduino without having to learn about the electronics first.

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

Like the Leonardo board, the Esplora uses an Atmega32U4 AVR microcontroller with 16 MHz crystal oscillator and a micro USB connection capable of acting as a USB client device, like a mouse or a keyboard.

In the upper left corner of the board there is a reset pushbutton, that you can use to restart the board. There are four status LEDS : ON [green] indicates whether the board is receiving power supply L [yellow] connected directly to the microcontroller, accessible through pin 13 RX and TX [yellow] indicates the data being transmitted or received over the USB communication

The board contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable to get started.

The Esplora has built-in USB communication; it can appear to a connected computer as a mouse or keyboard, in addition to a virtual (CDC) serial / COM port. This has other implications for the behavior of the board; these are detailed on the getting started page.

The board includes: Analog joystick with central push-button, 4 push-buttons, Linear pot, mic, light sensor, temp sensor, 3-axis accelerometer, buzzer, RGB LED, 4 TinkerKit (2 In, 2 Out), TFT display connector

Arduino Esplora Board

Arduino Esplora Board

Arduino Esplora Board

For a step-by-step introduction to the Esplora, check out the Getting Started with Esplora guide.

RHex the Parkour Robot

Friday, July 26, 2013

Read online: Python Cookbook, Third Edition, By David Beazley and Brian K. Jones

Python Cookbook, Third Edition
By David Beazley 
and Brian K. Jones

Python Cookbook, Third Edition
Python Cookbook, Third Edition
If you need help writing programs in Python 3, or want to update older Python 2 code, this book is just the ticket. Packed with practical recipes written and tested with Python 3.3, this unique cookbook is for experienced Python programmers who want to focus on modern tools and idioms.

Inside, you’ll find complete recipes for more than a dozen topics, covering the core Python language as well as tasks common to a wide variety of application domains. Each recipe contains code samples you can use in your projects right away, along with a discussion about how and why the solution works.

Topics include:
- Data Structures and Algorithms
- Strings and Text
- Numbers, Dates, and Times
- Iterators and Generators
- Files and I/O
- Data Encoding and Processing
- Functions
- Classes and Objects
- Metaprogramming
- Modules and Packages
- Network and Web Programming
- Concurrency
- Utility Scripting and System Administration
- Testing, Debugging, and Exceptions
- C Extensions

link: http://chimera.labs.oreilly.com/books/1230000000393

Wednesday, July 17, 2013

4th Gen Intel Core

4th Gen Intel® Core™ Overview Animation: An overview of the 4th Gen Intel® Core™ processor family. This animation focuses on the features and benefits that 4th Gen brings to you, including a great graphics experience, all-day battery life, and exceptional responsiveness.

What's Changed Between 3rd Gen and 4th Gen Intel® Core™ processors? This animation focuses on the differences between 3rd Gen Intel® Core™ processors and 4th Gen Intel® Core™ processors, with special attention paid to the improvements in Intel® HD Graphics, battery life, and new form factors like convertible Ultrabook(tm) systems.

Tuesday, July 16, 2013

Generate pseudo-random numbers in Arduino

In Arduino, call random() function to generate pseudo-random numbers.
  • random(max)
  • random(min, max)
min - lower bound of the random value, inclusive (optional)
max - upper bound of the random value, exclusive

a random number between min and max-1 (long)

Arduino in Action

Arduino in Action
Arduino in Action
Arduino in Action is a hands-on guide to prototyping and building electronics using the Arduino platform. Suitable for both beginners and advanced users, this easy-to-follow book begins with the basics and then systematically guides you through projects ranging from your first blinking LED through connecting Arduino to devices like game controllers or your iPhone.

About the Technology

Arduino is an open source do-it-yourself electronics platform that supports a mind-boggling collection of sensors and actuators you can use to build anything you can imagine. Even if you've never attempted a hardware project, this easy-to-follow book will guide you from your first blinking LED through connecting Arduino to your iPhone.

About this Book

Arduino in Action is a hands-on guide to prototyping and building DIY electronics. You'll start with the basics—unpacking your board and using a simple program to make something happen. Then, you'l attempt progressively more complex projects as you connect Arduino to motors, LCD displays, Wi-Fi, GPS, and Bluetooth. You'll explore input/output sensors, including ultrasound, infrared, and light, and then use them for tasks like robotic obstacle avoidance.

Arduino programs look a lot like C or C++, so some programming skill is helpful.

What's Inside
  • Getting started with Arduino—no experience required!
  • Writing programs for Arduino
  • Sensing and responding to events
  • Robots, flying vehicles, Twitter machines, LCD displays, and more!
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Authors

Martin Evans is a professional developer, a lifelong electronics enthusiast, and the creator of an Arduino-based underwater ROV. Joshua Noble is an author and creative technologist who works with smart spaces. Jordan Hochenbaum uses Arduino to explore musical expression and creative interaction.

Table of Contents
    Part 1 Getting started
  1. Chapter 1 Hello Arduino
  2. Chapter 2 Digital input and output
  3. Chapter 3 Simple projects: input and output
  4. Part 2 Putting Arduino to work
  5. Chapter 4 Extending Arduino
  6. Chapter 5 Arduino in motion
  7. Chapter 6 Object detection
  8. Chapter 7 LCD displays
  9. Chapter 8 Communications
  10. Chapter 9 Game on
  11. Chapter 10 Integrating the Arduino with iOS
  12. Chapter 11 Making wearables
  13. Chapter 12 Adding shields
  14. Chapter 13 Software integration

Friday, July 12, 2013

Pro Arduino

Pro Arduino
Pro Arduino

Pro Arduino

So, you've created a few projects with Arduino, and now it's time to kick it up a notch. Where do you go next? With Pro Arduino, you'll learn about new tools, techniques, and frameworks to make even more ground-breaking, eye-popping projects.

You'll discover how to make Arduino-based gadgets and robots interact with your mobile phone. You'll learn all about the changes in Arduino 1.0, you'll create amazing output with openFrameworks, and you'll learn how to make games with the Gameduino. You'll also learn advanced topics, such as modifying the Arduino to work with non-standard Atmel chips and Microchip's PIC32.

Rick Anderson, an experienced Arduino developer and instructor, and Dan Cervo, an experienced Arduino gadgeteer, will give you a guided tour of advanced Arduino capabilities. If it can be done with an Arduino, you'll learn about it here.

What you’ll learn

  • How to modify the Arduino to work with other chips
  • How to simulate sensors for testing and debugging
  • How to set up advanced XBee networks
  • How to write Arduino libraries and share them with the Arduino community
  • How to get started with the Android accessory development kit
  • How to create games with hardware or with Gameduino
  • How to connect your Android phone to an Arduino sensor network

Who this book is for

Arduino fans, technogeeks, and electronic artists who want to take their skills to the next level.

Table of Contents

  1. Arduino 1.0 Core updates and libraries  
  2. Contributing to Arduino Development     
  3. Openframeworks and Arduino      
  4. Android ADK   
  5. Xbees     
  6. Simulating Sensors with Hardware    
  7. PID Controllers   
  8. Sensor network for Android using Arduino    
  9. Arduino to support non-standard Atmel Chips and PIC32   
  10. Multiprocessing: Linking the Arduino for more power   
  11. Game development with Arduino  
  12. Arduino libraries: How to help others use your code   
  13. Arduino Test Suite: create and run tests for your project for your software

Exploring Arduino: Tools and Techniques for Engineering Wizardry

Exploring Arduino: Tools and Techniques for Engineering Wizardry
Exploring Arduino: Tools and Techniques for Engineering Wizardry
Learn to easily build gadgets, gizmos, robots, and more using Arduino

Written by Arduino expert Jeremy Blum, this unique book uses the popular Arduino microcontroller platform as an instrument to teach you about topics in electrical engineering, programming, and human-computer interaction. Whether you're a budding hobbyist or an engineer, you'll benefit from the perfectly paced lessons that walk you through useful, artistic, and educational exercises that gradually get more advanced. In addition to specific projects, the book shares best practices in programming and design that you can apply to your own projects. Code snippets and schematics will serve as a useful reference for future projects even after you've mastered all the topics in the book.
  • Includes a number of projects that utilize different capabilities of the Arduino, while interfacing with external hardware
  • Features chapters that build upon each other, tying in concepts from previous chapters to illustrate new ones
  • Includes aspects that are accompanied by video tutorials and other multimedia content 
  • Covers electrical engineering and programming concepts, interfacing with the world through analog and digital sensors, communicating with a computer and other devices, and internet connectivity
  • Explains how to combine smaller topics into more complex projects
  • Shares downloadable materials and source code for everything covered in the book
Exploring Arduino takes you on an adventure and provides you with exclusive access to materials not found anywhere else!

Thursday, July 11, 2013

UDOO Android ADK Hello World!

UDOO Android ADK Hello World!

In the video you can see Android that detects the Arduino DUE embedded on UDOO as an accessory device through the AOA protocol.

We made an app using the ADK that enables the communication between Android and the Arduino DUE embedded on UDOO through the USB OTG bus. On the Arduino side, there's a sketch that handles inputs from the iMX6 and switch the LED when the ON/OFF button on the Android's app is clicked.

Saturday, July 6, 2013

Install OpenGL library

To install OpenGL library on Ubuntu. Enter the command in Terminal:

$sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev

Install g++ on Ubuntu

To install g++ on Ubuntu, enter the command in Terminal:

$sudo apt-get install g++

Download and install FREE Qt Open Source versions, on Ubuntu 13.04.

Qt can be used under open source (LGPL v2.1) or commercial terms. If you are Enterprise and want to try Qt, visit http://qt.digia.com/Try-Qt-Now/ to TRY the commercial version. Alternatively, you can download the Open Source versions by visiting http://qt-project.org/.

Visit http://qt-project.org/, click the Download link.

Download Qt Open Source versions
Download Qt Open Source versions 

Scroll down to download the file for your system. In my case of Ubuntu 13.04, download Qt online installer for Linux 32-bit.

download Qt online installer for Linux 32-bit
download Qt online installer for Linux 32-bit
Open File Manager, browse to the download file, qt-linux-opensource-1.4.0-x86-online.run. Right click it and check allow the installer to runs as a program.

Allow the installer to runs as a program
Allow the installer to runs as a program
Open a Terminal, change to the folder of the installer. run it by enter the command:


The extra steps is quite straightforward:

(for Ubuntu 13.04)

If you reported with the following errors:

error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.
Visit Install g++ on Ubuntu

error: cannot find -lGL.
Visit Install OpenGL library

Friday, July 5, 2013

Qt Terminal example work with Arduino

The new released Qt 5.1 come with a number of examples, Terminal is one of them. The Terminal example shows how to create a terminal for a simple serial interface by using Qt Serial Port. It shows the main features of the QSerialPort class, like configuration, I/O implementation and so forth. Also, the class QSerialPortInfo is invoked to display information about the serial ports available in the system.

We can load and run it to communication with Arduino Due board easily.

To load the terminal example:

- Click File on Qt menu, -> select Open File or Project..., browse to load the project file of Terminal example. It should be locate in /Qt/5.1.0/gcc/examples/serialport/Terminal/terminal.pro.

Build and run the example:

Code in Arduino Due:

void setup() {

void loop() {
  if(Serial.available() > 0){

Qt 5.1

New Qt 5.1 is available Now: What's New in Qt 5.1

Qt 5.1 is a Modern Multi-Platform Way of Writing Applications

Qt 5.1 is the latest release of the cross-platform C++ Application and UI framework. Qt 5.1 solidifies the modern multi-platform way of writing applications with Qt 5 by adding more flesh to the bone by boosting the UI technology and performance. You can now create native Qt-based cross-platform applications all with one framework and target all the most popular operating systems on desktop, embedded and mobile.

The central UI technology of Qt, Qt Quick, takes a big step forward with a new layout support and Qt Quick Controls, a pre-built toolbox of re-usable UI controls on top of the declarative QML language.

In Qt 5.1, these controls are supported on all desktop operating systems providing native look-and-feel. In the coming months, we will introduce support for touch-based controls and mobile look-and-feel. As sugar on top, Qt 5.1 presents technology previews of the official Qt ports on Android and iOS allowing you to start your multi-platform story on mobile as well.

Qt 5 Everywhere Demo

Check out the “Qt Everywhere” demo launcher showing various features of Qt 5.1 running with the same UX on Windows, Linux, Mac, embedded Linux (i.MX 6), Windows 8 and Android - true cross-platform development with the same code.

Qt 5.1 come with a The Terminal example to show how to create a terminal for a simple serial interface by using Qt Serial Port. We can load and run it to communication with Arduino Due board easily. read: Qt Terminal example work with Arduino

Wednesday, July 3, 2013

Free MagPi magazine Jul 2013 released

Read the free magazine, MagPi Jul 2013 Issue 14, on screen. It uses flash, but is HTML5 compatible with mobile devices. PDF available also.

Free MagPi magazine Jul 2013
Free MagPi magazine Jul 2013

Tuesday, July 2, 2013

Arduino YÚN is coming soon!

Arduino YÚN
Arduino YÚN

Arduino YÚN is the first member of a new groundbreaking line of wifi products combining the power Linux with ease of use of Arduino. The first Arduino YÚN is the combination of a classic Arduino Leonardo (based on the Atmega32U4 processor) with a Wifi system-on-a-chip running Linino (a MIPS GNU/Linux based on OpenWRT). We embedded the Linux machine directly on the PCB of the Arduino Leonardo and we connected the two so that from Arduino it’s very easy to run commands on the Linux side and use it as an Ethernet and Wifi interface. Historically, interfacing Arduino with complex web services has been quite a challenge due to the limited memory available. Web services tend to use verbose text based formats like XML that require quite a lot or ram to parse. On the Arduino YÚN we have created the Bridge library which delegates all network connections and processing of HTTP transactions to the Linux machine.

New Arduino YÚN Product page at arduino.cc

Monday, July 1, 2013

Maker Camp 2013

Maker Camp 2013: Supercharge Your Summer!
Maker Camp is a 6-week virtual summer camp for anyone interested in DIY, making, creating, crafting, hacking, tinkering, and discovery. It's free and it starts on July 8! Join us for 30 days and 30 projects. We'll post projects and activities, and use Hangouts to visit cool places and meet interesting makers.

To participate in Maker Camp, just follow +MAKE on Google+: g.co/makercamp

And for more information, please visit makercamp.com!