Archive for the ‘languages’ Category

Connecting your Arduino to AIR using an AIR Native Extension

Monday, December 5th, 2011

[quetwo] aka Nicholas Kwiatkowski developed a native interface to receive serial data in Flash.

[...]  The AIR Native Extension (ANE) is a C based .DLL / .framework for the Windows/Mac platforms that allows AIR to essentially open a COM port.  I wrote it in a way that is supposed to emulate the functions of the flash.net.Socket library that is included in the AIR runtime.  I’ve posted the entire project, including the source code and final binaries on Google Code at http://code.google.com/p/as3-arduino-connector/

via [quetwo], [GoogleCode]

Matatino Lets Arduino Connect To Your Mac Apps

Tuesday, November 8th, 2011

[Robotgrrl] shared a super-userful way to import Arduino Data to  Mac applications, with tutorials and examples.

We created Matatino, a framework that lets you communicate between your Mac applications and your Arduino, You can follow our tutorials to get started with adding Matatino to your project. To see Matatino in action, check out Meters for Arduino. We will be adding more examples, libraries and tutorials for the Android ADK, iOS Redpark Serial Cable, Processing and OpenFrameworks in the future! You can stay informed about updates through RobotGrrl’s blog Apps4Arduino category feed.

via [RobotGrrl/Apps4Arduino]

Ball of Dub Keeps Audio in Your Hands

Tuesday, November 1st, 2011

Ball of Dub from LUSTlab on Vimeo.

Accelerometer to Renoise via OSC  to control trippy and dubby sounds.

[Lizzie] from LustLab sent in her Ball of Dub that turns a few accelerometer and a digital audio workstation and turns everything into an aural experience of wubs and dubs. The Ball of Dub can turn just about anything into dubstep, and does so with a fairly interesting user interface.

There isn’t a build log for the Ball of Dub, but  the folks at LustLab did send in a basic overview of her project. Inside the ball, there’s a Razor IMU from Sparkfun that is attached to the ever-popular XBee wireless transceiver. A tiny program on an Arduino calibrates the gyroscope and accelerometer and sends that data to the DAW at 50Hz.

The host computer is running Renoise, a very popular tracker that can accept MIDI and OSC input. A Processing app parses the ball spin, free fall and impact, averages them over a period of time, and pipes that into the OSC input of Renoise. In [Lizzie]‘s video, the ball spin is sent to a low-pass filter on the baseline track, and the average impact is applied to the vocal track.

via [HackADay] source [LustLab Tumblr] special demo video for the few skeptical comments on HackADay

Arduino and Flex to Control a Creepy Skull

Tuesday, November 1st, 2011

Cool & creepy Adobe Tutorial by Davic Benge using Arduino and Flex on how to animate a skull. We have previously covered a very nice video tutorial by Kevin Hoyt on Arduino to Flash communication.

via [Adobe]

HC-SR04 ultrasonic Arduino library

Thursday, October 20th, 2011

This is nice. I hope Carl posted the library in the Census

Carl Nobile has developed and released an Arduino library covering the HC-SR04 ultrasonic sensor. He writes: “It features timing, metric conversion, and standard deviation methods, plus a few support methods. It is written in C++ to conserve the namespace. The conversion formula can be easily modified to optimize the accuracy of conversion at different distances for inches and centimeters. Multiple buffers of different lengths can be created for determining standard deviation.

Look at the code and examples to understand how the library works. The standerd deviation code can be removed from the compilation resulting in a significant savings of resources. To do this comment the #define COMPILE_STD_DEV definition in the header file.”

via [dangerousPrototypes] downlaod the library from [FreshMeat]

Remix Domestic Appliances

Tuesday, October 18th, 2011

[Elvia Vasconcelos] developed a very simple yet interesting installation based on PureData and Arduino. The main goal is change / remix (and therefore innovate) the approach toward domestic appliances:

To re-purpose an object is to manipulate its construction. I believe there is nothing natural about the way objects behave and therefore in their potential to be reinvented. It is in the artistic domain to liberate these objects from the settings in which they have become predictable and accepted. For this installation I am looking at objects from the Home. I present a fan, an extractor, a light bulb and a vacuum cleaner that are pretending to be toasters. They are controlled by the viewer via a telephone. My work is guided by a desire to hold onto things but not exactly to hold them in place.

via [PSFK]

The Jacket That Tells You You’re Drunk

Thursday, October 13th, 2011

[Matt Leggett] designed a jacket that is telling you whether you are able to drive or not:

Included in the jacket are an Arduino microprocessor, an alcohol sensor, and a series of LED’s that “provide an elegant solution to the drink driving problem.” A breathalyzer located in the pocket of the jacket, analyses the sample and then lights, that are stitched into the forearm, indicate how drunk you are. The LED lights glow when alcohol is detected and the brighter they glow, the worse you are.

via [Joe.ie]

Android Open 2011: Massimo Banzi, “Arduino & Android, Infinite Possibilities”

Wednesday, October 12th, 2011

Nice Video of Massimo‘s talk at Android Open 2011.

via [O'Reilly Media]

TinkerKit! Gyroscope Now Available

Monday, October 10th, 2011

New fellows in the TinkerKit!  family: [T000060] and [T000062] are two versions of the same gyroscope module (1x / 4x sensitivity) based on the LPR5150AL from ST Microelectronics. We are sharing example codes and a visual UI in Processing (hosted on Scuola)

Control a Slot Car Race With Your Mind

Friday, October 7th, 2011

[Riccardo Giraldi] posted a nice project controlling a slot car race from a Mindwave headset (=> your brain waves).

From B-Reel’s secret laboratory comes a brain-bending experimental project utilising a number of cutting edge tech tools. B-Reel’s UK creative director Riccardo Giraldi led the development of the project, and you can view the explanatory video here, as well as some of the creative musings in a write up below. [...] There are few commercial devices that claim to safely read your brain signals. We ended up choosing the Mindwave headset from Neurosky for this experiment because of its unobtrusive design and its affordable price.

via [TheNextWeb] source [B-Reel]