2 Pages

lab1_2003

Course: MAE 576, Fall 2009
School: SUNY Buffalo
Rating:
 
 
 
 
 

Word Count: 837

Document Preview

Mechatronics MAE476/576 Spring 2003, V. Krovi Lab 1 Building a Burglar Alarm System Assigned: February 7th 2002, Demonstration Date: February 27th 2002 Microcontrollers are elements that fall between electronic hardware and software. They are computers in that they are programmed using algorithmic languages, but they are hardware in that they are installed by being wired into the system with all of the other...

Register Now

Unformatted Document Excerpt

Coursehero >> New York >> SUNY Buffalo >> MAE 576

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Mechatronics MAE476/576 Spring 2003, V. Krovi Lab 1 Building a Burglar Alarm System Assigned: February 7th 2002, Demonstration Date: February 27th 2002 Microcontrollers are elements that fall between electronic hardware and software. They are computers in that they are programmed using algorithmic languages, but they are hardware in that they are installed by being wired into the system with all of the other electronic components. In the first project, we take our first step into the hardware domain by interfacing our first few electronic components: LEDs, pushbuttons, seven-segment displays, LCD display, etc., and initiating interaction with our microcontroller. By completing these exercises, we can then integrate these devices to build a burglar alarm system Objectives 1. Gain familiarity with BS2 programming environment 2. Implement digital inputs from pushbuttons 3. Perform digital outputs to a seven-segment display 4. Interface a LCD display 5. Integrating these elements into a useful system Please read the corresponding experiments thoroughly before you begin connecting the various pieces: A. Relevant StampWorks Experiments: a. LEDs Experiments 1, 2, 3, 4 b. Pushbuttons Experiment 6, 9 c. Seven-Segment Displays Experiments 8, 9,10, 29 d. LCD Display Experiment 11 e. Piezo Beeper Experiment 6, 20 Implementation Write a PBASIC program and implement the following in hardware using the Stamp Works Board. You will be required to demonstrate only Part e. (Parts a, b, c, and d are intended to help you break down the task into manageable portions however, while doing so please keep in mind the final outcome desired and optimize your I/O pins). a) Turn a LED on and off in response to pushbutton inputs Interface the pushbutton switches D1-D3 with LED 0 to the Stamp. The initial state LED 0 is off and pressing a given switch alters the mode of operation of the LED. Pressing Switch D1 starts the flashing of LED0 (once every second) and pressing Switch D2 turns the flashing off. Pressing Switch D3 keeps the LED0 permanently on. Note: - Review the discussions of the class with respect to (i) adding a resistance in series with the LED and (ii) ensuring the polarity of the LED before implementation. - The "button" command could prove useful. b) Interfacing a Seven Segment display To part (a), we would like to add a feature that permits us to keep track of the last button pressed. Also, we would like to implement MAX7219 to reduce the number of I/O pins required. Using the pin diagram from the datasheet, connect the pins of one of the seven-segment display directly the to digital I/O lines of the Basic Stamp and set it up to display the last key pressed on the pushbutton keypad. Note: - These displays are common cathode displays with built-in current limiting resistors. - The display needs to be explicitly enabled. c) Interfacing the LCD Screen Interface the Basic Stamp to LCD Screen so that you can keep track of the number of the last button (S1-S3) pressed display the button that has been pressed. d) Interfacing a Piezo Beeper Interface the Basic Stamp to with the Piezo Beeper built in the Stamp Work Board using the FREQOUT or DTMFOUT commands so that it will create different sound effect. e) Implement a burglar alarm system Create a burglar alarm system based on the simple sets of sub-parts that you have tried from parts a to d. As discussed in class, please ensure that the device has the following features: Page 1 of 2 MAE476/576 Mechatronics Spring 2003, V. Krovi - It can be engaged/activated and turned off by some sequence of actions. It has a password checking mechanism as the passwords input device you could use multiple pushbuttons, one pushbutton keying in Morse code. It should have a time-keeping function that ensures that a user inputs the password within a given period before sounding the alarm. Displays relevant information using some combination of seven-segment displays and LCD screens. For example, you could use the seven-segment display to show the input passwords, and the LCD display to show messages to the user however, we will leave it up to you to optimize a suitable configuratio...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Utah - U - 0636784
Rate constants from transition state theory k = kT/h exp(-dG*/kT) (assume kappa = 1) - activation free energy (kcal/mol) | rate constant at 300K | | timescale (1/k) | | | dG*
Utah - U - 0636784
_ Fundamental Constants_-- c 2.99792458E+08 m/s speed of light* h 6.62606876E-34 J s Planck constant 4.13566727E-15 eV s hbar 1.054571596E-34 J s
SUNY Buffalo - MAE - 422
Problem Set 9 (PS 9) Due Tuesday March 289.1 Compute the lift, drag and lift/drag ratio for a flat plate positioned a 5 angles of attach from 0 to 25 degrees in an air flow at M= 2.5, 1 atm, 270 K. What happens to the flow at an angle of 30 degrees
SUNY Buffalo - PHY - 102
SYLLABUS PHY 102 MA COLLEGE PHYSICS II, Summer 2004 Classes: Recitation: Mon., Tue., Wed., Thu., Fri. 8:00 to 9:15 am M1 Mon., Wed. 9:30 - 10:35am M2 Tue., Thu. 9:30 - 10:35am Room: 216 NSC Room: 228 NSC Room: 228 NSCCOURSE HOMEPAGE: http:www.physi
SUNY Buffalo - PHY - 101
Projectile Motion2D motion of an object. There is no acceleration in the x-direction. The acceleration in the y-direction is due to gravity.ConceptsObject leaves the ground with some initial velocity and angle. The velocity in the xdirection is c
Utah - EE - 3110
OUTPUT STAGES The goal of an output stage (for voltage output) for an amplifier is to achieve _ Why?High efficiency is also needed so that lots of power can be transferred to the load without using too much power in the amp P=I*V Load power for
SUNY Buffalo - PHY - 101
Lecture 3: Introduction to Physics 101Chapter 1 : Scalars and Vectors (1.5)Physics 101: Lecture 3, Pg 1Conversion of Units ExampleA Cheetahs acceleration when hunting can bea=6.1 m/s2What is its acceleration in ft/min2 ? Conversion factor
SUNY Buffalo - PHY - 101
Physics 101: Lecture 16 Rotational KinematicsTodays lecture will cover Textbook Chapter 8Physics 101: Lecture 16, Pg 1Rotational KinematicsThe motion of a rigid body about a fixed axis is described by using the same concepts as for linear motio
Utah - EE - 3110
Amplifier with Output StageThe project is to design and build a Class AB audio power amplifier capable of amplifying the signal from a microphone (you supply the microphone) to be heard across a room. No integrated circuits (i.e. no operational ampl
Utah - ECE - 2100
University of Utah Electrical & Computer Engineering Department Doubler TroubleMinimum required points = 48 Grade base, 100% = 68 points Recommend parts = 68 points (100%, ALL parts are recommended this time) ECE 2100 Experiment No. 5A. Stolp, 2/2
Utah - ECE - 2210
University of Utah Electrical & Computer Engineering Department Operational AmplifiersECE 2210A. Stolp, 11/28/01 rev, 12/01/03Note: Bring the Op-amp handout from class. Also bring the Scope lab handout if you dont remember how to measure the volt
Utah - ECE - 3110
UNIVERSITY OF UTAH ELECTRICAL AND COMPUTER ENGINEERING DEPARTMENT ECE 3110 Spice Assignment #2 FEEDBACK AMPLIFIER Create a .cir file for the following circuit. circuit as shown below.x vi1 2For the opamp, use the 741macromodel posted on the cla
Utah - EE - 3110
UNIVERSITY OF UTAH ELECTRICAL AND COMPUTER ENGINEERING DEPARTMENT ECE 3110 Spice Assignment #2 FEEDBACK AMPLIFIER Create a .cir file for the following circuit. For the opamp, use the 741 macromodel posted on the class website. Please number the nodes
Utah - EE - 3110
OUTPUT STAGESExample: (P14.3) Design the circuit below using a +-9V supply to provide a design capable of +-7V outputs with a 1kohm load. Use the smallest possible total supply current.Example #2: (D14.14) A class B output stage is required to del
Utah - ECE - 3110
ECE 3110: Engineering Electronics IIFall 2007Practice Midterm II Super ExamNov. 14, 8:35-9:25am Name: (98 points total)Problem 1: A feedback amplier employing series-shunt feedback is shown in Fig. 1, where the feedback network is contained wi
SUNY Buffalo - PHY - 410
PHY 410-505COURSE SYLLABUSFall 2006Instructor and HoursLectures Websites Instructor Office Hours Phone Email : : : : : : Mon Wed Fri, 5:005:50 pm, 222 NSC http:/ublearns.buffalo.edu/ https:/www.physics.buffalo.edu/phy410-505/ Dr. Richard Gonsa
SUNY Buffalo - PHY - 410
PHY 410-505 Computational Physics ITopic 1: Computational ToolsLecture 1.2 August 30, 2006Lecture OutlineSimple Harmonic Oscillator Euler's Algorithm Pseudocode Code Approximating real numbers . Arrays and memory allocation . Structured iterati
Utah - EE - 3720
'$'Design Rules for PNP Transistors in Saturated Mode$(See Figure 8.57)ECE/CE 3720: Embedded System DesignSlide 1 Chris J. Myers Lecture 18: Transistors, Relays, and Motors Slide 3 1. Normally, Ve > Vc 2. Input current ows from emitter t
Utah - ECE - 5780
Introduction to ThreadsECE/CS 5780/6780: Embedded System DesignChris J. MyersLecture 10: ThreadsInterrupts create a multithreaded environment with a single foreground thread (the main program), and multiple background threads (the ISRs). Projec
University of Texas - CE - 311
Numerical Methods for Civil EngineersLecture Notes CE 311K - McKinney Introduction to Computer Methods Department of Civil Engineering The University of Texas at AustinNumerical Solution of Ordinary Differential EquationsProblems involving ordina
Utah - PHYSICS - 3610
Utah - P - 6730
Neural networks1) Biological perspective Neurons are nervous system cells that have excitable membranes which allow them to generate and propagate electrical signals, the neural information. The central part, the cell body is similar to other cells.
Utah - PHYSICS - 6770
Modulator ShifterAA.MQ.180AO modulator / shifterFeatures and Description High speed High power Linear PolarThese modulators have been specially designed for high speed high power modulation, where TeO2 cannot be used. They cover the deep UV r
Utah - PHYSICS - 6770
Physics 6770, Optical Measurement Techniques and Instrumentation Homework assignment 2, January 28, 2009, due: February 11, 2009 Problem #1: (counts 35%)The sketch illustrates a measurement element with input I, output O and an environmental parame
S. New Hampshire - EFL - 537
The Impact of CALL Instruction On Classroo written by Joy Egbert, Trena M. Paulus and Yoko NakamichiEFL 537 C ALL Pre nte Robe & Eve se r: rt lyn I nstructor: Lyra Riabov02.17.2005 Robe & Eve rt lyn p1IntroductionWhat do the most of the studies
S. New Hampshire - EFL - 537
So rn Ne Ham hireUnive ity uthe w ps rsMSTEFL Program EFL 537 CALLWeb-Based Lesson:Be a Tour Guide Presenter: Evelyn Hung Instructor: Prof. Lyra RiabovWe b-base Le d sson Eve Hung lyn p103.03.2005Content A. Outline of the lesson B. Descrip
S. New Hampshire - EFL - 537
EFL 523 Southern New Hampshire University Shan Wen, Hung(Evelyn) Instructor: Tim DiMatteo & Rosemary Orlando MS TEFL Date: Jan. 18, 2005Accuracy Lesson 2 ~ENGLISH BASEBALL~Beginning-Intermediate Age: 13-15 years Material: Index card, envelopes, qu
S. New Hampshire - EFL - 537
EFL 505 Instructor: Dr. GarySouthern New Hampshire University MS TEFLName: Shan Wen, Hung(Evelyn) Date: Nov. 24, 2004Individual Demonstration EFL 505 Evelyn Hung November 24, 20041EFL 505 Instructor: Dr. GarySouthern New Hampshire Univers
Penn State - SOILS - 418
(814) 863-0841Fax (814) 863-4540 Agricultural Analytical Services Laboratory The Pennsylvania State University University Park PA 16802 http:/www.aasl.psu.eduSOIL TEST REPORT FOR: MR. E. Z. MONEY R.D. 1 BOX 25 ELIZABETHVILLE PA 17023DATE LAB # S
UWO - SS - 2858
("t +lto'@ $errrcxa)b)A^)Se(GrS toafulio^s{^ )to.rt u,tep!?.Sottwact-peftr*ulc) T.*ocr-A S\$e- p*erentc-s )\-t't"-h'^l'o'*@ulssrI our.* Feuts.^t-Tce.{rgisio^a>/ O.t-s!.$e Iireqct^f,el irl.rrreqf*tue-"-\t-'..-
SUNY Buffalo - MAE - 573
MAE 473-573: Lecture #38 - Exam #2 ReviewOverview: Administrative Exam 2 - topic summary Exam 2 - what to expect Course evaluations!MAE 473-573: Lecture #38 - Exam #2 Review Administrative Partner grading - HW5, HW6, Final project - forms! (To