Archive for the ‘Yún’ Category

Arduino Tour goes to London: 21st of September – Workshop on #Iot

Tuesday, September 2nd, 2014

arduinoPlant

Next 21st of September Arduino Tour is finally landing in London for a one-day workshop, starting at 10am at The Maker Works London, UK. (max. 18 people).

This edition of the official Arduino workshop is focused on the world of the Internet of Things and will allow participants to experiment with a botanical kit including an Arduino YÚN, plants and sensors. The workshop teaches you how to turn your plants and virtually any object into connected, responsive elements using Arduino YÚN.

Arduino YÚN is the combination of a classic Arduino Leonardo and a small Linux computer, able to connect to a network or Internet via Ethernet or WiFi. Arduino boards are able to read inputs – light on a sensor, a finger on a button, or even a Twitter message – and turn it into an output – activating a motor, turning on an LED, publishing something online.

Check the program and book your participation >>

Node.js on the Arduino Yún via the Bridge library

Monday, July 7th, 2014

ArduinoYun

Tom Igoe some days ago wrote an interesting post about Arduino Yún on his blog.  We post it here as it could be useful to the Arduino Community.

————————–

Recently, Federico Fissore added node.js to the package repository for the Arduino Yún. Here’s how you get node to communicate with the Arduino processor on the Yún via the Bridge library.

To do this, you’ll need an Arduino Yún, a microSD card, a microUSB cable and a wifi connection. You should be familiar with the basics of the Arduino Yún and node.js in order to get the most out of this post.

All of the code for this post can be found on my GitHub repository. (more…)

Internet of things with Arduino Yún and Yaler

Saturday, June 28th, 2014

ArduinoYun and Yaler

Explore this tutorial  demonstrating how the Arduino Yún can be controlled from anywhere with any internet connected web browser. The solution is provided by Bo Peterson using the Yaler service which means that the Yún can be reached from any network without knowing the IP-address, and without any port forwarding on the router where the Yún is connected.

A common problem in home automation and internet of things applications is that it is difficult to reach devices connected behind wifi routers from the outside. There are different approaches to overcome this problem:

  • Port forwarding and static ip addresses. This solution requires the user of the connected device to know how to configure a router and have access to router administration which is not always possible. A Yun tutorial with port forwarding is found here.
  • Polling is a technique where the connected device at regular intervals checks with an external server if the device should take action. This solution requires no configuration of the router but it creates extra network traffic and response delays.
  • A third way is to use WebSockets which is a way of providing real time full-duplex communication over TCP. Spacebrew is a good open source toolkit for connected devices using WebSockets. Autobahn is another infrastructure that can be used.
  • Reverse HTTP is the solution that will be used in this tutorial. We will use Yaler which is an open source relay infrastructure that gives access to connected devices with very little configuration.

Follow the tutorial and get the code at this link.

An interactive coin jar saving for a good cause

Wednesday, June 25th, 2014

lightup

At the end of May, Massimo Banzi and Giorgio Olivero (Todo) spent some days at the Copenhagen Institute of Interaction Design to teach a class called Connected Objects. The class goal was to envision, design and implement interactive objects that are open and connected, whose design and behaviour can be used to sense, read and affect the domestic landscape or other shared environments.

One of the team of students (Arun Mota, Hsiang-Lin Yang, Yashodeep Gholap) worked on Arduino Yún to create an energy redistribution service that allows people to save money and in parallel donate towards energy distribution projects in deprived areas of the world:

LightUp is an interactive fundraising coin jar that firstly encourages personal savings and then also allows people to contribute a part of their savings towards the cause. The system allows them to track in real-time exactly how many units of electricity they helped generate. Another visible reward is the jar lights up for 10 minutes each time they drop a coin.

(more…)

Internet of Everything – Flip the Switch and Get Going

Tuesday, June 17th, 2014

Temboo Iot

Our friends at Temboo are releasing more cool stuff for your Internet of Everything. Here’s some news from their blog.

———————————-

Now you can connect even more Arduinos with the power of Temboo by simply flipping our IoT Mode on. This new feature opens up a whole new world of possibilities for the Internet of Things.

What is IoT mode, you ask?

It’s a new way to access our 2,000+ Choreos on any of your Arduino or Arduino-compatible boards. By just hitting a switch at the top right of any Choreo page, you “got the power” to call that Choreo with a sketch tailored specifically for the device you pick from our drop down menu. Previously, this feature was only available for the Yún, but now it is open to the larger Arduino family. All you have to do is select the type of shield your board uses and the code will generate accordingly.

So how do I begin using this amazing IoT feature?

Select a Choreo from our vast Library and turn on IoT Mode. In the example above, we chose the Data.gov API and the GetCensusIdByCoordinates Choreo. Data.gov is a cool way to access APIs from a number of US governmet agencies and to query government datasets, including the US Census! (more…)

A REST API for Arduino and the CC3000 WiFi Chip

Thursday, June 5th, 2014

rest api

Marco Schwartz is an electrical engineer and passionate about home automation. He wrote us some weeks ago to present his work on the Arduino Yún:

I was recently playing with the Arduino Yún for a whole set of new projects, and I discovered a sketch that implements a REST API for the Arduino Yún. We’ll see in more details what a REST API is, but for now let’s say it allows to standardise the communication between your Arduino and the external world via WiFi or Ethernet, and develop complex applications without having to modify your Arduino sketch every time. (more…)

Controlling lights and sensors with Arduino Yún, Node js server and firmata

Tuesday, June 3rd, 2014

Arduino-nodejs

Arduino user DavidMJBos sent us a project using Node js server on the Arduino Yún to control the lights, heating and some other sensors in the office of Appsaloon, the company where he’s doing an internship.

They already use Node.js for a lot of things and some of them are pretty cool with it.
That’s how they did it:

 

First of all you need to expand your flash, because there is not enough flash (16 MB) on the Arduino Yún. Sounds reasonable right? Not when you got the Yún for the first time in your hands. Luckily someone wrote this tutorial.

To start with you need to be on the same network to reach the Arduino :-).
Open your terminal

ssh root@arduino.local

It will ask for a password, which will by default be: ‘arduino’:

Now you can install Node.js on the Yún type : (more…)

See you at Maker Faire Bay Area! 17th and 18th of May

Saturday, May 17th, 2014

MakerfaireBayarea

Today and tomorrow you visit us at the Arduino booth (#204) right next to Atmel booth (#205) and have a look at our cool demos. You’ll find all the new boards: Arduino TRE Development Edition and Arduino ZERO, Arduino Yún together with Temboo and the freshly baked Arduino at Heart littleBits Module!

Massimo Banzi keynote is scheduled at 4.00PM and Michael Shiloh’s Getting Started with Arduino talks are waiting for you 2 times a day. (more…)

Time to Expand your Yún disk space and install Node.js

Tuesday, May 6th, 2014

ArduinoYun

Following the announcement of the new Yún image, we are happy to announce two new features of the Arduino Yún.

  • The first feature allows you to use a micro SD card as a replacement for the Yún’s internal flash memory. We have a tutorial that demonstrates how using this expands your Yún’s free disk space from the original 7 Megabytes to the available Gigabytes of your SD card.

Having more disk space allows you to make more complex projects, like activating webcams and saving pictures taken with it. In addition, by using an external SD card you avoid using the internal flash memory, thus extending the life of your Yún.

To upgrade your Yún to access this feature, follow the tutorial. Report back to the Arduino Yún forum if you have any issues or questions.

  • The second new feature is the availability of Node.js as an installable package.

In order to install Node.js on your Yún, use the Arduino IDE to upload the YunSerialTerminal example or access your Yún via SSH.

Be sure your Yún has access to the internet, then type the following commands:

opkg update
opkg install node

And voilà! You’ve got Node.js on your Yún.

Try it out with the following command: 

node -e "console.log('Hello_Yun')"

If you are a Node.js fan, you probably want to use your favourite modules. Unfortunately, not every Node.js module is “pure javascript”, so some modules won’t work on the Yún. We are solving this by preparing packages for the most common native Node.js modules. We have already prepared node-serialport (opkg install node-serialport) and noble is on the way. If you miss your favourite module and want it added to the list, please consider joining us in developing the Yún.

Upgrading the OpenWrt-Yun image on the Yún

Wednesday, April 23rd, 2014

ArduinoYun_orizz

Today we released the upgraded version of the OpenWrt-Yun image on the Arduino Yún.
This version includes all the latest and greatest from stable OpenWrt, the latest (Python) Bridge (with a php contribution and fixes to the file module), we also added Mailbox support to REST api and other fixes to some open issues.

The new image contains also the fix to the well known Heartbleed bug, a big security issue that impacted on almost all websites of the world.

If you own an Arduino Yún we suggest you to follow the link and read the procedure to update the board.
You’ll need to download the zip file from the download page. Remember that updating the OpenWrt-Yun image will cause the loss of all files and configurations you previously saved on the flash memory of the Yún.
Enjoy!