Paja

Icon

Rapid prototyping for music, art and design work

Android Processing connecting to Arduino


There are two ways to connect Android to Arduino over USB. They are Android Debug Bridge Mode (ADB) and Accessory Mode (ADK). ADK supports only newer Android than 2.3.4 while ADB supports even older than 2.2. A demo in this page uses ADB.

Read the rest of this entry »

N9 connected to Arduino


I am experimenting N9 and Arduino. Since QML on N9 doesn’t support any serial communication over USB, I am using the serial communication over Bluetooth.

This post describes how you control a servo motor with N9 over Bluetooth.

Read the rest of this entry »

Course material: Arduino connected to open Frameworks

This post describes the way to establish communications between open frameworks on Mac OX10.6 and Arduino. The code using it is created on Xcode developing software.  It uses ofArduino library which let you control Arduino directly from Xcode. Although the open frameworks also provide a generic Serial protocol. In this case, you need to create own Arduino code using Arduino IDE software.

Read the rest of this entry »

Arduino Programming A to Z

Designing interactions course

Date: January 24, 2010

Location: Media lab Helsinki in Helsinki, Finland

Read the rest of this entry »

N900 and Arduino to control servos

Nokia N900 connected to Arduino over Bluetooth

This post is a proof of concept that describes how to connect N900 to Arduino using BlueSMiRF Gold. Once it is working, you can send charactors to the Arduino. Arduino returned the same characters immediately to X Terminal. Otherwise you will not see any typed charactors in the terminal.

The LED on the BlueSMiRF turns from flashing a red LED to light up a green LED when communication is successfuly established.

Read the rest of this entry »

Arduino connected to Nokia N900 using Mozilla Flash player plugin

Here is a technical demo video that you can can control lamp and read proximity sensor to te Flash player on  the N900. Source codes and schematics will be updated soon.

Flash player connected to Arduino via Processing

slide_demo_v2_analogwrite_read

example

terminal

test_xmlrpc.swf

xml-rpc.xml

  • Socket policy uses port 1843.
  • Actual data communication uses port 6666.

Some references to set up a policy server for Flash player.

Atmel Atmega8 (Arduino NG) Digital I/O pin register

Digital and analog pins are controlled by accessing bits. Arduino NG Diecimila has Atmel Atmega8 on board and Atmega8 has two digital ports and one analog (digital to analog converter) port. This post describes Pin assign between Arduion and Atmega8. It also describes location of bits assigned to specific ports.

Read the rest of this entry »

Blinking LED on Arduino NG with AVR MacPack first time

As Arduino has Atmel chip on board, you can also program code with C on your Mac. Softwares for the developing environment are all free. Programming with C looks more complicated but still all logic are the same as Arduion IDE and you can even create more functions with C. Once you have managesd to run your C language code on Arduio, you can also flash the code to other smaller or more powerful Atmel chips. This post describes how I as Mac user managed to write a code to blink LED on Arduion board.

xcode_screenshot

Read the rest of this entry »

Arduino + PD, Max/MSP

Arduino + Max/MSP by Marius Schebella
Maxuino

Arduino + PureData by Hans Steiner
Pduino

Examples from Youtube

Image controller(Arduino+Director)

There are several sets of images. The value from touchsensor decides which set of images play in Director. With potentiometer, user can control the speed of rolling images.

code mov

Ji Hyun Hong

Using Arduino and Memsic 2125 accelerator with C++ and Open Dynamics Engine

I made a simple prototype about using a Memsic 2125 dual-axis accelerator with C++ and an open-source physics engine called Open Dynamics Engine (ODE). The result was something that resembles the experience which you get while playing games on the motion sensing controller of the Wii console (although I haven’t tried that myself).

Throw some boxes with an accelerator sensor and ODE

Read the rest of this entry »

How to connect Flash to external sensors using Processing and an Arduino board

The Flash meets Processing Meets Arduino setup

In the example, we use an Arduino board to receive analog signals from 3 sensors, and send them to the computer’s serial port.

A simple Processing application listens to the serial port, and creates an XML socket where it sends the signals it receives.

The Flash application listens to the XML socket created in Processing, and when an event occurs, a function is launched to process the received data.

Below are example snippets for each part of the solution:

Arduino code example
Processing code example
Actionscript code example

The Flash game shown at the presentation

The game sources (fla+arduino+processing)

– Viljo Malmberg, Aleksi Hyvönen and Brian Mogensen

Arduino & Pure Data

INSTALL PROCESS

It is possible to make Arduino and Pure Data communicate with each other so that one doesn’t have to program Arduino with it’s own programming language (which is called Arduino).

Read the rest of this entry »

Interfacing servo motor with Arduino

The Arduino (build 0007) analogue output pins (PWM 9-11) have a frequency of approximately 30769 Hz. According to the Parallax documentation (http://www.parallax.com/dl/docs/books/edu/roboticsservomod.pdf) the low time for a pulse train can be between 20-40ms which means that the Arduino pulse is in the range. However, to be consistent with the BS board the frequency can be lowered by the following code =>

Read the rest of this entry »

6.4.2016 progress: Askar & Niemi: Kinetic Furniture / Tray

The past weeks have been fruitful in terms of progress for the kinetic tray. We have been trying to figure out various ways of installing the dc motors to move the wheels attached to the wooden board. We have successfully managed to build a practical mechanism to make the movement possible. The physical work consisted of building the moveable tray by drilling and attaching the wheels to the wooden board, including making a steady holder system for the motors out of thick cardboard and metal wires. Thanks to Ville’s knowledge of programming for Arduino, he has managed to make a back and forth movement possible for the tray itself with the motors being able to move it across any flat surface.

6.4.2016 progress: Askar & Niemi: Kinetic Furniture / Tray

A video of the tray rotating. Makes a hell of a lot of noise, horrid lol.

Arduino Leonardo + Adafruit Motor Shield.

2x 56 RPM Actobotics gearmotors running on just 6V.

WiFly connected to Windows Phone

I bought a WiFly Arduino shield. This is Wifi module enable Arduino to connect to internet directly. In this post, the shield connets to Windows Phone. How exciting module it is!

Please note that this post is not yet proving that your windows phone app can communicate with Arduino. It just shows the connection is established.

Read the rest of this entry »

DeadOn DS3234 real time clock breakout

DS3234 is also a real time clock IC. It uses SPI to communicate while DS1307 does with I2C. There is a Arduino library for DS3234 to provide simple methods to set and read time. You can purchase DeadOn DS3234 RTC Breakout from Sparkfun.

Read the rest of this entry »

Social links powered by Ecreative Internet Marketing