### Agenda: <p> 12:00: Assignment Review <br> 12:30: Review <a href='../../lab/input/voltage.html' target="_self">Voltage Dividers</a>. Build one of the following circuits. How do you know which fixed-value resistor to use? <br> <ul> <li>Potentiometers</li> <li><a href='../../lab/input/hall/index.html' target="_self">Magnetic Field</a></li> <li><a href='../../lab/input/temp/index.html' target="_self">Temperature</a></li> <li><a href='../../lab/input/force/index.html' target="_self">Force/Flex</a></li> <li><a href='../../lab/input/light/index.html' target="_self">Light</a></li> </ul> 1:00: Other Sensors: <br> <br> <ul> <li><a href='../../lab/input/mic/index.html' target="_self">Microphones</a></li> <li><a href='../../lab/input/piezo/index.html' target="_self">Piezoelectric (voltage-generating)</a></li> <li><a href='../../lab/input/IR/index.html' target="_self"> IR transmit-receive (proximity)</a></li> <li><a href='https://learn.adafruit.com/adafruit-lis3dh-triple-axis-accelerometer-breakout/arduino'>LIS3DH </a>Accelerometer, <a href='https://randomnerdtutorials.com/arduino-mpu-6050-accelerometer-gyroscope/'>MPU-6050 Gyro/Accelerometer</a>, <a href='https://www.adafruit.com/product/2472'>BNO055</a> IMU</li> <li>ESP32-CAM (or ESP32S3, etc.) See <a href='https://eloquentarduino.com/'> EloquentArduino</a> for onboard image processing, as opposed to RandomNerd etc. where images must be streamed to a more powerful computer for processing. </li> </ul> </p> <p> 1:30: Break <br> 1:40: <a href='https://docs.google.com/forms/d/1Kd3Imgx7UAPE0Wy6rliogJHcWkk-qQhraghbmb3-m6M/viewform?edit_requested=true'> Arduino Self-Assessment </a><br> 1:45: <a href='../../lab/input/capacitance/index.html' target="_self">Capacitive Sensors</a><br> 2:00: Sensor fabrication workshop: make a capacitance-based sensor. Discuss appplications and calibration. <br> </p> <h3> Assignment: </h3> <p> 1. Make a capacitive sensor to measure a physical quantity with your microcontroller. Avoid the <code>delay()</code> function; use timers instead. <br> 2. Configure and use another sensor (temperature, microphone, etc.). Include at least one output device (it could just be an LED). Avoid the <code>delay()</code> function and use the C++ class structure. <br> 3. Include schematics of each sensor. 4. Calibrate each sensor by plotting points on a graph. Discuss the relationship between the signals recorded by your microcontroller and the physical quantities that you're measuring (i.e., it is likely not a linear relationship). <br> 5. Make a plan for the CNC assignment. Consider either 2D DXF files for routing sheet material (like plywood or OSB), or 3D STL files to mill out a (2.5D) shape. </p> <p> Examples: <a href='https://wujibi123.github.io/PHYS_S-12/07_ElectronicInput/index.html'>Dan (thermistor)</a>, <a href='https://silviafesta.github.io/PHYS_S-12/Assignments/assignment6.html'> Silvia (IR phototransistor)</a>, <a href='https://2048-student.github.io/PHYS_S-12/pages/classvii.html'> Andrew (Hall sensor)</a>. </p> <h3> Labs: </h3> <!-- Work on sensor fabrication and calibration. Make sure to use lab times this week to develop your concept for your final project. Additionally, use lab time to make up work, debug circuits from previous assignments, etc. --> Build and code Useless Box.<br> <a href="../../lab/input/UselessBoxClassCode.html">Code</a> <h3> Reading: </h3> <p> Review SparkFun's pages on <a href='https://learn.sparkfun.com/tutorials/analog-to-digital-conversion/all'> Analog to Digital Conversion</a>, <a href='https://learn.sparkfun.com/tutorials/voltage-dividers'>Voltage Dividers</a>, <a href='https://learn.sparkfun.com/tutorials/capacitors'>Capacitors</a>, and <a href='https://learn.sparkfun.com/tutorials/series-and-parallel-circuits'>Series and Parallel Circuits</a>. </p> <p> Read chapters 5 and 6 of <a href='http://mars1980.github.io/resources/making_things_move.pdf' > Making Things Move </a><br> <a href='https://learn.sparkfun.com/tutorials/pulse-width-modulation'>Pulse Width Modulation</a><br> </p> <!-- <h3> Resources: </h3> --> <!-- <p> <a href='https://roberthart56.github.io/SCFAB/SC_lab/Sensors/Sensors.html'>Sensors in the Lab</a><br> <a href='http://academy.cba.mit.edu/classes/input_devices/index.html' >Input device page from "HTMAA" (MIT course).</a> <br> </p> -->