Arduino, Processing

Project 4: Arduino + Processing

For this week’s project I worked with Sam to create an example of the Arduino communicating with Processing; using an analog controller that is affecting something in the digital world.

Our project uses a sound detector and a slide potentiometer to distort  and fade images on a laptop screen. We utilized the slide potentiometer to adjust the opacity between two images, and the sound detector to display the image on the screen.

Wiring Schematic

Wiring Schematic

Here is our project in action.

We also ran through a few tutorials that guided us through communicating with the Arduino through Processing.

 

 

Advertisements
Standard
Arduino, Lock Box, Servo

Project 3: Combo Lock

Our third assignment this semester is to use an Arduino to create a makeshift lock. The project is pretty open-ended, so I’ve decided to make a lock box using servo motor along with the Arduino.

An infrared sensor will trigger a servo to unlock the box.

An infrared sensor will trigger a servo to unlock the box.

The concept is simple. I will use an infrared sensor to activate the servo, unlocking the box.  After my last project which blew up my Arduino, I’m ready to redeem myself, new Arduino in hand!

It will read movement and activate the servo.

It will read movement and activate the servo.

This little guy is the motor and locking device.

This little guy is the motor and locking device.

The difficult part has been coding the infrared sensor to rotate the servo. I resorted to using code that allowed me to control and LED with a potentiometer as a starting point. This was beneficial to eventually getting my wiring working properly.

Success! Now to implement it into the box.

Success! Now to implement it into the box.

After a few hiccups, some tweaks to the code, and some food in my belly, the wiring is ready to go in the box!

Before I place the components in the box, I need to set up the locking device.

The servo will rotate, positioning itself into the makeshift lock.

The servo will rotate, positioning itself into the makeshift lock.

Using cardboard, I created make shift device that the servo can lock into. When activated, the servo will rotate into the groove of the cardboard (the locked position). A wave of a hand across the sensor will rotate the servo, unlocking the box.

I cut a rectangular hole along the side of the box for the infrared sensor.

I cut a rectangular hole along the side of the box for the infrared sensor.

It's not pretty, but it works.

It’s not pretty, but it works.

The biggest pain in the butt was not having the servo move out of place. At first I used cardboard wedged in between the inner wall of the box, and the servo, but that didn’t work. I also tried pieces of tin which didn’t work either. I eventually ended up using mounting tape to create a cushion on one side, and a piece of tine taped to the bottom of the box on the other side. This worked perfectly. The servo does not move at all!

Here is the box in action!

Standard
Art, Interaction Design, Sensing System

Rain Room by rAndom International

Interactive "Rain Room" Exhibit Allows Visitors To Control Their Environment

 

Rain Room is a hundred square meter field of falling water through which it is possible to walk, trusting that a path can be navigated, without being drenched in the process.

As you progress through The Curve, the sound of water and a suggestion of moisture fill the air, before you are confronted by this carefully choreographed downpour that responds to your movements and presence.

Here are the components used to bring this beautiful concept to life:

  • Water
  • Injection moulded tiles
  • Solenoid valves
  • Pressure regulators
  • Custom software
  • 3D tracking camerasS
  • teel beams
  • Water management system
  • Grated floor (100 sqrm)

 

Standard