MonthOctober 2015

Virtual Drumstick Progress

Click here to read the initial project proposal.

I experimented with the Arduino using a ball-tilt switch to create my drumsticks. I performed an initial test by wiring the tilt switch directly to the breadboard. Upon turning the Arduino and breadboard sideways, I could turn an LED on and off.

Slightly tilted - ON

Slightly tilted – ON

90 degree tilt - OFF

90 degree tilt – OFF

For a more durable interface, I decided to solder the tilt switch to long lead wires and taped them to art pencils to act as the drum sticks.

IMG_3197

IMG_3201

 

First test using the drumsticks. I can tell that the concept is working, but it is somewhat difficult to accurately activate the tilt switch unless a precise motion is used.

I believe this is due to my tilt switches having 4 posts, so when I order additional switches from Amazon, I plan to order tilt switches with only 2 posts.

61rjoGLhShL._SL1100_

Click here to continue to Part 2 of this project.

Reading Response: Transforming Mirrors

Reading Response to Transforming Mirrors: Subjectivity and Control in Interactive Media by David Rokeby

David Rokeby claims that the technology we use reflects back to us like a mirror. This is what makes technology interactive and can give us a sense of self-image. He believes that technology as a mirror can be a form of self expression. For example, artists can try to instill interaction into the context of their art by providing a “blank canvas” or “looking glass” for the spectator to reflect upon. When we are presented with a blank canvas, we have a natural curiosity to want to fill that canvas.

He also states that interaction can be added through navigable structures, creative mediums, transforming mirrors and automation. In my personal work, I feel that it is a combination of these factors that makes my artwork more interactive, with navigation being the most important for me. I find that intuitive navigation is what draws the user or spectator into the work. When the navigational structures are too difficult to use or understand, the user is likely to lose interest in the work and give up.

Lab 4: Zoetrope

This week we built our own zoetrope animation devices. The spinning device has slits in the side and a sequence of images can be seen through the slits. Because of persistence of vision (POV) our eyes believe that the image appears to be moving.

Step 1: Wiring the breadboard

First we added two switches to the breadboard, one to control on and off, and the other to change directions. We also added a potentiometer to control the speed of the motor. This was all achieved using the H-bridge integrated circuit that came with our kit.

IMG_3250

Step 2: Adding the motor

We attached our motor and a 9 volt battery to our breadboard. The battery is responsible for powering our DC motor, while the Arduino powers the switches and H-bridge.

IMG_3251

Step 3: Building the zoetrope

We used a CD as a ridged platform to mount our zoetrope. A wooden assembly was used to mount the zoetrope to our motor.IMG_3253

IMG_3259

Step 4: Testing the animation

We tested the zoetrope and, though a bit fast, we could see the animation playing through the slits in the side of the zoetrope.

Midterm Proposal: Arduino

Drum-SticksIdea 2: Virtual Drumsticks

Note: My original idea below was not within scope of the project requirements, so I am revising my proposal as follows.

I fell in love with electronic music nearly 20 years ago. I grew up listening to a lot of hip-hop music, but the first time I heard Daft Punk’s album Homework, I felt like I was transported to another world. The deep basslines and mesmerizing rhythms were what drew me in, and recently I have begun playing with a midi controller and Garage Band to try making some of my own electronic beats.

So, while listening to Robert Owens on Duke Dumont’s new album, I I decided I wanted to deconstruct the track and create my own interactive version of the song.

To do this, I will create a set of virtual drumsticks that could be used to control the various sounds in the track. For the drumsticks, I will be utilizing two ball tilt switches attached to long lead wires that can be swung back and forth in a drumming motion. When the enclosed steel ball is moved, it breaks the circuit and the Arduino will send a signal to Processing to play a wav file.

I hope to add some additional switches to control the playback of the main baseline, and also add some visual effects that can be projected to a screen along with the music.


 

7551631_orig

Idea 1: Cyber Aquarium

I have been a long time saltwater aquarium enthusiast, and one of the problems I have had is maintaining a regular feeding schedule for my fish when I am away, or even on a daily basis. Sometimes I am just too busy to remember to feed my fish throughout the day, and I end up giving one large feeding all at once, which is not as optimal for my fish (fish like to graze continually throughout the day rather than having one large meal). On top of that, other people in my household sometimes feed them without my knowledge, which leads to overfeeding, wasted food and polluted water conditions.

My idea is to create an automatic fish feeder. There are already several auto feeders on the market, which are controlled by time intervals (feed every 4 hours, etc). However, I would like to take my fish feeder one step further: train my fish to request a meal when it is hungry!

To achieve this, I would use an Arduino connected to a sensor that can recognize the presence of the fish. This may possibly be a proximity or distance sensor, IR sensor, etc. When the fish comes within proximity of the feeding area, a signal will be sent to a motor to rotate and dispense food from a small container. Upon completing the motor’s cycle, more fish food will enter the container in preparation for the next feeding.

Eventually, I hope that the fish will “learn” that it can receive food when entering the feeding area. To prevent overfeeding, a timeout will be implemented in the Arduino code so that the fish can only receive food once per hour. I am not sure if the fish can understand an LED or not, but I will have an LED mounted on the tank that will indicate if feeding is available or not. When the LED is on, the fish is allowed to have food, and the LED will turn off once the fish receives its meal until the next hourly allowance has become activated.

Other ways to expand on this idea would be using more sensors to gather more data about the fish and environment to make the feeding sequence more effective, such as turning pumps on or off, monitoring water conditions, etc. An LED could also be implemented to display the feeding status to the owner, so that you can quickly see what time the last feeding was, how many times the fish ate that day, etc.

I have found a similar project that utilizes an in-tank switch or “lure” to control feeding (https://hackaday.io/project/4894-training-fish-to-feed-themselves). However, the switch is made of copper, which would not be suitable for a saltwater aquarium. I would like to explore other methods of detecting when the fish is hungry that are more minimal and less obtrusive. I would like the system to be simple to setup and use so that it does not detract from the beauty of the aquarium.

 

Lab 3: Spaceship Interface & Love-o-meter

In this lab, we created a simple circuit to control LEDs simulating a spaceship interface.

Step 1: Setting up the circuit

We wired up the breadboard with two red LEDs and one green LED, wired in series through 220 ohm resistors. Next, we placed a switch on the breadboard to control the operation of pin 2 on the Arduino. We used a 10k-ohm resistor for the switch which connected to ground when the switch was open and read “low” when there is no voltage coming through the switch.

IMG_3101

 

Step 2: Writing the code

We wrote a short program to control our spaceship LEDs. First we setup pins 3-5 to control output, and pin 2 to accept input. Then, in the main loop of our program we created a condition to check for low voltage output on the switch (input 2). If low-voltage was detected, the LEDs would flash in the proper sequence.

IMG_3102

 

Step 3: Testing the program

We connected the Arduino to the computer and launched our program in the Arduino software. When we press the button on the breadboard, our lights flash in sequence just as we intended.

Step 4: Adding a temperature sensor

We added a temperature sensor in place of the switch. Now, when the temperature sensor is touched, the LEDs will flash in sequence. This is also known as the Arduino Love-o-meter project.

IMG_3109

Lab 2: Creative Switches

In this lab we created different types of switches to control LEDs on our breadboard. First we discussed Ohm’s law, which is:

R=VI
Where
R = Resistance
V = Voltage
I = Current

 

Step 1: Powering an LED

We created a simple circuit to power an LED with 5 volts. Using Ohm’s law, we calculated that our 1.7V LED will require a 220Ω resistor so that we don’t burn out our LED. The resistor reduces current flow, which in turn reduces the overall voltage.

IMG_2276

LED powered by 5V using 220ohm resistor. Don’t forget to connect the LED with correct polarity.

 

Step 2: Adding a switch in series

Next, we slightly changed the configuration so that we could add a simple switch inline with the circuit. When the circuit was powered back on, the LED would only light when the button was pressed.

IMG_2279

 

Step 3: Adding creativity to the switch

Then we got more creative with out switch. I brought in an old telephone, which I wanted to use to control my LED. Aluminum foil and lead wires were added to the phone so that when the phone was hung up it would complete the circuit and light my LED, and when it was off the hook the LED would turn off.

phone

 

Step 4: Testing the switch

I tested my switch and to my surprise, the switch actually worked! There are many other creative ideas for making a switch. It would be interesting to work with some of theses ideas to create interfaces for users to interact with.

IMG_2287 IMG_2288

Reading Response: A Cyborg Manifesto

Reading Response to A Cyborg Manifesto by Donna Haraway

Donna Hardaway claims that the people of the late twentieth century have become cyborgs, a concept of hybrid machine and organism which blurs the line between reality and imagination. Previously, machines were not capable of self-motivation, self-design and autonomy, but now our machines have become more and more lively and humans have become more inert. This all comes down to a blur in the concept of our identities of gender, race and class. I feel that we have progressed even further down this path now that we are in the year 2015 (Haraway originally wrote her manifesto in 1983).

She also criticizes the feminism movement as alienating its audience rather than communicating. I feel that any movement or cause that is trying to achieve influence over other people should make it a fundamental principle not to alienate or leave out other people. I agree with Haraway, and believe that it makes it harder for people to listen or be influenced if they feel alienated.

Lab 1: Building Bristlebots

This week in lab we built Bristle Bots, tiny robots made of toothbrushes! They were really simple to make and the result was very cool. Anyone can make one of these simple robots.

Parts Required:

  • 3v battery
  • small magnet
  • toothbrush head
  • double sided foam tape
  • tiny motor
bristle-bot-parts

Step 1: Attach Double Sided Foam Tape

Stick some of the double sided foam tape to the top of the toothbrush head. This will give us a platform to stick the other components on top of in the next few steps.IMG_2095

Step 2: Attach Battery and Motor

Make sure that you stick one lead from the motor to the bottom of the battery, and one lead will remain hanging on top of the battery so that we can make the connection on and off using the tiny battery.IMG_2097

Step 3: Place magnet on top to start the motor

Once you place your magnet on top, the motor will start whirling away. The motor basically makes vibrations, similar to when you put your cell phone on vibrate or silent mode. These vibrations transfer through the toothbrush bristles and cause the Bristlebot to move around.

Screen Shot 2015-10-07 at 2.41.33 AM

Step 4: Optional, Add an LED light to your bot

You can optionally add a light emitting diode to your bot. Be sure to follow the correct polarity of the LED when you attach it to the battery. Unfortunately, the LED draws some of the power from the battery, so the motor does not vibrate as strongly and your bot moves around much slower, but it gives your bot a really cool looking effect.

IMG_2102

Final Result

This is what your bot will look like in action! Stay tuned for more fun and interesting labs in the coming weeks, and please comment if you have any questions.

Reading Response: The Medium is the Message

Reading Response to: The Medium is the Message by Marshall McCluhan

A medium is the vehicle for delivering a message, but Marshall McCluhan claims that as technology has evolved, the medium itself has become the message. The author gives an example of how new technology, in this case “automation” by machines, can disrupt social patterns by eliminating jobs in the workplace. At the same time, automation creates new roles and specialization. However, it was not the machines themselves (the medium) that caused this disruption, it was how people used the machines.

Electric light is typically a medium without a message, but the information that is transmitted through light is actually another medium, so McClauhan deduces that every medium’s content is really just another medium.

© 2017 dauclair.com

Theme by Anders NorénUp ↑