130 likes | 149 Views
Explore sensors, robotics, elevators, oscilloscopes, circuits, and MATLAB integration in this ECE final report. Includes projects, lab findings, and teamwork reflections.
E N D
TMNT presents:ECE 002 Final Report By: Leonardo(Alex Magnano), Raphael(Thomas Lavelle), Michelangelo (Alia Nasrallah), and Donatello(Casey Murphy)
Contents: • Sensors • Robot Maze • Elevator • Oscilloscope • Circuits • PSPICE • MATLAB
Light sensors Use color scale to read values Range = 0-255 Sonar sensors Read values at different distances Range = 30-2000 Sensor Lab:
Robot Maze Project: • Objective: To build and program a robot with Legos and Interactive C that can navigate its own way through a maze. • The parts that we used in our project included: • handyboard • RJ-11 cable • serial port interface • AC adapter • serial port cable (25 pin to 9 pin) • 2 motors • Legos • 2 Light sensors • Ultrasonic (sonar) sensor
Robot Maze (Continued): • Here is a video of our robot:
Elevator Project: • Objective: To build a simple mock elevator consisting of a two story building and create a program to control it. • The parts that we used in our project included: • handyboard • RJ-11 cable • serial port interface • AC adapter • serial port cable (25 pin to 9 pin) • 1 motor • Legos • Elevator car • Elevator shaft • 2 Light sensors • Tape • Strings • Pirate
Elevator (Continued): • Here is a video of our running elevator:
Oscilloscope Lab: • Oscilloscope: a device that measures electricity and creates visuals of varying voltages or currents • Used to measure a voltage that changes with time and show it in a graphical format • Example from homework: • Setup: • Set the wave function to triangle. • Set the frequency range to 1M. • Turn the frequency scaling dial all of the way counterclockwise. • Turn the amplitude dial all of the way clockwise. • Results: • Peak-to-Peak = 1 V • Amplitude = 0.5 V • Period = 4 μs • Frequency = ¼ Hz
Circuit Lab: • Components • DC voltage source, any number of resistors or diodes, a breadboard, and wiring. • Series vs. Parallel • Equations • Voltage (V), Current (I), Resistance (R) • Ohm’s Law: V=IR
Circuit Lab Results: • Find I1 and I2, and I • Voltage = 3V • I1=3V/1kΩ=3mA • I2=3V/1kΩ=3mA • I=6mA
PSPICE: • Purpose: Get familiar with this software, and verify the hand-solved circuit problems. • Difficulties: - Forgetting to include the ground – Reversing the direction of the Diode – Placing the Probes in the wrong place. • Problem#1: Series Circuit • Problem#2: Parallel Circuit • Problem#3: Diode Circuit
MATLAB: • Asked to integrate functions using Matlab • Code with two different methods: • Composite Trapezoid Rule • Matlab Vectorized operation • Methods then compared in speed of operation • Vectorized took approx. 0.125 seconds quicker
Conclusion: • We worked really well together, and our teamwork and dedication helped us get through all the projects successfully and helped us overcome any problems that we might have had. • We love Zhao!! <3 • Yay for ECE 002!! • Cowabunga dudes!