Class Times
Wednesdays, 9:10 AM – 11:40 AM, 370 Jay Street, Room 410
Wednesdays, 3:30 PM – 6:00 PM, 370 Jay Street, Room 409
Contact
Book office hours with me on my calendar. I will schedule regular office hour appointment slots which you can book automatically once the semester starts. You’ll need to sign in with your NYU login to see it.
Feel free to email me at danny.rozin@nyu.edu if you have any questions or things you want to talk about.
Class Blogs
Morning class:
Arthur Jr.,Bruce |
Chang,Leia |
Goel,Megha |
Guang,Kelin |
Han,Yuwen |
Lee,Kevin |
Ngiam,Vivian |
Ratanavanh,Spencer |
Rong,Luhan |
Selvabarathy,Suraj |
Sodre,Pedro |
Sun,Lindsey |
Trebisacci,Tatiana Tash |
Xu,Shuchen |
Zhou,Peiyu Eva |
Afternoon class:
Cappelli,Christina |
Hodge,La’Kay |
Hu,Meijie |
Ji,Ziwei |
Ke,Xiaoyu (Rockey) |
Li,Tony |
Lu,Julia Margaret |
Mai,Angel |
Oh,Yeseul |
Rodriguez Ostia,Lorena |
Wang,Lifei |
Williams,Maya |
Worthington,Addison |
Zhang,Yvonne Aga, Adnan |
Week 11 – Loads
AC Loads:
Any AC load can be controlled with Arduino using a relay, including motors, fans, lights, computers,
power switch tail https://www.adafruit.com/products/268 safest and most convenient
Relay https://www.sparkfun.com/products/10924 you need to wire your high voltage through it so be super careful (Relay Tutorial)
AC motors
Attributes: Cheap, strong, medium speed, hard to control speed, hard to reverse.
http://www.mcmaster.com/#ac-motors/=5yytj1gdt8igtyq137
Geared AC motors
Attributes: cheap, slow, very strong, hard to control speed, hard to reverse.
http://www.mcmaster.com/#ac-motors/=zr6bef
DC Motors
Attributes: Cheap , strong, very fast , you can control speed but not angle, reversible
https://www.adafruit.com/products/711
Geared DC motors
Attributes: Very strong, slow , you can control speed but not angle, reversible https://www.servocity.com/html/micro_gearmotorblocks.html
DC motors with encoder
Attributes: Like DC motors but give you to feedback via optical encoder
https://www.servocity.com/html/3-12v_planetary_gear_motors_wi.html
DC motors from Cars
Stepper motor
Good video explaining stepper motors
Attributes: medium speed, control speed, position, reversibleG
https://www.adafruit.com/products/324
Geared stepper motor
Attributes: slow, strong, control speed, position, reversible
https://www.adafruit.com/products/918
Automotive gauge stepper motor (cluster)
Attributes: very light, weak, cheap , Can work directly from Arduino with no transistors or anything.
Servo
Attributes: slow, strong, control speed, position, reversible, 180 degrees , super easy to control
https://www.adafruit.com/products/155
More servos – https://www.servocity.com/html/servos___accessories.html
Continuous rotation 360 degree servo
Attributes: slow, strong, control speed, reversible, super easy to control
https://www.adafruit.com/products/154
Convert servo to continuous motion
Linear actuators
Attributes: Linear, limited stroke, expensive, control like DC motor, some have potentiometer feedback
https://www.servocity.com/html/12v_linear_actuators.html
Solenoids
Attributes: Super fast, super short stroke, momentary
https://www.sparkfun.com/products/11015
Mechanical linkages:
Hubs – https://www.servocity.com/html/hubs__couplers___adaptors.html
couplers – https://www.servocity.com/couplers/
gears – https://www.servocity.com/html/pinion_gears.html
chains / sprockets – https://www.servocity.com/html/sprockets___chain.html
Belts / pulleys –timing belts, O Ring pulleys, cable pulleys
Power supplies:
https://www.sparkfun.com/categories/307
computer power supplies, how to use computer power supplies
How to tell the capabilities of computer power supply
Wires
Project 3 BOMs
Week 9 – more communications
Some more Asynchronous serial:
Adding Software Serial to Arduino
For long distance or many nodes – RS485
MIDI, Control sound and synthesizers from Arduino:
DMX, Control lighting and other theatrical and home automation:
Synchronous serial:
compare synchronous and asynchronous
SPI
https://www.arduino.cc/en/Reference/SPI
I2C
https://www.arduino.cc/en/Reference/Wire
I2C infrared temperature sensor lab
Shifting :
https://www.arduino.cc/en/Reference/ShiftOutTutorial
https://www.arduino.cc/en/Reference/ShiftIn
http://www.instructables.com/id/Multiplexing-with-Arduino-and-the-74HC595/?ALLSTEPS
Row – Column schematic
Another Multiplexer (not serial, analog)
http://playground.arduino.cc/Learning/4051
Project 2
Morning:
1-Chang,Leia with Ratanavanh,Spencer , with Arthur Jr.,Bruce
2-Goel,Megha with Trebisacci,Tatiana Tash
3-Guang,Kelin with Zhou,Peiyu Eva
4-Rong,Luhan with Xu,Shuchen with Han,Yuwen
5-Sodre,Pedro with Sun,Lindsey with with Ngiam,Vivian
6-Lee,Kevin with with Selvabarathy,Suraj
Afternoon:
1-Hodge,La’Kay
2-Hu,Meijie
3-Ji,Ziwei
4-Ke,Xiaoyu (Rockey) with Li,Tony
5-Lu,Julia Margaret
6-Oh,Yeseul
7-Wang,Lifei with Zhang,Yvonne
8-Williams,Maya
9-Worthington,Addison with Aga, Adnan
10-Cappelli,Christina
11- Mai,Angel with Rodriguez Ostia,Lorena
Week 9 project2 workshop:
- 10:40 – 11:00 :
- 1 <-> 2
- 3 <-> 4
- 5 <-> 6
- 11:00-11:20 :
- 1 <-> 4
- 3 <-> 6
- 5 <-> 2
- 11:20-11:40 :
- 1 <-> 6
- 3 <-> 2
- 5 <-> 4
- 5:00 – 5:20 :
- 1 <-> 2
- 3 <-> 4
- 5 <-> 6
- 7 <-> 8
- 9 <-> 10 <-> 11
- 5:20 – 5:40 :
- 1 <-> 4
- 3 <-> 6 <-> 8
- 5 <-> 11
- 7 <-> 10
- 9 <-> 2
- 5:40 – 6:00 :
- 1 <-> 6
- 3 <-> 11
- 5 <-> 10 <-> 4
- 7 <-> 2
- 9 <-> 8
Class 7
ARDUINO -> P5
P5 and Arduino sketches for sending 1 byte binary from Arduino to P5
P5 and Arduino sketches for sending 1 value in ascii from Arduino to P5
P5 -> ARDUINO
P5 and Arduino sketches for sending 1 byte binary from P5 to Arduino
P5 and Arduino sketches for sending 1 value in ascii from P5 to Arduino
P5 and Arduino sketches for sending 1 byte binary P5 to Arduino with capture
MULTIPLE VALUES
P5 and Arduino sketches for sending multiple values in ascii from Arduino to P5
P5 and Arduino sketches for sending multiple values in ascii from P5 to Arduino
P5 and Arduino sketches for sending multiple values in ascii from P5 to Arduino with parseInt()
DUPLEX (TWO WAY) SERIAL COMMUNICATIONS (ARDUINO <->P5)
P5 and Arduino sketches for sending 3 values in ascii from Arduino to P5 with handshake
Project 1 teams
Morning:
- “Bruce Arthur”
- “Kelin Guang”, “Peiyu Eva Zhou”
- “Leia Chang”
- “Spencer Ratanavanh”
- “Pedro Sodre” , “Vivian Ngiam” , “Lindsey Sun” ,
- “Shuchen Xu” , “Luhan Rong” , “Yuwen Han”
- “Suraj Selvabarathy” , “Kevin Lee”
- “Tatiana Trebisacci” , “Megha Goel”,
Afternoon:
- “Christina Cappelli”>, “Angel Mai”
- “Julia Lu”,”Tony Li”
- “Xiaoyu (Rockey) Ke” ,”Yvonne Zhang” ,
- “Lorena Rodriguez Ostia” , “La’Kay Hodge” ,
- “Maya Williams” ,
- “Meijie Hu” , “Lifei Wang”,
- “Addison Worthington” “Adnan Aga” ,
- “Yeseul Oh” ,
- “Ziwei Ji”
Class 3
Second class:
Hight of water reservoir = Potential = volts = v
Narrowness of pipe = Resistance = ohms = R
The resulting flow of water= Current = Amps = I
Fritzing github (free?), or buy
Arduino Nano 33 IOT page and download Fritzing part
How The class will run:
The most valuable thing we can do when we are in person or online in a class meeting together is to discuss and practice the subject that you’re learning. Any “lecture material” is on this site in video or written form, and assigned for the weeks where we will discuss it. I will expect that you’ve done the readings or watched the videos and tried the lab exercises assigned in advance of each class, and are coming to the class meetings with questions. Class meetings will be mainly discussions and shared demonstrations or experiments, not lectures. Use class time to get me or your classmates to clarify things you didn’t understand from the assigned material.
It’s okay if you couldn’t get a lab exercise or a project to work. When that happens, try to debug it, explain what you did in your blog, and come to class prepared to talk about the details and ask specific questions. Pay attention to your classmates’ work and their questions; quite often, they’ll be asking the same thing as you.
First class
Fantasy Device – As a class, we’ll make a list of fantasy devices; things that don’t exist, but that we wish did. For today, we’ll ignore technical feasibility and concentrate on how you’d operate these devices if they did exist. You’ll be divided into groups of 3. Pick a fantasy device from the list. Design a control interface for this device and demonstrate it in class.
It is sometimes useful to think in terms of WH questions and try to answer them in your design:
WHO? WHEN? WHERE? WHAT?
Lets take an example, A popular fantasy device in movies and books is a time machine. In movies and TV, the production has to imagine what these devices look like and how they are controlled:
“Back to the future” movie:
So thinking about the WH questions:
WHAT is it ? – A car.
WHO gets to go ? – anyone in the car.
WHERE does it take you ? Set in the control panel.
WHEN does it activate ? When the car reaches 80 MPS.
Stewie from “Family Guy” time machine:
Here the designers decided the machine is a cabinet, but they also added a disc that goes with Stewie and is used to get back:
WHAT? – A cabinet and a disc
WHO gets to go? Anyone in the cabinet or on the disc.
WHEN does it activate ? Not sure, but there is a big red button…
WHERE does it take you? There is a control panel, note that the control seems to be relative, so you can go forwards and backwards, not absolute like in “Back to the future”
“Spongebob Squarepants” time machine:
Here the machine is the freezer from the Crusty Crab, note that the whole freezer travels through time and it is ripped from it’s surroundings
WHAT is it ? A freezer.
WHO gets to go ? Whoever is in the freezer.
WHERE does it go? Hard to say, looks like two levers and no display.
WHEN does it activate? Hard to say, but it has some buttons.