Danny Rozin Fall 2022

Class Times

Wednesday 9:30am – 12:00pm room 410
Wednesday 3:20pm – 5:50pm room 412


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:


Afternoon class:

drawing of serial communications from between arduino and p5 overview
serial communications from between arduino and p5 overview

Class 8 – Serial:


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 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


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 with parseInt()

Class 6 – 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.


Geared AC motors

Attributes: cheap, slow, very strong, hard to control speed, hard to reverse.


DC Motors

Attributes: Cheap , strong, very fast , you can control speed but not angle, reversible


DC fans, DC blowers

DC pumps

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


DC motors from Cars

Car retractable antena motor

Car wipers motor

Car windows motor

Car door lock actuator

Stepper motor

Attributes: medium speed, control speed, position, reversible

Video explaining stepper motors and how to drive them


Geared stepper motor

Attributes: slow, strong, control speed, position, reversible


with driver board

Automotive gauge stepper motor (cluster)

Attributes: very light, weak, cheap , Can work directly from Arduino with no transistors or anything.

on amazon

video of inside


Attributes: slow, strong, control speed, position, reversible, 180 degrees , super easy to control


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


Converting servo to continuous motion

Linear actuators

Attributes: Linear, limited stroke, expensive, control like DC motor, some have potentiometer feedback


Stepper motor linear actuator


Attributes: Super fast, super short stroke, momentary


Solenoid valves

Solenoid locks

Mechanical linkages:

Hubs –



Couplers – 



Bearings –


Gears – 



Chains / sprockets – 



Belts / pulleys  –

timing belts, O Ring pulleys, cable pulleys


Power supplies:


computer power supplies, how to use computer power supplies

How to tell the capabilities of computer power supply


Wire gauge chart per amp 

Wire gauge chart diameter

multiconductor wire

Second class:

water metaphor sometimes helps explain the three components of electricity
water metaphor sometimes helps explain the three components of electricity

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, github mac, github Windows
Arduino Nano 33 IOT page and download Fritzing part

How to Use a Breadboard and Build a LED Circuit
Breadboard connections
Arduino Nano 33 IoT board with USB connector facing the top
Arduino Nano 33 IOT pinout

How The class will run:

The most valuable thing we can do when we are in person 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

slides about interaction

my work

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:


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:

Time Machine control panel
Time Machine control panel
Time Machine in "Back to the future" movie
Time Machine in “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:

Stewey's time machine
Stewie’s time machine
Stewey's time machine cabinet
Stewey’s time machine cabinet
Stewey's time machine control panel
Stewie’s time machine control panel

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:

video of Spongebob Squarepants episode – Time machine at 2:20

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.