YOUR NAME EE 310 LAB 5 3/21/2017 Instructor Name. TITLE: GENERATING 5kHz WAVEFORM, FSK MODULATION, AND BINARY COUNTER

Similar documents
Experiment 9: Binary Arithmetic Circuits. In-Lab Procedure and Report (30 points)

Implementing In-Application Programming on the ADuC702x

7 8 9 C. PRELAB REQUIREMENTS You must adhere to the Lab Rules and Policies document for every lab.

KNJN I2C bus development boards

ELECTRONIC INSTRUMENTATION AND SYSTEMS LABORATORY

PROTO BOARD SETUP Here is a schematic of the circuit we will build.

Lab 5: LCD and A/D: Digital Voltmeter

Lab 5: LCD and A/D: Digital Voltmeter

Manual of Board ET-PIC STAMP 18F8722-K22 ET-PIC STAMP 18F8722-K22

Outline for Today. Lab Equipment & Procedures. Teaching Assistants. Announcements

VG-305A AC Traffic Light Controller Kit

CSE P567 - Winter 2010 Lab 1 Introduction to FGPA CAD Tools

NeoLoch. Inquisitor 4116 DRAM Blade Manual. Overview. Preliminary Release

I2C and SPI Foundation

PERSONAL COMPUTING WEEBLY CLASS PROJECT

Introduction 1. Liquid crystal display (16 characters by 2 rows) Contrast dial: turn the dial to adjust the contrast of the display (see page 5)

Product Information. Features. Table of Contents EA DIP162 DN3LW EA DIP162 DHNLED EA DIP162 DNLED EA DIP162J DN3LW

Display Real Time Clock (RTC) On LCD. Version 1.2. Aug Cytron Technologies Sdn. Bhd.

DEVBOARD3 DATASHEET. 10Mbits Ethernet & SD card Development Board PIC18F67J60 MICROCHIP

Graphing on Excel. Open Excel (2013). The first screen you will see looks like this (it varies slightly, depending on the version):

ECEN 5613 Embedded System Design Week #9 Spring 2017 Lab #4 3/20/2017

Word Processing for a Thesis, based on UEA instructions

Button Code Kit. Assembly Instructions and User Guide. Single Button Code Entry System

8051 Interfacing: Address Map Generation

ECEN 4613/5613 Embedded System Design Week #9 Spring 2014 Lab #4 3/12/2014

Lab Overview. Lab Details. ECEN 4613/5613 Embedded System Design Week #1 Fall 2008 Lab #1 8/27/2008

REQUIRED MATERIALS Reread Lab Rules and Policies document EEL 3744 (upad and upad Proto Base) Digilent Analog Discovery (DAD) PRELAB REQUIREMENTS

MACCHIATO. S.T.E.M. Pack MINI DIGITAL SYNTHESIZER

REQUIRED MATERIALS Reread Lab Rules and Policies document EEL 3744 (upad and upad Proto Base) Digilent Analog Discovery (DAD) PRELAB REQUIREMENTS

EECS 140 Laboratory Exercise 4 3-to-11 Counter Implementation

RFID MODULE. Mifare Read/Write Module. CM030 User Manual. Version 2.1 Apr 2010 chenmingcard

Device: EDR B. This document Version: 1c. Date: 11 November Matches module version: v3 [25 Aug 2016]

PIC Serial Peripheral Interface (SPI) to Digital Pot

Lab Experiment 9: LCD Display

Embedded programming, AVR intro

AP Computer Science Principles: Problem Set 1

ECE 353 Lab 4. General MIDI Explorer. Professor Daniel Holcomb Fall 2015

ECEN 5613 Embedded System Design Week #9 Fall 2016 Lab #4 10/22/2016

C1098 JPEG Module User Manual

University of Florida EEL 4744 Spring 2011 Dr. Eric M. Schwartz Department of Electrical & Computer Engineering 31 March Apr-11 1:29 PM

Description: USB to Serial interface and USB development platform

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

Problem Score 1 / 27 2 / 19 3 / 16 4 / 14 code check off 5 / 22 /2 Total /100

Laboratory: Introduction to Mechatronics. Instructor TA: Edgar Martinez Soberanes Lab 1.

EECE 690/890 Digital Radio Hardware Design. Team 3 Assignment 2. Informal Design Review: Thurs 10/15/98 Deliverables Due: Tues 10/20/98

Mark Schutzer December 9, 2007 (updated fix for older rev B and C ProCabs)

Pacific Antenna Two Tone Generator

ARM: Microcontroller Touch-switch Design & Test (Part 1)

Development Kit Manual DK-114N-1 and DK-114N-3

Morse Code Practice Oscillator

ECE372 CodeWarrior Simulator Andreou/Michaelides

PoodLL Documentation. To be added to the existing Assignments settings document. Tip

None. MICROCONTROLLERS III

Lab 1 Implementing a Simon Says Game

Physical Computing Self-Quiz

A B A+B

RFID MODULE Mifare Reader / Writer SL030 User Manual Version 2.4 Nov 2011 StrongLink

EE 354 August 1, 2017 Assembly of the AT89C51CC03 board

CS4141 IDL Notes. I. Quick Overview of IDL Prototyping Unit

USB RELAY MODULE WITH ANALOG AND GPIO INTERFACE

CSC-105 Exam #1 October 10, 2013

FPGA Introductory Tutorial: Part 1

BV4615. Dual Interface Zero Keypad. Product specification. Dec 2009 V0.a. ByVac Page 1 of 11

ME 475 Lab2 Introduction of PIC and Programming. Instructor: Zhen Wang

Lab 0: Wire Wrapping Project: Counter Board

ECEN 5613 Embedded System Design Week #9 Fall 2017 Lab #4 10/29/2017

Hardware Manual. Crumb128. Rapid Prototyping Module with the Atmega128 AVR Microcontroller

Elec 326: Digital Logic Design

USB2PPM. User s Guide. Version 2.00 dated 09/23/15. Gregor Schlechtriem

ECE2049 E17 Lecture 4 MSP430 Architecture & Intro to Digital I/O

Introduction to MATLABs Data Acquisition Toolbox, the USB DAQ, and accelerometers

Lab 5: EBI and ADC: Digital Voltmeter

CSE 141L Computer Architecture Lab Fall Lecture 3

PIC Dev 14 Surface Mount PCB Assembly and Test Lab 1

Faculty of Engineering and Information Technology Embedded Software. Lab 3 Interrupts and Timers

PIC-I/O Multifunction I/O Controller

Homework Assignment 9 LabVIEW tutorial

solutions for teaching and learning

NEDSP1068-PCBA NEDSP1068-PCBA-MIC DSP

CS101 Lecture 25: The Machinery of Computation: Computer Architecture. John Magee 29 July 2013 Some material copyright Jones and Bartlett

Programmable Logic Controllers

IME-100 ECE. Lab 3. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE,

GH1/GH2/GH3 Dual Camera Controller Adapter User s Guide

Section 1 Establishing an Instrument Connection

Lab 2 EECE473 Computer Organization & Architecture University of Maine

T P G. Test Pattern Generator. Updated 7/12/ Firmware 03 (C) 2017 CraftyMech LLC.

Lab Overview. Lab Details. ECEN 4613/5613 Embedded System Design Week #7 Fall 2006 Lab #3 10/08/2006

32 bit Micro Experimenter Board Description and Assembly manual

Good Idea to Working Electronic Model

Digital Electronics & Computer Engineering (E85)

CpSc 1011 Lab 5 Conditional Statements, Loops, ASCII code, and Redirecting Input Characters and Hurricanes

ECE383: Microcomputers Lab 6 Basic and Finite State Machine LED and Switch I/O Programming

ECEN 4613/5613 Embedded System Design Week #1 Fall 2013 Lab #1 8/28/2013

Instructor Manual Creation/ Submission Guidelines. for. Summit Instructors

Sidewinder Development Board rev 1.0

REQUIRED MATERIALS Reread Lab Rules and Policies document EEL 3744 (upad and upad Proto Base) DAD/NAD Analog Discovery board PRELAB REQUIREMENTS

ECSE-323 Digital System Design. Lab #1 Using the Altera Quartus II Software Fall 2008

Breeze Board. Type A. User Manual.

KNJN I2C bus development boards

IS-S0108 Single Switch Solution

Transcription:

YOUR NAME EE 310 LAB 5 3/21/2017 Instructor Name TITLE: GENERATING 5kHz WAVEFORM, FSK MODULATION, AND BINARY COUNTER List of Content: (Just Update Entire Table) PRE-LAB:... 2 PART I... 3 1- Problems Statement:... 3 2- Code Example:... 3 3- Flowchart... 4 4- Results... 4 5- Conclusion / Answering questions:... 5 PART II... 5 1- Problems Statement:... 5 2- Code Example:... 6 3- Flowchart *must be all in one page!)... 7 4- Results... 8 5- Conclusion / Answering questions:... 9 IF YOU USE GOOGLE MAKE SURE THE FORMAT IS NOT CHANGED! Page 1

ALL QUESTIONS & QUESTION NUMBERS MUST BE INCLUDED Pre-Lab: 1. Using the data sheet for PIC18F45K20 microcontroller, answer the following questions: i. What type of packaging the chip on the DEMO board has? 1. 44-Lead TQFP ii. How many pins does the chip on the DEMO board have? 1. 44 iii. What is the size of the SRAM on the chip? 1. 1536 Bytes iv. How may IO ports does the chip have? 1. 36 v. Which pin is connected to RC3 of the chip on your DEMO board? 1. 37 vi. How many FSR registers does this chip have? 1. 3 2. Learn about the PICKIT3 DEMO board. Carefully review the layout of the board. Also review the board's schematic. Answer the following questions: i. How many LED's are on the DEMO board? 1. 8 ii. Which pins on the chip are connected to the LEDs? 1. 38,39,40,41,2,3,4,5 iii. Which pin is connected to the potentiometer on the board? 1. 19 iv. What is the reference designator of the 32KHz oscillator on the board? Is it soldered on the board? 1. X2, it s surface mount v. Identify PWR and GRN pins on the board. 1. PWR (7,28), GRN (6,29) vi. What happen if you remove the JP1 connector? 1. The LED s are connected to the JP1, which in turn is grounded so if we remove it, the LED s won t be grounded. IMPORTANT NOTES: 1. Absolutely no hand writing all figures must be done by computer. 2. All questions must be added. 3. Name/class/date on all assignments must be there 4. The list of figures must be updated 5. Everything must be readable otherwise you don t receive grade 6. Late demos result in -10 points, automatically. 7. It is your responsibility to show me your demos. Come during the office hours. 8. 10 point deduction for every day you are late. Any assignment not submitted during the class is considered to be late! 9. Snapshots must be from the computer. No photos by camera is acceptable. 10. Questions and answers must be clearly stated and shown in the submission. 11. All figures and tables must have figure number and table number Page 2

IF THERE IS ANYTHING YOU ARE NOT SURE ASK! PART I 1- Problems Statement: The purpose of this assignment is to design. 2- Code Example: Heading and first part of the code The xxx MACRO to perform the delay Page 3

3- Flowchart As shown in the flowchart the DelayCALL performs the delay function. Every time the bit is toggled the delay function is repeated! Some explanation. 4- Results A- Scope snapshot: In this figure we show how the ourput signal from PIN xxx. Note that the frequency is about xxx. We used automeasurement. Using the cursors, the frequency was measure to be xxx, slightly different. Page 4

B- Another picture - This program used 0% of the flash memory. In total it only used 26bytes of data which is very small in comparison to the capacity it can maintain. C If you need more space leave the picture like this. Explain what this is. If the text is not readable do something about it! 5- Conclusion / Answering questions: In this section you can answer to all the questions. Make sure you include the entire question. For example: For the 5 khz frequency, there was a continuous mono-tone pitch. The frequency was moving to fast to hear the high and low points. PART II 1- Problems Statement: The purpose of this assignment is to design. Page 5

2- Code Example: MUST HAVE THIS SECTION! Heading and first part of the code The xxx MACRO to perform the delay Page 6

3- Flowchart *must be all in one page!) As shown in the flowchart the DelayCALL performs the delay function. Every time the bit is toggled the delay function is repeated! Some explanation. Describe the flowchart more. Page 7

4- Results A- Scope snapshot: In this figure we show how the ourput signal from PIN xxx. Note that the frequency is about xxx. We used automeasurement. Using the cursors, the frequency was measure to be xxx, slightly different. B- Note that in this figure we are showing the 5.2KHz signal. The cursors are located at and the frequency is measured to be xxxx. The signal amplitude is xxxx INPUT1 INPUT2 SUM CARRY Fcyc 0x220 0x221 0x230 0x230 Time 0xFF 0x05 0x04 0x01 50ms 0x05 0xFF 0x04 0x01 50ms 0xFF 0xEE 0xED 0x01 50ms 0xFF 0xA0 0x9F 0x01 50ms 0xA0 0xA0 0x40 0x01 50ms 0x00 0x00 0x00 0x00 50ms C- Test Program: Chart of Values: This is a chart of the values that I tested in order to make sure my program is working correctly. So I changed the order of variables to make sure I got the same answer and tested my carry in order to make sure that my carry bit was carried into the proper register. Page 8

5- Conclusion / Answering questions: In this section you can answer to all the questions. Make sure you include the entire question. For example: For the two frequencies, 5.2 khz and 4.8 khz, one could hear a distinct change in tone or. WHEN YOU FINISHED DO THE FOLLOWING REMOVE THIS SECTION 1- Make sure all your tables and diagrams are organized well / keep tables on the same page. Remove white spaces (-5 points) 2- Don t forget figure numbers/ table numbers (-5 points) 3- Update the list of Content on page 1 (-5 points) 4- Make sure you change your name on the footer (-5 points) 5- Make sure you chance the assignment number (LAB 2) on the footer (-5 points) 6- Go to: FILE à REDUCE FILE SIZE à 96 PPI Page 9

ABSOLUTELY DON T Page 10