Posts | Comments

Planet Arduino

Archive for the ‘Yun’ Category

tumblr_inline_nbjvwkqaDW1rxqn91

The connected birdhouse is a project prototyped during a workshop ran by Massimo Banzi at Boisbuchet, last August in France. It was developed using Arduino Yùn, by Valentina Chinnici, who shared with us the project, and two other students taking part to  the week of learning-by-doing around the theme of  the Internet of Trees.

They redesigned a traditional object, a wooden birdhouse to be placed outdoor, and connected it to a lamp shaped like a nest, to be placed indoor:

The connected birdhouse was in fact an interactive object able to communicate to the nest/lamp the presence of a bird inside the house, and accordingly to a color coded signal was giving also some informations about the size of the bird itself. In the event of a bird entering into the house, the nest/lamp remotely controlled via WiFi by an Arduino Yùn, was turned on. The nest/lamp received the notification from the birdhouse translating it firstly with a rainbow effect. After few seconds the light changed according to the weight of the bird (green, yellow or red).

The LED strip used for the nest lamp was an Adafruit Neopixel strip controlled by an Arduino Yún.

On this blog you can find the sketch to make it work and create one yourself.

ArduinoYun

A new release of OpenWrt-Yún was announced today on Arduino Forum by Federico Fissore and you can download it from this page.

1.4.2 includes both bug fixes and new stuff.
We fixed some glitches in the webpanel (a bug was found by wildpalms: thank you!).
The OpenWRT Image Builder and the software produced by the http://allseenalliance.org/ is now available for download.

Compared to 1.4.1 this release contains:

  • Web panel
    Fixed wrong JSONP serialization. See details on Github
    Fixed a javascript error in webpanel login page

The complete list of changes is available here.

 

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

YunShield_2-500x358

by Edwin Chen @ open-electronics.org:

The model of this shield named Yun Shield, the feature of this shield is as its name. User can add this shield into Arduino (Leonardo, UNO, MEGA2560 etc) and “turn” the Arduino into device which has similiar features as Arduino Yun: support remote upgrade and use the Bridge library.

With this shield, user can easy to set up communcation between Arduino and Internet (via ethernet , wifi or 3g etc) and add support for USB flash, video. The detail user guide/ manual can be found in the dragino website and most Arduino Yun Sketch / examples can reuse with this Shield. This shield is under production and will be ready within one months time.

Add Linux, WiFi, Ethernet and USB to Arduino - [Link]

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.

First you’ll need to install node on the Yún. Make sure you’ve upgraded to the current Yún software image and have connected to the internet via wifi. Then ssh into your Yún, or connect to the command line interface using the the YunSerialTerminal sketch, and issue the following commands:


$ opkg update
$ opkg install node

That’s it. Now you have node.js onboard. You can check that it’s okay by checking the version:

$ node -v

You should get the version number in reply.

Once you’ve got that working, you’ll undoubtedly want to communicate with the Yún’s Arduino processor from node. You can do this using the Bridge library. On a microSD drive, make a directory for your node scripts. I called mine /arduino/node. Then insert it into your Yún. For reference, its path from the command line is /mnt/sda1/arduino/node.

Note: The Yún automatically treats the microSD card’s /arduino/www/ directory as a public web directory. Anything you put in there will be served out as static HTML. So you may not want to put your node scripts in this directory, so they’re not visible via the browser. That’s why I created a node directory at the same level as the www directory, but outside it.

Read the complete post at this link>>

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.

Bass Master 3000

We’ve all been there. You are having fun walking around the carnival when you suddenly find yourself walking past the carnival games. The people working the booths are taunting you, trying to get you to play their games. You know the truth, though. Those games are rigged. You don’t know how they do it. You just know that they do… somehow.

Now you can put your worries to rest and build your own carnival game! [John] built his own “Bass Master 3000” style carnival game and posted an Instructable so you can make one too.

The game is pretty straightforward. You have a giant fish-shaped target with a wide open mouth. You take hold of a small fishing reel with a rubber ball on the end. Your goal is to cast the ball out and hit the fish in its big mouth. If you hit the mouth, you get to hear a loud buzzer and see some flashing lights. The system also uses a webcam to take a candid photo of the winner. A computer screen shows all of the winners of the day.

The brain of the system is an Arduino Yún. The Yún is similar to an Uno but it also has some extra features. Some good examples are an Ethernet port, a wireless adapter, and an SD card slot. The mouth sensors are just two piezo elements. Each sensor is hooked up to the Arduino through a small trim pot. This allows you to dial in the sensitivity of each sensor. The lights and the buzzer are controlled via a relay, triggered by a 5V digital pin on the Arduino.

The Yún actually has a small on-board Linux computer that you can communicate with from inside the Arduino environment. This allows [John] to use the Yún to actually take photos directly from a web cam, store them on the local SD card, and display them on a local web server. The web server runs a simple script that displays a slide show of all of the photos stored on the card.

The final piece of the game is the physical target itself. The target is painted using acrylic paint onto a small tarp. The tarp is then attached to a square frame made from PVC pipe. The mouth of the fish is cut out of the tarp. A large piece of felt is then placed behind the hole with the piezo sensors attached. A short length of copper pipe helps to weigh down the bottom of the felt and keep it in place. The important thing is to make sure the felt isn’t touching the tarp. If it touches, it might be overly sensitive and trigger even when a player misses.

Now you know how to build your own Bass Master 3000 carnival game. Whether you rig the game or not is up to you. Also, be sure to check out a video of the system working below.


Filed under: Arduino Hacks

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.

To avail the service of LightUp, a user merely needs to register through an online platform. Every registered user is then provided with a physical jar to make savings on periodical basis. Users can save coins in these jars. Every time a coin is dropped in it, as a response the jar lights up for 10 minutes.

The drop of a coin each time also triggers a parallel transaction where a certain sum of money is transferred from the user’s account to LightUp’s Account. While registering, LightUp will also create a personal PayPal account for its users. This PayPal account is linked to the merchant PayPal account of LightUp. The user gets to decide the unit of money that can be debited each time while registering.

Every time users put coins in the LightUp jar, they will also receive immediate feedbacks such as SMS, email or facebook notification as per user’s preferences. These feedbacks will inform users on how their donation is being used for specific social projects and how they have helped make a real difference.

test_lightUp

 

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 below, 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!

The “Arduino” option encompasses compatible boards that lack the Yún’s built-in wifi capabilities, but can connect to the internet with a shield. Fill out your shield’s specifics when the popup appears and save for future use. Run your Choreo and scroll down to retrieve the code for the sketch, ready to be pasted into your Arduino IDE. You can even plug this into a sketch generated by our nifty Device Coder to start mixing and matching!

We are thrilled just thinking of all of the possibilities this unlocks for the Internet of Things. We want to hear all about what you cook up with this new capability, so if you are working on an interesting project, reach out to us at hey@temboo.com!

Find out more on their blog!

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!

The “Arduino” option encompasses compatible boards that lack the Yún’s built-in wifi capabilities, but can connect to the internet with a shield. Fill out your shield’s specifics when the popup appears and save for future use. Run your Choreo and scroll down to retrieve the code for the sketch, ready to be pasted into your Arduino IDE. You can even plug this into a sketch generated by our nifty Device Coder to start mixing and matching!

We are thrilled just thinking of all of the possibilities this unlocks for the Internet of Things. We want to hear all about what you cook up with this new capability, so if you are working on an interesting project, reach out to us at hey@temboo.com!

Find out more on their blog!



  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.