### Tuesday 3:00: <a href='https://docs.google.com/forms/d/e/1FAIpQLSdpxJRnKEIR1p1wOCR7wyKd55Tw2ZIC5VlRyv20qMjygCeYvg/viewform?usp=sharing'>Mid-term survey</a> <br> 3:15: <a href='https://learn.sparkfun.com/tutorials/how-to-use-an-oscilloscope'>How to use an oscilloscope</a><br> 3:30: Output device extravaganza! (Choose one, or more) - <a href='../../lab/output/led/rgb.html' target="_self">RGB LEDs</a>: Control each color channel independently. - <a href='../../lab/output/led/strip.html' target="_self">LED Strips</a>: Light the first 4 LEDs of your LED strip with different colors. - <a href='../../lab/output/display/oled.html' target="_self">OLED</a>/ <a href='https://learn.adafruit.com/adafruit-1-14-240x135-color-tft-breakout'>TFT displays</a>: Write a function to change the screen color. - <a href='../../lab/output/buzzer/index.html' target="_self">Piezo Buzzers</a>: Compose a melody (3+ notes) and play it. - <a href='../../lab/output/speaker/amplifier.html' target="_self">i2s Speaker/Amplifier</a> (also see this <a href='https://dronebotworkshop.com/esp32-i2s/'>i2s tutorial</a>): Play a sound file. ### Reading: <a href='https://learn.sparkfun.com/tutorials/light-emitting-diodes-leds'>LEDs</a>, <a href='https://learn.sparkfun.com/tutorials/transistors'>Transistors</a>, <a href='https://learn.sparkfun.com/tutorials/how-to-use-an-oscilloscope'>How to use an oscilloscope</a><br> <a href='https://learn.sparkfun.com/tutorials/serial-communication/all'> UART / USART </a>, <a href='https://learn.sparkfun.com/tutorials/serial-peripheral-interface-spi'> Serial Peripheral Interface </a>, <a href='https://learn.sparkfun.com/tutorials/i2c'> I2C </a><br> ### Thursday 3:00: Assignment Review <br> 3:20: More motors! - <a href='../../lab/output/servo/index.html' target="_self">Servo motors</a> - <a href='https://itp.nyu.edu/physcomp/labs/motors-and-transistors/using-a-transistor-to-control-high-current-loads-with-an-arduino/'>EMF (motors/solenoids/valves)</a>: Open and close a solenoid with a FET. <a href='../../lab/output/emf/Transistor_ESP32S2.txt' target="_self">Code for ESP32</a> - <a href='../../lab/output/emf/encoder_steps.html' target="_self">Motor encoders</a>: Control a DC motor with precision - <a href='https://learn.sparkfun.com/tutorials/motors-and-selecting-the-right-one#brushless-motors---more-power'>Brushless DC motors</a> - <a href='../../lab/machine/steppers.html' target="_self">Stepper motors</a> ### Labs: - Discuss final project MVP progress (3D design) - Discuss CNC assignment - choose either vacuum forming, composites, molding and casting, etc. - Demonstrate the basics of using a 'scope. - Work on the assignment. ### Assignment: <p> <b>Minimum Viable Product:</b> Make a serious attempt at the most challenging/intimidating aspect of your final project.<br> 1. Include at least one input and one output device. <br> 2. Write a microcontroller program that integrates at least one input device and one output device. Avoid the <code>delay()</code> function and use the C++ class structure. <br> 3. Use an oscilloscope to discover the time domain at which your output device is operating. Is it on a fixed clock? What's its speed? Share images and describe your findings. <br> </p> Examples: [Isa (Plant Waterer)](https://isa-gooijer.github.io/PS70/07_output/index.html), <a href='https://kian2attari.github.io/2020/03/14/week-8.html'>Kian (pan/tilt kit)</a>, <a href='https://kassialove.github.io/PS70-assignments/week8.html'> Kassia (RGB LED / buzzer)</a>, <a href='https://tsevilla16.github.io/TeddySevilla-PS70/week8.html'> Teddy (LED Strip / pot)</a>.