ENGR 2110 - Principles of Engineering
Profs. Millner, Faas, Minch, & Reifel
Lab 2 - Due before class Tues., 9/25
Lab 2 - DIY 3D Scanner
1) Build and program a rudimentary 3D scanner using a pan/tilt mechanism
2) Scan an object of known, well-defined geometry
3) Visualize the output from your scanner
The first lab should have gotten you comfortable with (or at least aware of) how to read and write digital signals, how to read and convert analog signals, and how to use an analog input to change the digital behavior of your circuit.
The purpose of this lab is to introduce sensors and actuators. Sensors are devices that transduce a physical quantity in the world (distance, force, pressure, chemical concentrations, etc.) into a different, often more easily measurable, physical quantity like voltage. Actuators are duals to sensors in that they transform one form of energy (hydraulic pressure, chemical energy in gasoline, electrical potential, etc.) into mechanical work.
This lab will make use of an infrared distance sensor and two hobby servo motors. An infrared distance sensor is an infrared emitter (LED) paired with an infrared detector (photodiode). The detector measures the intensity of the IR light reflected off of an object in its field of view. The output of the sensor is an analog voltage. A hobby servo motor is more than just a motor; it’s a DC motor connected to a potentiometer (to measure the shaft angle), hardware proportional-integral-derivative (PID) controller (to perform position control), and a gear train (to increase torque and decrease speed). A hobby servo is controlled using a square wave form that is pulsed at a fixed frequency. The time that the waveform signal is set to “on” determines what the position of the shaft should be. This scheme is called “pulse width modulation” (PWM) and the percentage of “on” time during the period is called the “duty cycle”. Most hobby servos use a pulse width of between 1ms and 2ms (sometimes the range can be as wide as 0.8ms to 2.2ms).
Bill of Materials (BOM):
Click Here to view opt-in alternative steps that a few students can follow for this assignment if they want to experiment with a possible new lab 2 process that NINJAs and instructors are just beginning to explore for 2019 (a process that is still quite buggy).
Your lab report should include the following elements:
Please submit your report as a pdf attachment named lab2_<partner1_last_name>_<partner2_last_name>.pdf to firstname.lastname@example.org and read the Lab Report Style Guide carefully before writing your lab report.
 If you have not yet been trained on the laser cutter or 3D printers, this might be a good time to sign up for training or talk to Rapid Prototyping NINJAs.