Wednesday, September 8, 2010

Arduino Workshop - Day 7

Because of the holidays, our workday was shortened and was spent mostly on practical work in developing our individual projects, troubleshooting circuiting problems, successfully connecting Arduino + sensors to Max/MSP, and branching the combination into more complex Max patches.

Happy New Year!

Monday, September 6, 2010

Day 5 on Arduino Workshop

Today we've advanced a little more in theory, rest of the time it was individual work on projects (mine and Ahuva's is going to be called fluteduino before we're settled with the name and the hardware).

We started off by being introduced to the Parallel Resistors topic. Yep, it's been proved that in this case the total resistance of the two resistors is going to be not more but less than that of any of the individual resistors involved (except in case that one of the resistors has no resistance at all). Or to be more specific:

Rtotal = R1*R2/(R1+R2)

The initial study plan, as it turned out, did not list the act of proving this theorem, so it was more like an impulse of the moment. Which I think was a good impulse, as it made us all feel much more secure and demistified.  Watch, it's a pretty straightforward and, dare I say, elegant one:

From Ohm's Law we know that:





But also:


And (as resistors are connected in parallel):




Regarding It, it's simply a sum of I1 and I2, because the total current (call it a "flow") cannot be any more or less than the "subflows" strictly derived of it (Kirchoff Law):




Going back and subsituting, we get:

Rt=Vt / (Vt/R1 + Vt/R2)

Simplify this a little and we're done:

Rt = R1*R2 / (R1+R2)

All of that and more, with charming pictures and classic diagrams, should be found in Nori's Lecture notes.

See you tomorrow morning,


Arduino Workshop - Day 4

Today we hit the boards full speed as we continued to build circuits with Arduino that communicate with Max/MSP. We tested a plethora of sensors on our breadboards; anything that could be connected to a cycle~ object was given a test run. Itamar guided us through connecting a basic circuit with a potentiometer as the variable resistor. People quickly moved on to sensors that measured temperature, tilt, distance, magnetic fields, and many more.