Week 11 - Making Things Move II/Digital and Analog IO
Tuesday
Agenda - Making Things Move II
Artist of the Day
![image](https://user-images.githubusercontent.com/1598545/199234670-4492adcd-ad5b-4dc7-959e-af737f84db18.png)
Daniel Rozin
Motor Mounts
- Boolean subtraction
- 2d outlines then extrusions/cuts.
- Test prints to test fit.
- Working with screws and nuts.
Homework
Continue work on Making Things Move. NOTE: due date was moved to Monday.
Office Hours
Wednesday, 2-4pm.
Thursday
Agenda
Artist of the Day 2
![](https://user-images.githubusercontent.com/1598545/199747061-8090f82e-6b9d-4d82-b17d-0b3633036b4b.png)
Marguerite Humeau
Arduino Refresher
![Image](https://www.arduino.cc/wiki/static/7dbfb4b4c090ba1bc52c2a779822b8f9/29007/analoginoutserial1_bb.png)
https://www.arduino.cc/en/Tutorial/BuiltInExamples/AnalogInput
- Talk about Voltage, Current, and Resistance (Ohm’s Law)
- Talk about using a multimeter.
- Look at how a potentiometer (as voltage divider) changes voltages.
- How a changing voltage corresponds to an
analogRead()
Servo Sweep
- Install the Servo library:
- Tools -> Manage Libraries:
- Search for Servo. Click Install:
- Select the “Sweep” example:
![image](https://user-images.githubusercontent.com/1598545/140386249-6cd37d02-87af-4730-b97e-e04a0f0afb11.png)
![Image](https://www.arduino.cc/wiki/static/dcca996e7af6025b856c4907c3ffa235/01e7c/sweep_schem.png)
https://www.arduino.cc/en/Tutorial/LibraryExamples/Sweep
- How to read a schematic
- Pulse Width Modulation
Servo Knob
- Under Examples -> Servo, select the Knob example:
![Image](https://www.arduino.cc/wiki/static/32db11499efe2d9c9ee451f7996e42a2/e85cb/knob_bb.png)
![Image](https://www.arduino.cc/wiki/static/b0be5a84f8d4dd59d63cf0c102102fa6/b06ae/knob_schem.png)
- Reading the schematic.
- Use the servo to control two knobs.
Homework 2
Finish Making Things Move. (Due Monday). Be ready to demo on Tuesday.
Reference