Main

November 11, 2007

Warning - Arduino NG and SPI

If you're working with an Arduino NG and an SPI controlled device you're working with is not functioning properly (an AD5206, an accelerometer, etc), you'll need to perform surgery on your 'NG to remove the SMD LED from digital pin 13. Idiscovered this while helping YouJeong troubleshoot her AD5206. We looked at everything from the wiring to the AD5206 chips to source code to finally the Arduino itself. The only reason I was able to figure this out is that I saw that YouJeong's Arduino NG had an LED on pin 13 (which is one of the pins Arduino uses for its SPI interface). I noticed when trying the most basic "blink the LED" program that an LED inserted between digital pin 13 and ground was very dim. When I jumped it in parallel with the SMD LED on the Arduino circuit board it was brighter. Using a multimeter we found that the pin 13 was only giving us 1.92V when pin 13 was set HIGH.

I suggested we search for "Arduino NG SPI" and we found a thread in the Arduino forums about this issue. To rectify the problem, I removed the pin 13 LED from both of her Arduino NG boards and SPI started working properly.

August 15, 2007

Sewing Cubby and Speaker Stands

One of the challenges of woodworking in an apartment is finding a place to store pieces of leftover plywood. After I built the IKEA knock-off bookshelf last summer, I stashed the leftovers behind our bed. Kelly and I agreed that these pieces would eventually turn into a cubby system for my studio. As it turned out, the pieces weren't quite large enough for the desktop hutch I designed, so I created even more scrap lumber. I stacked some of the pieces underneath the couch in the living room, but we were running out of room. The only thing left to do to reduce the stockpile aside from freecycling it or throwing it away was to build again.

Sewing Cubby
One leftover piece of plywood was used to make Kelly's sewing organizer. She also wanted a cubby system to store some of her batting and yarn.

We started off with some sketches -- first exploring possible features of the unit

cubby sketches-1

and then deciding how big we could make it given the available materials.

cubby sketches

I fleshed out the design in Google Sketchup so Kelly could get a sense of the proportions and then built it. All joints are butt joints attached with 2" coarse-thread wood screws.

cubby model Sewing Cubby 001

Speaker Stands
Since days after we moved into our current apartment, our speakers have been perched atop cubes of taped-together CD jewel cases. This helped to eliminate some of the unpleasant boominess, but I've never been satisfied with the sound in the room. Months ago, I tried some experiments and found I liked the sound better when the speakers were elevated to ear height while I was seated on the couch. I didn't think it would be too difficult to make speaker stands; I just didn't get around to doing it until now.

Height and stability were the most important considerations in my design, so I tried to work with those parameters before considering whether I had enough leftover plywood to actually build the design.

Speaker Stand-01

After completing the design, I took stock of my remaining plywood and found I was very short of the material my design required. I considered making the stands shorter, but wasn't really satisfied with the idea, so I let the design sit for a few days and then realized that by making the uprights thinner, I could still keep the height I wanted.

I revised the design and then began building.

I uploaded the model to the Sketchup 3D Warehouse, so you can download it if you like.

July 15, 2007

Sewing Organizer

Kelly has been looking for a better way to organize her spools. She's been keeping the spools in the bottom of her sewing basket. There was plywood left over from the computer desk hutch, so she asked me to build a plywood organizer with pegs on it

I may post this to Instructables one of these days. I already added captions to all of the pictures before uploading them to my Picasa web album. Unfortunately, I couldn't find an easy way to get the captions show up on this page without hand-editing the HTML.

July 12, 2007

Computer Desk Hutch

It's been awhile since I've posted here. Things have been busy at work -- and school is out for the summer. I've been working to rearrange my home studio/office. Things were getting a bit cramped and I haven't much felt like creating in the room, so I designed and built a simple hutch for my computer desk.

One of my goals for the summer was to learn how to user Sketchup. Here's a first sketch of the old room layout.

Old Studio  Layout v01

Once I got the hang of using Sketchup's "inference engine," things started getting easier. Here's the design of my hutch as well as a side table I made out of a recycled desk.

New Studio Layout

Here are a few phots of the process.

Woodworking 008 Woodworking 009 Woodworking 011 Woodworking 012 Woodworking 013 Woodworking 014 Woodworking 016 Woodworking 017

April 15, 2007

Force Sensing Resistor Experiments

We want to be able to sense how far people are pushing the poles in our installation. I thought we could do this by measuring how much force the PVC poles are exerting on the ring they're sitting in.

Since force sensing resistors from Interlink Electronics are expensive ($5-6/each) and also because I couldn't see how the fragile FSRs would fit into the holes we planned to use, I wanted to find a better solution.

I discovered it was possible to create FSRs out of wire and plastic wrap. Others have used conductive foam and wire mesh. Reading about linear position sensors also gave some insights.

Force Sensing Resistor Prototypes 003

I took 22 gauge wire from the physcomp lab, stripped it, and bent it back and forth to mimic the "fingers" on the FSRs I purchased from Interlink. After making two wire finger pieces, I wrapped one in seven layers of plastic wrap. I place the second set of wire fingers on the outside of the package and wrapped it into the existing package. My first few tests seemed very promising. When no pressure was applied to the package, the resistance was infinite. When I squashed the package, the resistance dropped down to about 10K.

Force Sensing Resistor Prototypes 011

The next trick was to try to duplicate this behavior on the end of a PVC pipe. We first tried applying the plastic wrap/wire packages around the end of the PVC pipe. The results were less encouraging than my initial experiments.

Force Sensing Resistor Prototypes 012

The homemade sensors were unreliable: either the sensor package was too tightly squashed between the PVC and the surrounding hole (and gave no resistance) or it was too loose and no amoung of bending the pole caused a reading.

March 28, 2007

Final Project Progress

Shlomit and I made some progress on our audio art final. We decided to build a sonic field of springs.

Strategies for sensing movement:

  • Flex sensor
  • Magnetic pickup (like electric guitar)
  • 2-axis potentiometer (joystick)

Maxed Out-5
After brainstorming more about producing sound and sensing movement, we built a tiny prototype, using the technique I discovered while building a prototype for Designing for Constraints.

Springs-4Springs-3

Springs-0

Maxed Out

I'm working on a personal art project for my final in Designing for Constraints. The following is my first prototype. I feel pulled in many directions simultaneously -- with ITP pulling the hardest. The inner sphere represents me. The springs tug at me in all directions.

Maxed Out-14

I developed this prototype from a simple sketch:

Maxed Out-0

I built the prototype out of materials I already had in my studio:


Maxed Out-1
CD jewel case covers
Maxed Out-5
Old guitar strings and 24 gauge wire spun into springs
Maxed Out-4

Maxed Out-7
26 gauge wire wrapped around a still central armature

Maxed Out-10

Class feedback:
- Walls of the piece could deform under pressure.
- Piece seems performative -- it may require my performance of the object to get its point across. A video might help with this.
- Stretch the box to its limits and videotape it as it breaks

March 03, 2007

Secret Tree Schematic

Last night, in preparation for building a perf board, I drew a first draft of the schematic for the Secret Tree.

Secret Tree v1

There are several things to do yet to properly document the project's electronics:

  • Add the clock crystal and other required components for the ATMEGA-8

  • Draw a system block diagram

  • Draw the finite state machines (although this may be overly complicated

Anyone have suggestions on how to simplify this schematic?

February 28, 2007

Chip Select on AD5206

Ai-Chen and I did a bit of rewiring on the Secret Tree circuit board. One of the problems we had last week was that all of the ground wires for the LEDs on the trees were connected to two PCB terminals. I didn't purchase enough terminal at RadioShack so that every pair could have a ground of its own. This not only made things messy, but it also made the connections suspect.

Updated Circuit 002

The other major discovery I made which explained much of the circuit's random (unintended) behavior was that the two AD5206 chips interfered with one another. I plugged a single LED into each of the twelve outputs (across the two chips) and found that a simple test program didn't operate properly when both chips were running. As soon as I disconnected the three data lines (CLK, SDI, and CS) from the second chip, the first chip would work properly. I wondered if there might be some sort of "floating" condition when the two chips were used together. Since CLK and SDI were shared, I hypothesized that CS was likely the culprate. To test this, I added 10K pull-down resistors on the chip selects of both chips. It worked! The test program dimmed the lights in the proper sequence rather than skipping around randomly on the third and fourth outputs.

November 28, 2006

- Continued construction using the perfboard/shrink tubing sensor package and finished two shoe prototypes
- User Test - Patricia (using foamboard prototype + Korg synth module)
- Felt that more sensitivity was needed. She found it difficult to trigger the samples without stomping really hard
- Didn't like bass drum on the heel; felt it would be more natural on the front
- Cannot tell where the sensor is -- perception is that it is close to the center of the shoe
- Feels the system is more responsive with the 10k resistor than with the 2k
- Could play either sitting or standing
- Would like to play along with some other music

October 22, 2006

Week 4 - Motion Assignment

I took a short movie of Kelly walking across the kitchen, opening the door, and walking through it. The motion of her forearms created a 3-dimensional volume which I rendered in aluminum and brass tubing joined with aircraft cables.

On Thursday night I brought the structure home on the bus and found it to be quite the conversation starter. It was interesting to watch people watching me.

Design Process
motion study

NOTES - experiments - 1 NOTES - experiments - 2 NOTES - experiments - 3

Near completion
Motion Assignment - start Motion Assignment

The Structure
Motion Assignment - finished - home install

September 25, 2006

Lab 2 - Analog Inputs (part 2)

When considering what to do for the creative part of my Physical Computing lab, I initially thought of some sort of mood-proclaiming piece of clothing.

Instead of using a flex or pressure sensor to light up the LEDs on a "luv-o-meter," I wanted to prototype a display for a t-shirt that could display a short and partially encrypted message about the wearer's stress level. I remember seeing a persistence of vision project on one of my first trips to ITP (perhaps it was the winter show?) and thought I might be able to make a single column of LEDs light up and scroll the message past.

Using only a slightly modified version of the circuit from my game of catch, I set about drafting some code to drive a vertical array of 5 LEDs.

Continue reading "Lab 2 - Analog Inputs (part 2)" »

Lab 2 - Analog Inputs (part 1)

LAB 3 - Pulse Width Modulation

In addition to the adjustable LED level suggested in the lab notes, I decided to program the Arduino board to gradually fade the LED level down from the level set by the potentiometer. Last week when I was working on my game of catch I wanted to have the first LED gently fade in and out during the "wind-up" phase of the throw. This week, I figured out how to do it.

Continue reading "Lab 2 - Analog Inputs (part 1)" »

September 20, 2006

More on Spatial Design Assignment 2

Lisa Lurie commented that the shape of the photo collage I assembled was an interesting piece by itself. She also suggested that a black background might increase the sense of being in the room.

Somewhere in the back of my mind were memories of books from my childhood -- the kind of books you cut shapes out of that become 3-dimensional objects. The form of the Living Room Composites I was created must have reminded me of the flattened out spheres from those books.

Living Room Composite - Final

Originally, I was trying to assemble and distort the photos to represent the 3-dimensional space on the flat surface of the computer screen. With the second composite, I worried less about distoring the perspective of the photos and more about matching up each of the rows of shots I had taken. Taking the X-Acto in hand, I was able to transform the flat images back into 3-dimensional space by way of the curved lens through which the light in the room had reflected into the camera. After cutting between the "arms" of the image, I pulled them together into a hemisphere to match up the duplicated parts of the images.

The unknown is whether this satisfies the requirements of the assignment. I worked with thumbnails of the original 3 megapixel images in order to keep the "technology frustration" to a minimum -- not having to worry so much about the time I had invested in the slow process of manipulating large images if the concept didn't work out. As it stands, my "model" is about 4" across and I'm not sure if it will be possible for people who are unfamiliar with my room to discern the objects in it.

September 18, 2006

Catch is Done for Now

I finished the first version of my catch game. The schematic is pretty basic... catch schematic.jpg ... and in fact it should be noted that I found a soldering problem on the little board I salvaged. Apparently when I rewired it, I knocked one of the circuit traces loose, which prevented the upper right switch from working. This caused me much consternation while trying to develop the catching algorithm. Thankfully Serial.println helped me figure things out. I modified my program to use the upper left switch for both throwing and catching. Maybe it's not so interactive anymore, but it's done and I have other things like Spatial Design homework to do. If you like to read source code, you can do so in the full entry.

Continue reading "Catch is Done for Now" »

September 17, 2006

Working on Catch

the whole layout

I'm working on a game of catch as my first self-chosen project in Physical Computing.

The idea is simple: two players throw a ball (represented by moving LED) back and forth. The thrower controls the speed by the amount of time he takes to release SW 1 after pressing it. To catch the ball, the second player, must press his button exactly when the ball reaches him.

The implementation is not as simple: it appears that I may need to draw a state diagram. The schematic isn't complex, but I have a feeling that the code will be.

For now, I will keep my goals simple.

1. Test out a throwing algorithm (done). I've already made the "ball" move and at varying speeds
2. Make SW1 trigger the throwing algorithm
3. Work out a catching algorithm

In order to get my salvaged switches working, I visually inspected the circuit traces and then poked around measuring continuity until I found the pairs that matched.

t-salvaged switch

September 04, 2006

The Summer Project

I spent a bunch of my summer building this bookshelf.

Bookshelf - Front View - Angled.jpg

Ikea sells them, but I guess I was looking for a character-building project. Perhaps the "patience" that came from constructing router jigs, the "peace" that comes from embracing imperfection, and the "wisdom" of knowing the correct tool to use for a job will show up at a later date. I must have started this project back in May or June...

The most difficult part of the project was cutting the box joints on the shelf support. There were thirty-two of them.

Bookshelf - Joint Detail.jpg