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

Contact

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

Supplies

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.

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 (scroll down)

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

Stepper motor

Attributes: medium speed, control speed, position, reversible

https://www.adafruit.com/products/324

Geared stepper motor

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

https://www.adafruit.com/products/918

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

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

https://www.sparkfun.com/categories/307

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:

https://itp.nyu.edu/physcomp/labs/labs-serial-communication/lab-midi-output-using-an-arduino/

DMX, Control lighting and other theatrical and home automation:

https://www.tindie.com/products/Conceptinetics/25kv-isolated-dmx-512-shield-for-arduino-rdm-capable-r2/?pt=full_prod_search

Synchronous serial:

compare synchronous and asynchronous

Compare I2C and SPI

SPI

SPI schematic

https://www.arduino.cc/en/Reference/SPI

SPI Potentiometer lab

I2C

I2C schematic

https://www.arduino.cc/en/Reference/Wire

I2C infrared temperature sensor lab

Shifting :

https://www.arduino.cc/en/Reference/ShiftOut
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

 

 

 

Originally written on August 31, 2018 by Tom Igoe
Last modified on November 28, 2018 by Daniel Rozin