Arduino

Physical Computing / Week Six by Pippa Kelmenson

Assignment:

Do the labs that were covered in class this week (Intro to Asynchronous Serial Communications & Serial Input to P5.js). Make a serial application that controls one of the animation projects you’ve done in intro to computational media with analog sensor data from an Arduino, sent to the browser serially, as shown in this week’s lab.

Step 1: Intro to Asynchronous Serial Communications

Step 2: Serial Input to P5.js

ERRORS!

Reflections:

After iterating the assignment’s second step several times, I finally(!) was able to create a graph with my potentiometer in P5.js. Unfortunately, however, it was the one time I didn’t document my progress. After that I was unable to send data from the potentiometer linked to my Arduino to P5.js other than establish communication between the Arduino and the computer, as well as the Arduino and P5.js in the console. With all of the errors that occurred, he most frequent was an “undefined sensor value."

Had my serial input to P5.js worked without error, I would have liked to create a physical interface for my piano sketch in P5.js. Rather than use one potentiometer, I would use buttons to correspond to each key in my sketch.

Physical Computing / Week Five by Pippa Kelmenson

Assignment: Tone Output with Arduino

Step 1: Only 1 speaker outputs audio?

Step 2: Both speakers output audio!

Result:

Making sound!

Reflections:

I’d love to apply this speaker lab to an interactive project in which conductive materials can trigger the sounds to the speakers. My original idea was to create two drum pads from the speakers themselves, by adding conductive mesh (glued taut onto the speakers). By striking the speakers with conductive drumsticks, the mesh over the speakers would output audio as they are being touched with each drumstick. A problem I’ve run into so far revolves around speaker models and the various resistance between different models. Some questions I have include:

  • How do I know what components I need for different speakers?

  • Should I edit my Arduino code to reflect the more powerful speakers?

Physical Computing / Week Four by Pippa Kelmenson

Assignment: Servo Output with Arduino and Touch Sensor

Step 1: Test Schematic

Step 2: Add Touch Sensor

Broken Arduino?

Reflections:

Although this was the lab I had the least trouble with, in my creative application I found that my Arduino had a hard time connecting to my breadboard. I tried 2 different breadboards, various wires, and even tried the circuit with an Arduino Uno, all with no luck. Once I’m able to troubleshoot the problems with both Arduinos, I hope to apply my circuit to a bigger project that lifts and drops various materials.

Inspiration:

Physical Computing / Week Three by Pippa Kelmenson

Assignment 1: Digital Input/Output with Arduino

Assignment 2: Analog Input with Arduino

Step 1: LED & Potentiometer

Step 2: Touch Sensor

Observation:

Pick a piece of interactive technology in public, used by multiple people. Write down your assumptions as to how it’s used, and describe the context in which it’s being used. Watch people use it, preferably without them knowing they’re being observed. Take notes on how they use it, what they do differently, what appear to be the difficulties, what appear to be the easiest parts. Record what takes the longest, what takes the least amount of time, and how long the whole transaction takes. Consider how the readings from Norman and Crawford reflect on what you see.

Physical Computing / Week Two by Pippa Kelmenson

Assignment:

Controlling an LED with a switch (two pieces of conductive material that can touch each other to complete a circuit) and Arduino. Switches can be made out of any conductives.

Process:

Blink.gif

Step 1

Made a connection with an Arduino Uno and the “Blink” code from the application reference page.

Touch.gif

Step 2

Re-wired the connection to blink LED by touching conductive materials. No code necessary.

Uno.gif

Step 3

Re-wired the circuit to another breadboard ( same relative connections) with the Arduino Nano. No code necessary.

IMG_5391.jpeg

Step 4

… Nothing happens!

WHY DON’T YOU WORK

WHY DON’T YOU WORK

Broken.jpeg

Step 5

Broke my Arduino (oops), but it still works! (?)

Inverse.gif

Step 6

But now conductive wires work to turn OFF LED

Working.gif

Step 7

Rewired inverse and it works!

SHE WORKS!

Reflections:

I found it very frustrating that my circuit seemed to work with the Arduino Uno, but not the Arduino Nano. As someone who’s used to the Arduino Uno, I thought that the Nano pins were very hard to read, and especially hard to place (since there are no sockets, and it didn’t seem to want to be snapped into place on the breadboard). I also had trouble with the Nano pins connecting to my breadboard—they would often move or become displaced—and couldn’t distinguish which pins were GND and PWR.

I decided to use the Arduino simply as a power source and wire up the circuit to the breadboard in a way in which two wires could conduct electricity and could therefore be the “switch.” Although this proved to be successful after snapping my Arduino into place (and breaking a piece off in the process, oops), I wasn’t able to wire a conventional “button” to my breadboard.

Eventually I used a potato covered with conductive paint to be used as a switch to complete my circuit!