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.
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
- 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.
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.
References:
Slide 1: http://www.ted.com/talks/cynthia_breazeal_the_rise_of_personal_robots.html
Slide 2: http://www.youtube.com/watch?v=ilmDN2e_Flc
Slide 3: cynthia: http://web.media.mit.edu/~cynthiab/_homepics_/images/1.jpg
c3po: http://www.grudge-match.com/Images/c3po.gif
Slide 4: http://robotic.media.mit.edu/people/people.html
Slide 5: http://www.youtube.com/watch?v=ilmDN2e_Flc
Slide 6: cmu: http://www.cmu.edu/homeimages/CarnegieMellonUniversity_wordmark.gif
intel: http://www.extremetech.com/wp-content/uploads/2011/08/intel-logo.jpg
stan winston: http://jimhillmedia.com/mb/images/upload/Stan-Winston-Book-Cover-web.jpg
Slide 7: http://robotic.media.mit.edu/projects/robots/leonardo/body/body.html
Slide 8: http://robotic.media.mit.edu/projects/robots/leonardo/skin/skin.html
Slide 9: http://robotic.media.mit.edu/projects/robots/leonardo/em/em.html
Slide 10: http://robotic.media.mit.edu/projects/robots/leonardo/sociallearning/sociallearning.html
Slides 11-14: http://robotic.media.mit.edu/projects/robots/leonardo/sociallearning/sociallearning.html
Slides 15-17: http://www.ted.com/talks/cynthia_breazeal_the_rise_of_personal_robots.html
Slide 18: https://www.technologyreview.in/files/42262/robotic%20arm_nextsapiens.jpg
Slide 19: http://robotic.media.mit.edu/index.html
Slide 20: http://images.photoresearchers.com/photos/preview/ba/ba8735.jpg