Danny Rozin Fall 2018

Class Times

https://www.mikroe.com/img/publication/pic-books/pic-microcontrollers/chapter/06/fig6-21.gifFall 2018

Wednesday 9:00-11:30

Wednesday 3:20-5:50


email address – danny.rozin@nyu.edu
calendar and office hour link – My office hours calendar

First Week

slides about interaction

my work


To do first week


See the following link for Parts Needed

Class Blogs

Email me with direct links to your documentation for this class. Note: please set up tags, categories, or whatever so the link goes directly to the documentation specifically for this class, and not every class, or your personal blog, etc.

Morning Section:

Afternoon section:

Week 6 – Serial

Shawn’s p5.serialcontrol app

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

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

Duplex (two way) serial communications (arduino <->P5)

For a more robust way of sending multiple values and also sending duplex look at this lab


Week 9 

Tentative final project schedule :

Concept – week 1 (Week 10 of semester)

To do:Narrow your ideas, make playtesting pototype, make BOM, Schedule, space and interaction diagrams

Interaction Design / play test – week 2 (Week 11 of semester)

To do: Reevaluate idea and interaction after playtesting, adjust BOM and diagrams accordingly, order stuff, learn required skills (special sensors and such)

 Implementation -week 4 ( Week 12 of semester)

To do: Build functional prototype (maybe not 100% fabricated exterior)

Usability testing week 5 (Week 13)

To do: Reevaluate usability after usability test, make changes, finish prototype including fabrication

Final presentation week 6 (Week 14)

To do: Celebrate! (and document)


Week 9 – 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

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.

http://www.mcmaster.com/#ac-motors/=zr6bef (scroll down)

DC Motors

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


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


Stepper motor

Attributes: medium speed, control speed, position, reversible


Geared stepper motor

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



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


Linear actuators

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


Attributes: Super fast, super short stroke, momentary


Mechanical linkages:

Hubs – https://www.servocity.com/html/hubs__couplers___adaptors.html

couplers – https://www.servocity.com/html/set_screw_shaft_couplers.html#.VkJ3Tq6rSEI

gears – https://www.servocity.com/html/pinion_gears.html

chains / sprockets – https://www.servocity.com/html/sprockets___chain.html

Belts / pulleys  – https://www.servocity.com/html/pulleys___belts.html

Power supplies:


Week 10

BOMs, system diagrams and time tables from previous semesters:

Controlling your resources:

  • Time
  • Money
  • Space

Planning your project:

  • interaction
  • electronics
  • space/ enclosure


Sam Levigne RoboCop
Chanwook Min
Some BOMS and diagrams of my (Danny) work


Week 12 – more communications

Some more Asynchronous serial:

Asynchronous = UART

Multiple UART Arduinos

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

Compare I2C and SPI


SPI schematic


SPI Potentiometer lab


I2C schematic


I2C infrared temperature sensor lab

Shifting :

Row – Column schematic

Another Multiplexer (not serial, analog)