iPhone/iPod Touch to Tilt-Pan Servo through Teensy/Max

Max,Microcontroller — Ali Momeni @ 10:37 pm

<pre><code> ———-begin_max5_patcher———- 1817.3oc0alsaaiCE.8YmuBBg4wjTtos91f9AzAnCv7vjAEzxLwr0VxPhJKs n+6CWjcjSohkskXT.R7hrL08d3k2MJ+yKlELu3QdU.3if+ELa1OuX1LygzGX Vy6mErl8X1JVk4zBxJVulmKCtz9YR9iRyw+6h5rke9KeBbaQIPrYYQN+Ch+p XAv7AfaxYYY7Uq3kEq4RdYEPV.jhUxq1vxAYr07RFnhWdeQ01gdkHmmUTmaF ebyAEKLWsh4e6pvjsm4sE4xb0PX9n+rTvV09SpD+v7InzqgoIzXTymsojWoz DlTTj+0RdlzhAD7Z3k.bh9QXyCf+q46jWuVjuhKMr.87AKpkaOJb6vyjYKE4 20ZnCiziWr9ARjYrCQ5AW+E90EWne3xdNMjyePwfsp48rxc5eMIhBgDDJ92l iX0xBkXIKCbPy3CSSqVJeZC2pOAAW15+cPZOniuF1e1Q6lcnT30gJfgIFtkp eCFdhzqKiX1sJSSP05hBo9x6BSQGoQ2y5eG1azThVWhhnifEGkXvUTpwxCAQ Fa6gFay4pE87cbyE1BGdrgzXS+zngsPLbHv19qU2QspL1JtRnAH0e33qUuzE 4Hmx5xiZsXjS7fdE7.MlrDqIKBFN13AZHjK5PmdzAmz3gugN3yhNaDYxpUhE bmNswcpjB85T6S6T2MrRlI56W44r4q3sWErmNicpy3CpyT6JEDDt6oA0QiNg AWX.M3dWHTS.FR7H3cAQMdWnolbLrAzFbexpzpbQJ3ISpySmU1Gg6TYx3DF5 GNTXZxPaZfaVPmDMBlFXXjEPFWp5LVGAN8jKNEOzbBQZ3znrDh3AN8nKNE8V s.xCJrbIGbytJ4tInoNN.ayFfnRUdV9BkPAxqmuVWAmHGn+FME8slIuD7fPt zbPMYTi0GTU883S+3l.mE0QcvWxPaGRhM9bRFi7DIIFa7TiKbTrYzivC9rhh 8J1ntpUf4kJIvfdkPNWOKbq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ASE7u3WSkY.0Gee.VUTWlsUA196uA7r09BdkTjaVhz5jz2HMs NokhEK34scvuPTo84a3Iz4TYekGcVgGVdfdSddwkxs7D6OwgzW7fmXxCZ5Lc Q727EpOxC1eKudwkxs7LwDGBZZs7xHz3Il73mkWg8Qdz+5f7k7P6q73I64v9 HOT+IOQ8QdH9ycXeren9KbQ+x1HYhEtHYZYOifSK6Yj+hWf6k+4H+IO39HOg 9ydNYuPkcHOT+JOnCIOD+JOGb9xewuP8w9AkLwjmX+EunOq2Q3oU7Tj+Vu2m lI3OooOEW3OeO8IUU+E4JbRIMjQTZrsHisYy87xplgzHHAqYeqnb2clWvZQt 8slQLnjeuX64SuPOZ+5h+GjQ8SiL ———–end_max5_patcher———– </code></pre>

Teensy/Arduino to Photo-resistor, 12V Solenoid, 12V RGB LED, 3.3V Solenoid, Servo, 12V Light Bulb

_to-export,Assignment,Microcontroller — Ali Momeni @ 9:39 pm

Here’s some help on the assignment due on Monday. The entire set uses three different integrated circuit (IC) components (see image 3 below)

  • IRF540: A MOSFET/Power Transistor; used to turn DC actuators on and off
  • L7805: +5V Voltage Regulator, used step-down the power-supply (>5V) to 5V for a servo
  • LD33V: +3.3V Voltage Regulator, used to setp-down the power-supply voltage (>5V) to 3.3V for a small solenoid
NOTE: while both the L7805 and the LD33V are “voltage regulators”, their pin-ordering is different; look at the datasheet!

Image 1 below shows a breadboard circuit for connecting the Teensy microcontroller to (letters refer to image 2 below)

  • A: 1 x 3.3V solenoid (needs 1 x LD33V 3.3V Voltage Regulator and 1 x IRF540 MOSFET)
  • B: 1 x Servo (needs 1 x L7805CV +5V Voltage Regulator)
  • C: 1 x 12V solenoid (needs 1 x IRF 540 MOSFET) [image 6]
  • D: 1 x 12V incandescent light bulb (needs  1 x IRF 540 MOSFETS) [image 6]
  • E: 1 x 12V RGB LED strip (needs 3 x IRF 540 MOSFETS) [image 7]
  • F: 3 x photoresistors (needs photoresistor and resistor) [image 8]
NOTE: The two vertical strips of the breadboard are used to distribute GROUND (common for Teensy and Power Supply), and the two different supply voltages (one from Teensy, one from Power supply); please see image 4 below.

DUE Mon Mar 28, 2012

Please prepare a system using Max, a Teensy microcontroller, and the necessary components that performs the following:

  • A photocell controlling the position of a servo that rotates a small figure (e.g. a toy figure or animal, a fruit, a plant, a hairball, a sea urchin, etc)
  • Another photocell controlling the brightness of an incandescent light-bulb that create an animated shadow; for this you must find a way to arrange and fix in space: the light bulb, the object casting a shadow, and the screen onto which the shadow is cast
  • Another photocell controlling the speed at which a solenoid hits against some doohickey that makes sound, i.e.  your musical score. For this you must find a way to fix a solenoid in the upright position, so that after it strikes the doohickey bounces back down to its relaxed position

Additional credit give for:

  • Using any sensor besides a photocell
  • Creating a meaningful interaction among the three actors: the figure, the light, the sound

DUE Mar 28, 2012: twinkling LEDs and a sensor

Assignment,Description,Max,Techniques — Ali Momeni @ 10:35 pm
  • Make a circuit that allows you to connect four or more LEDs to a Teensy microcontroller on a breadboard
  • Make a circuit that allows you to connect one or more photocells/photoresistors to a Teensy microcontroller on the same breadboard
  • Create a Max patch that allows you to sequence the twinkling of the LEDs, in correspondence with the incoming sensor values from the photocell/photoresistor

I’ve uploaded the two Max patches from class today; feel free to use them, or parts of them to help you complete the assignment.

 

DUE Mar 26, 2012: Download and Install Software

Assignment,Max,Software — Ali Momeni @ 5:12 pm

I’ve created a page called Software under the instructions heading; you will also find it in the right column of our blog.

Please follow the instructions in that page to download and install all the necessary software for your computer before arriving to class on Monday Mar. 26, 2012.

 

 

DUE Mar 21, 2012: Short presentation on a miniature work

Assignment,Description — Ali Momeni @ 4:46 pm
  1. Choose a specific work that you consider related to the topic of “miniature”; animated/interactive/mechanical/gestural works preferred.
  2. Research this work: learn about its maker, philosophy, materials, concepts, goals
  3. Prepare a 5 minutes and 40 seconds presentation in the style of  Pecha-Kucha (20 slides, 20 seconds each).  Preserve the Pecha-Kucha format strictly!
  4. Embed  your presentation in a post to this site as a Prezi</a> or a Google Presentation, before you arrive to class on Monday March. 21.
  5. Be prepared to give your 5’40” presentation in class.

DUE Mar 26, 2012: Stewart’s “On Longing”

Assignment,Description — Ali Momeni @ 4:39 pm
  1. Read the Prologue and first chapter On longing by Susan Stewart (1984)
  2. Write a three paragraph response to this reading refers to three specific ideas, trends, trajectories, or elements in the text
  3. Post your response to this blog as comments to this post

 

Shadows, movements, obsessions, automata

Artists,Reference — Tags: — Ali Momeni @ 4:32 pm

MINIATURE

SHADOW

MOVEMENT

OBSESSIONS

AUTOMATA

Student Works

Welcome

Course Administration — Ali Momeni @ 4:08 pm

Hello and welcome to 3D Media Studio II (Animated Theater).

Links to relevant resources for the course as well as student contributions and discussions will be posted on this blog.

Please begin by viewing the syllabus page.

« Previous Page
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.
(c) 2024 3D Media Studio II: Animated Theater | powered by WordPress with Barecity