Lab 4 Rev. 1 Open Lab Due COB Friday April 6, 2018

Size: px
Start display at page:

Download "Lab 4 Rev. 1 Open Lab Due COB Friday April 6, 2018"

Transcription

1 EE314 Systems Spring Semester 2018 College of Engineering Prof. C.R. Tolle South Dakota School of Mines & Technology Lab 4 Rev. 1 Open Lab Due COB Friday April 6, 2018 In this lab we will setup Matlab s Simulink to work with an Arduino Mega System Setup: We will also program, compile, and deploy a piece of embedded test code on to our Arduino Mega Some general background information pertaining to the lab is given in the table below: 1 Matlab 2017b was used in the production of this lab handout. 2 When appropriate, utilize Matlab s publishing features to produce your lab report as much as is reasonable. 3 Useful Matlab commands or Simulink blocks: Simulink, constant block, gain block, Arduino PWM block, Arduino Analog in Block, Scope Block, Transfer Function Block, PWM Generator (DC-DC) Block, Matlab and Simulink Arduino Support Packages. First obtain an Arduino Mega They are available from a number of sources on the internet. One such vendor is Sparkfun, a link to an Arduino Mega 2560 at their site is given below: Hyper-link to Sparkfun s Arduino Mega 2560 Simulink supports other Arduino boards as well however for this class it is suggested that you use the Mega 2560 since it has more memory and resources then most other Arduino boards. The student should be made aware that using high level programing tools like Simulink allows for quicker development times at a cost of more inefficient code bases. These inefficiencies include both larger code bases, use of additional chip resources, and added code complexity to many applications that directly effect their speed of operation. However for the right applications, the simplicity of implementation provided by such tools far outweigh any code inefficiencies. Once you have obtained your Arduino you need to install Matlab s Arduino and Simulink s Arduino support packages. This is described in the next several pages of this lab. First we need to add a few packages to Matlab and Simulink. We can do this by selecting Add-Ons Get Add-Ons function within Matlab s tool bar: 1

2 Next search for arduino add-ons: Select the Matlab Support Packages for Arduino Hardware (double click on this package): Follow the instructions to install the package Not all of the screens are included below but the install proceeds mostly as follows: 2

3 3

4 As a side note, there are a lot of other Adruino Based Matlab support tools available: 4

5 Next select the Simulink Support Packages for Arduino Hardware (double click on this package): Follow the instructions to install the package Not all of the screens are included below but the install proceeds mostly as follows: 5

6 As with the Matlab tools, there are a lot of other Adruino Based Simulink support tools available: Now that the Matlab and Simulink tools are installed we are ready to create a new Simulink project. Start up Simulink via the command line or Matlab toolbar. Navigate to the Simulink Support Package for Arduino 6

7 Hardware on the New Tab and select External Mode: This will create a new untitled.slx file that is setup to execute on your Arduino Mega. Save the file as ee314 lab4: Review the documentation provided on the new Simulink model page. Note that the Simulation Mode is set to External in this new file. External implies that portions of the Simulink model will be executed on the Arduino hardware and portions will be executed on your computer system, i.e. inputing data and changing set points as well as displaying scope data is accomplished on the main computer system while other portions of the code are executed on the embedded processor. In this lab, we will be using this simple basic starting model to test our hardware setup and functionality for programming our Arduino via Simulink. We will also explore a few important measurement and data acquisition concepts while we have the chance. Let s familiarize you with what pre-made driver blocks exist for your Arduino. To see these, open the Simulink Library Browser and navigate to 7

8 the Simulink Support Package for Arduino Hardware. First look at the Common library block set: Lab Procedure The functional blocks shown here provide the basic hardware support models for your embedded system. In this lab we will only focus on the A to D (analog in) and PWM (poor man s analog out when used with a low pass filter) blocks provided in our newly created Simulink model. We need to make a few useful changes to the model created for us, they are listed below: 1 Update the Dimmer Block sample time 2 Update the Analog In s sample time (if you get a communication error then slow this down to 0.001, you might also need to up the com port baud rate within windows device manager and within Simulink model parameters to from default 9600.) 3 Add some scaling blocks to our sub system block so that the dimmer value is scaled from 0-100% and that 8

9 the Analog reads in volts 4 Reconfigure the scope s output display 5 Change the project title to EE314 Lab4 Now before we discuss the hardware implementation side of this demo, let first create a expectation for our demo. Our in our model demo, we will be exploring both the poor-man s D/A via a low pass filter and a PWM. In this case we will use a single pole R-C lowpass filter with a break frequency of 1 rad s. Create a Simulink model for this 9

10 device. The ideal poor-man s D/A model is shown below: Evaluation & Report What we want to do is compare this idealized model with some real hardware. Below are some questions to consider and fully discuss within your lab report: 1 Run the idealized PWM-lowpass filter model, does it work as expected? 2 What might be the limitations of this type of D/A? 3 What kind of Loads could it service? 4 What are the limits of the PWM unit? 5 What happens if we over drive the power requirements from the PWM? Short out our current limiting 3KΩ resistor, what happens? 6 What are the effects of using an oscilloscope to look at our signals for this system? 1x probe (add a 1MΩ resistor in parallel with the capacitor)? 10x probe(add a 10M Ω resistor in parallel with the capacitor)? 7 What have you learned within this hardware lab? 8 What issues or problems did you encounter completing the lab? In order to explore these ideas, we need to add some hardware to our Arduino board. Using a simple bread board, jumper wires, diode, capacitor, and resistors implement the following circuit using the Arduino s PWM pin 13, Analog pin A0, and Ground pins: 3KΩ 10MΩ + PWM13.1µF A D A 0 GND Test circuit that simulates the use of a 10x oscilloscope probe on our A/D input: 3KΩ 10MΩ + PWM13.1µF A D A 0 10MΩ GND 10

11 Test circuit with no current limiting resistor for our PWM output driving our diode: 10MΩ + PWM13.1µF A D A 0 GND Please complete your formal lab report by due date provided at the top of this lab assignment. 11

Training Schedule. Robotic System Design using Arduino Platform

Training Schedule. Robotic System Design using Arduino Platform Training Schedule Robotic System Design using Arduino Platform Session - 1 Embedded System Design Basics : Scope : To introduce Embedded Systems hardware design fundamentals to students. Processor Selection

More information

System Board 6219 MAXREFDES89#: MAX14871 Full-Bridge DC Motor Driver MBED Shield

System Board 6219 MAXREFDES89#: MAX14871 Full-Bridge DC Motor Driver MBED Shield System Board 6219 MAXREFDES89#: MAX14871 Full-Bridge DC Motor Driver MBED Shield Introduction Brushed DC motors provide cost-effective, convenient motion in many applications ranging from electric toothbrushes

More information

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs 10-11 Introduction to Arduino In this lab we will introduce the idea of using a microcontroller as a tool for controlling

More information

EE 110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Lab 0: Course Introduction

EE 110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Lab 0: Course Introduction EE 110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Lab 0: Course Introduction The primary goal of the one-unit EE110 course is to serve as a small window to allow the freshman

More information

Practical Assignment 1: Arduino interface with Simulink

Practical Assignment 1: Arduino interface with Simulink !! Department of Electrical Engineering Indian Institute of Technology Dharwad EE 303: Control Systems Practical Assignment - 1 Adapted from Take Home Labs, Oklahoma State University Practical Assignment

More information

Figure 1: Motor model

Figure 1: Motor model EE 155/255 Lab #4 Revision 1, October 24, 2017 Lab 4: Motor Control In this lab you will characterize a DC motor and implement the speed controller from homework 3 with real hardware and demonstrate that

More information

Linear Motion Servo Plants: IP01 or IP02. Linear Experiment #0: Integration with WinCon. IP01 and IP02. Student Handout

Linear Motion Servo Plants: IP01 or IP02. Linear Experiment #0: Integration with WinCon. IP01 and IP02. Student Handout Linear Motion Servo Plants: IP01 or IP02 Linear Experiment #0: Integration with WinCon IP01 and IP02 Student Handout Table of Contents 1. Objectives...1 2. Prerequisites...1 3. References...1 4. Experimental

More information

EXPERIMENT 9 Problem Solving: First-order Transient Circuits

EXPERIMENT 9 Problem Solving: First-order Transient Circuits EXPERIMENT 9 Problem Solving: First-order Transient Circuits I. Introduction In transient analyses, we determine voltages and currents as functions of time. Typically, the time dependence is demonstrated

More information

Part 1: DC Concepts and Measurement

Part 1: DC Concepts and Measurement EE 110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Lab 1 DC Concepts and Measurement: Ohm's Law, Voltage ad Current Introduction to Analog Discovery Scope Last week we introduced

More information

Module: Arduino as Signal Generator

Module: Arduino as Signal Generator Name/NetID: Teammate/NetID: Module: Laboratory Outline In our continuing quest to access the development and debugging capabilities of the equipment on your bench at home Arduino/RedBoard as signal generator.

More information

ZX Distance and Gesture Sensor Hookup Guide

ZX Distance and Gesture Sensor Hookup Guide Page 1 of 13 ZX Distance and Gesture Sensor Hookup Guide Introduction The ZX Distance and Gesture Sensor is a collaboration product with XYZ Interactive. The very smart people at XYZ Interactive have created

More information

EE 210 Lab Exercise #3 Introduction to PSPICE

EE 210 Lab Exercise #3 Introduction to PSPICE EE 210 Lab Exercise #3 Introduction to PSPICE Appending 4 in your Textbook contains a short tutorial on PSPICE. Additional information, tutorials and a demo version of PSPICE can be found at the manufacturer

More information

2.017 DESIGN OF ELECTROMECHANICAL ROBOTIC SYSTEMS Fall 2009 Lab 4: Motor Control. October 5, 2009 Dr. Harrison H. Chin

2.017 DESIGN OF ELECTROMECHANICAL ROBOTIC SYSTEMS Fall 2009 Lab 4: Motor Control. October 5, 2009 Dr. Harrison H. Chin 2.017 DESIGN OF ELECTROMECHANICAL ROBOTIC SYSTEMS Fall 2009 Lab 4: Motor Control October 5, 2009 Dr. Harrison H. Chin Formal Labs 1. Microcontrollers Introduction to microcontrollers Arduino microcontroller

More information

Introduction to LT Spice IV with Examples

Introduction to LT Spice IV with Examples Introduction to LT Spice IV with Examples 400D - Fall 2015 Purpose Part of Electronics & Control Division Technical Training Series by Nicholas Lombardo The purpose of this document is to give a basic

More information

DC Motor and Servo motor Control with ARM and Arduino. Created by:

DC Motor and Servo motor Control with ARM and Arduino. Created by: DC Motor and Servo motor Control with ARM and Arduino Created by: Andrew Kaler (39345) Tucker Boyd (46434) Mohammed Chowdhury (860822) Tazwar Muttaqi (901700) Mark Murdock (98071) May 4th, 2017 Objective

More information

INA169 Breakout Board Hookup Guide

INA169 Breakout Board Hookup Guide Page 1 of 10 INA169 Breakout Board Hookup Guide CONTRIBUTORS: SHAWNHYMEL Introduction Have a project where you want to measure the current draw? Need to carefully monitor low current through an LED? The

More information

SIMULATIONS OF LCC RESONANT CIRCUIT POWER ELECTRONICS COLORADO STATE UNIVERSITY. Modified in Spring 2006

SIMULATIONS OF LCC RESONANT CIRCUIT POWER ELECTRONICS COLORADO STATE UNIVERSITY. Modified in Spring 2006 SIMULATIONS OF LCC RESONANT CIRCUIT POWER ELECTRONICS COLORADO STATE UNIVERSITY Modified in Spring 2006 Page 1 of 27 PURPOSE: The purpose of this lab is to simulate the LCC circuit using MATLAB and CAPTURE

More information

Root Locus Design. by Martin Hagan revised by Trevor Eckert 1 OBJECTIVE

Root Locus Design. by Martin Hagan revised by Trevor Eckert 1 OBJECTIVE TAKE HOME LABS OKLAHOMA STATE UNIVERSITY Root Locus Design by Martin Hagan revised by Trevor Eckert 1 OBJECTIVE The objective of this experiment is to design a feedback control system for a motor positioning

More information

EE 210: CIRCUITS AND DEVICES

EE 210: CIRCUITS AND DEVICES EE 210: CIRCUITS AND DEVICES LAB #3: VOLTAGE AND CURRENT MEASUREMENTS This lab features a tutorial on the instrumentation that you will be using throughout the semester. More specifically, you will see

More information

E x p e r i m e n t 2 S i m u l a t i o n a n d R e a l - t i m e I m p l e m e n t a t i o n o f a S w i t c h - m o d e D C C o n v e r t e r

E x p e r i m e n t 2 S i m u l a t i o n a n d R e a l - t i m e I m p l e m e n t a t i o n o f a S w i t c h - m o d e D C C o n v e r t e r E x p e r i m e n t 2 S i m u l a t i o n a n d R e a l - t i m e I m p l e m e n t a t i o n o f a S w i t c h - m o d e D C C o n v e r t e r IT IS PREFERED that students ANSWER THE QUESTION/S BEFORE

More information

Name: Resistors and Basic Resistive Circuits. Objective: To gain experience with data acquisition proto-boards physical resistors. Table of Contents:

Name: Resistors and Basic Resistive Circuits. Objective: To gain experience with data acquisition proto-boards physical resistors. Table of Contents: Objective: To gain experience with data acquisition proto-boards physical resistors Table of Contents: Name: Resistors and Basic Resistive Circuits Pre-Lab Assignment 1 Background 2 National Instruments

More information

For this exercise, you will need a partner, an Arduino kit (in the plastic tub), and a laptop with the Arduino programming environment.

For this exercise, you will need a partner, an Arduino kit (in the plastic tub), and a laptop with the Arduino programming environment. Physics 222 Name: Exercise 6: Mr. Blinky This exercise is designed to help you wire a simple circuit based on the Arduino microprocessor, which is a particular brand of microprocessor that also includes

More information

Lab 7 Rev. 2 Open Lab Due COB Friday April 27, 2018

Lab 7 Rev. 2 Open Lab Due COB Friday April 27, 2018 EE314 Sytem Spring Semeter 2018 College of Engineering Prof. C.R. Tolle South Dakota School of Mine & Technology Lab 7 Rev. 2 Open Lab Due COB Friday April 27, 2018 In a prior lab, we et up the baic hardware

More information

AC Overload Tester for Magnet Wire

AC Overload Tester for Magnet Wire 0 15 30 45 60 75 90 105 120 135 150 165 180 195 210 225 240 255 270 285 300 315 330 345 360 375 390 405 420 435 450 465 480 495 510 525 540 555 570 585 600 615 630 645 660 675 690 705 720 735 750 765 780

More information

Experiment Number 2. Revised: Summer 2013 PLECS RC, RL, and RLC Simulations

Experiment Number 2. Revised: Summer 2013 PLECS RC, RL, and RLC Simulations Preface: Experiment Number 2 Revised: Summer 2013 PLECS RC, RL, and RLC Simulations Preliminary exercises are to be done and submitted individually Laboratory simulation exercises are to be done individually

More information

Chapter 1: DC circuit basics

Chapter 1: DC circuit basics Chapter 1: DC circuit basics Overview Electrical circuit design depends first and foremost on understanding the basic quantities used for describing electricity: voltage, current, and power. In the simplest

More information

MAE106 Laboratory Exercises Lab # 1 - Laboratory tools

MAE106 Laboratory Exercises Lab # 1 - Laboratory tools MAE106 Laboratory Exercises Lab # 1 - Laboratory tools University of California, Irvine Department of Mechanical and Aerospace Engineering Goals To learn how to use the oscilloscope, function generator,

More information

ECE 2274 Lab 1 (Intro)

ECE 2274 Lab 1 (Intro) ECE 2274 Lab 1 (Intro) Richard Dumene: Spring 2018 Revised: Richard Cooper: Spring 2018 Forward (DO NOT TURN IN) The purpose of this lab course is to familiarize you with high-end lab equipment, and train

More information

MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O)

MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O) PH-315 Portland State University MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O) ABSTRACT A microcontroller is an integrated circuit containing a processor and programmable read-only memory, 1 which is

More information

SIMULATIONS WITH THE BUCK-BOOST TOPOLOGY EE562: POWER ELECTRONICS I COLORADO STATE UNIVERSITY. Modified February 2006

SIMULATIONS WITH THE BUCK-BOOST TOPOLOGY EE562: POWER ELECTRONICS I COLORADO STATE UNIVERSITY. Modified February 2006 SIMULATIONS WITH THE BUCK-BOOST TOPOLOGY EE562: POWER ELECTRONICS I COLORADO STATE UNIVERSITY Modified February 2006 Page 1 of 13 PURPOSE: The purpose of this lab is to simulate the Buck-Boost converter

More information

Open Loop Frequency Response

Open Loop Frequency Response TAKE HOME LABS OKLAHOMA STATE UNIVERSITY Open Loop Frequency Response by Carion Pelton 1 OBJECTIVE This experiment will reinforce your understanding of the concept of frequency response. As part of the

More information

EM Arduino 4-20mA Shield Documentation. Version 1.5.0

EM Arduino 4-20mA Shield Documentation. Version 1.5.0 EM Arduino 4-20mA Shield Documentation Version 1.5.0 Erdos Miller October 22, 2014 1 Contents 1 Power... 3 2 Connecting Sensors... 3 3 Scaling ADC Readings to Current in ma... 4 4 Using with a 3.3V Arduino...

More information

RC Filters and Basic Timer Functionality

RC Filters and Basic Timer Functionality RC-1 Learning Objectives: RC Filters and Basic Timer Functionality The student who successfully completes this lab will be able to: Build circuits using passive components (resistors and capacitors) from

More information

Embedded Control. Week 1 (6/29/11)

Embedded Control. Week 1 (6/29/11) Embedded Control Week 1 (6/29/11) Week 1 15:00 Lecture Circuit theory, terminology Overview of elementary circuit components Reading circuit diagrams 16:00 Lab NXT GPIO with HiTechnic sensor expansion

More information

Operational Amplifiers 2 Active Filters ReadMeFirst

Operational Amplifiers 2 Active Filters ReadMeFirst Operational Amplifiers 2 Active Filters ReadMeFirst Lab Summary In this lab you will build two active filters on a breadboard, using an op-amp, resistors, and capacitors, and take data for the magnitude

More information

VCC. Digital 16 Frequency Divider Digital-to-Analog Converter Butterworth Active Filter Sample-and-Hold Amplifier (part 2) Last Update: 03/19/14

VCC. Digital 16 Frequency Divider Digital-to-Analog Converter Butterworth Active Filter Sample-and-Hold Amplifier (part 2) Last Update: 03/19/14 Digital 16 Frequency Divider Digital-to-Analog Converter Butterworth Active Filter Sample-and-Hold Amplifier (part 2) ECE3204 Lab 5 Objective The purpose of this lab is to design and test an active Butterworth

More information

Chapter 1: DC circuit basics

Chapter 1: DC circuit basics Chapter 1: DC circuit basics Overview Electrical circuit design depends first and foremost on understanding the basic quantities used for describing electricity: Voltage, current, and power. In the simplest

More information

Lab 2: Introduction to Real Time Workshop

Lab 2: Introduction to Real Time Workshop Lab 2: Introduction to Real Time Workshop 1 Introduction In this lab, you will be introduced to the experimental equipment. What you learn in this lab will be essential in each subsequent lab. Document

More information

ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab

ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab The purpose of this lab is to learn about sensors and use the ADC module to digitize the sensor signals. You will use the digitized signals

More information

Laboratory Assignment 1 Sampling Phenomena

Laboratory Assignment 1 Sampling Phenomena 1 Main Topics Signal Acquisition Audio Processing Aliasing, Anti-Aliasing Filters Laboratory Assignment 1 Sampling Phenomena 2.171 Analysis and Design of Digital Control Systems Digital Filter Design and

More information

ET 304A Laboratory Tutorial-Circuitmaker For Transient and Frequency Analysis

ET 304A Laboratory Tutorial-Circuitmaker For Transient and Frequency Analysis ET 304A Laboratory Tutorial-Circuitmaker For Transient and Frequency Analysis All circuit simulation packages that use the Pspice engine allow users to do complex analysis that were once impossible to

More information

Each individual is to report on the design, simulations, construction, and testing according to the reporting guidelines attached.

Each individual is to report on the design, simulations, construction, and testing according to the reporting guidelines attached. EE 352 Design Project Spring 2015 FM Receiver Revision 0, 03-02-15 Interim report due: Friday April 3, 2015, 5:00PM Project Demonstrations: April 28, 29, 30 during normal lab section times Final report

More information

EE 461 Experiment #1 Digital Control of DC Servomotor

EE 461 Experiment #1 Digital Control of DC Servomotor EE 461 Experiment #1 Digital Control of DC Servomotor 1 Objectives The objective of this lab is to introduce to the students the design and implementation of digital control. The digital control is implemented

More information

Basic DC Power Supply

Basic DC Power Supply Basic DC Power Supply Equipment: 1. Analog Oscilloscope 2. Digital multimeter 3. Experimental board and connectors. Objectives: 1. To understand the basic DC power supply both half wave and full wave rectifier.

More information

Laboratory experiments and reports

Laboratory experiments and reports LABORATORY INSTRUCTION MANUAL Page 1 of 8 Laboratory experiments and reports Summary This document describes how to carry out experimental exercises, and how to prepare the lab reports for the Electronic

More information

DESCRIPTION DOCUMENT FOR WIFI SINGLE DIMMER ONE AMPERE BOARD HARDWARE REVISION 0.3

DESCRIPTION DOCUMENT FOR WIFI SINGLE DIMMER ONE AMPERE BOARD HARDWARE REVISION 0.3 DOCUMENT NAME: DESIGN DESCRIPTION, WIFI SINGLE DIMMER BOARD DESCRIPTION DOCUMENT FOR WIFI SINGLE DIMMER ONE AMPERE BOARD HARDWARE REVISION 0.3 Department Name Signature Date Author Reviewer Approver Revision

More information

Lab 2: Blinkie Lab. Objectives. Materials. Theory

Lab 2: Blinkie Lab. Objectives. Materials. Theory Lab 2: Blinkie Lab Objectives This lab introduces the Arduino Uno as students will need to use the Arduino to control their final robot. Students will build a basic circuit on their prototyping board and

More information

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Lab Timer: Blinking LED Lights and Pulse Generator

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Lab Timer: Blinking LED Lights and Pulse Generator EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Lab 9 555 Timer: Blinking LED Lights and Pulse Generator In many digital and analog circuits it is necessary to create a clock

More information

Lab 3 Rev. 1 Open Lab Due COB Wed. Mar. 28, 2018

Lab 3 Rev. 1 Open Lab Due COB Wed. Mar. 28, 2018 EE34 Systems Spring Semester 28 College of Engineering Prof. C.R. Tolle South Dakota School of Mines & Technology Lab 3 Rev. Open Lab Due COB Wed. Mar. 28, 28 This lab explores the effects of plant variation

More information

MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O)

MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O) PH-315 Portland State University MICROCONTROLLERS BASIC INPUTS and OUTPUTS (I/O) ABSTRACT A microcontroller is an integrated circuit containing a processor and programmable read-only memory, 1 which is

More information

Sweep / Function Generator User Guide

Sweep / Function Generator User Guide I. Overview Sweep / Function Generator User Guide The Sweep/Function Generator as developed by L. J. Haskell was designed and built as a multi-functional test device to help radio hobbyists align antique

More information

Curve Tracer Laboratory Assistant Using the Analog Discovery Module as A Curve Tracer

Curve Tracer Laboratory Assistant Using the Analog Discovery Module as A Curve Tracer Curve Tracer Laboratory Assistant Using the Analog Discovery Module as A Curve Tracer The objective of this lab is to become familiar with methods to measure the dc current-voltage (IV) behavior of diodes

More information

Application Note. Communication between arduino and IMU Software capturing the data

Application Note. Communication between arduino and IMU Software capturing the data Application Note Communication between arduino and IMU Software capturing the data ECE 480 Team 8 Chenli Yuan Presentation Prep Date: April 8, 2013 Executive Summary In summary, this application note is

More information

Instrumentation and Microcontrollers Using Automatic Code Generation

Instrumentation and Microcontrollers Using Automatic Code Generation Instrumentation and Microcontrollers Using Automatic Code Generation Using and Applying Microcontrollers for the Rest of Us! Marc E Herniter 2013 Marc E. Herniter, Rose-Hulman Institute of Technology,

More information

Electronics Design Laboratory Lecture #10. ECEN 2270 Electronics Design Laboratory

Electronics Design Laboratory Lecture #10. ECEN 2270 Electronics Design Laboratory Electronics Design Laboratory Lecture #10 Electronics Design Laboratory 1 Lessons from Experiment 4 Code debugging: use print statements and serial monitor window Circuit debugging: Re check operation

More information

USB-B1 User Manual V1.1

USB-B1 User Manual V1.1 USB-B1 User Manual V1.1 Table of Contents 1 Introduction... 2 1.1 Device Overview... 2 1.2 System Overview... 3 1.3 Connectors... 4 1.3.1 USB Connector J11... 4 1.3.2 External Antenna Connector (J10)...

More information

ALX-SSB 5 Band Filter Assembly Manual 19 November 2018

ALX-SSB 5 Band Filter Assembly Manual 19 November 2018 ALX-SSB 5 Band Filter Assembly Manual 19 November 2018 Contents Theory of Operation:... 1 Figure 1... 2 Parts Included:... 4 Board Overview:... 5 Figure 2... 5 Figure 3... 5 Board Assembly:... 6 Cable

More information

Coding with Arduino to operate the prosthetic arm

Coding with Arduino to operate the prosthetic arm Setup Board Install FTDI Drivers This is so that your RedBoard will be able to communicate with your computer. If you have Windows 8 or above you might already have the drivers. 1. Download the FTDI driver

More information

// Parts of a Multimeter

// Parts of a Multimeter Using a Multimeter // Parts of a Multimeter Often you will have to use a multimeter for troubleshooting a circuit, testing components, materials or the occasional worksheet. This section will cover how

More information

HAW-Arduino. Sensors and Arduino F. Schubert HAW - Arduino 1

HAW-Arduino. Sensors and Arduino F. Schubert HAW - Arduino 1 HAW-Arduino Sensors and Arduino 14.10.2010 F. Schubert HAW - Arduino 1 Content of the USB-Stick PDF-File of this script Arduino-software Source-codes Helpful links 14.10.2010 HAW - Arduino 2 Report for

More information

LAB #10: Analog Interfacing

LAB #10: Analog Interfacing CS/EE 3720 Handout #10 Spring 2004 Myers LAB #10: Analog Interfacing You must checkoff this lab during your lab section of the week of April 19th. Lab writeup is due in class on April 27th. NO LATE CHECKOFFS

More information

EE25266 ASIC/FPGA Chip Design. Designing a FIR Filter, FPGA in the Loop, Ethernet

EE25266 ASIC/FPGA Chip Design. Designing a FIR Filter, FPGA in the Loop, Ethernet EE25266 ASIC/FPGA Chip Design Mahdi Shabany Electrical Engineering Department Sharif University of Technology Assignment #8 Designing a FIR Filter, FPGA in the Loop, Ethernet Introduction In this lab,

More information

LABORATORY 4. Palomar College ENGR210 Spring 2017 ASSIGNED: 3/21/17

LABORATORY 4. Palomar College ENGR210 Spring 2017 ASSIGNED: 3/21/17 LABORATORY 4 ASSIGNED: 3/21/17 OBJECTIVE: The purpose of this lab is to evaluate the transient and steady-state circuit response of first order and second order circuits. MINIMUM EQUIPMENT LIST: You will

More information

Lab 3: BJT LED Driver

Lab 3: BJT LED Driver GOAL Lab 3: BJT LED Driver To implement an LED Driver circuit using a bipolar junction transistor (BJT). OBJECTIVES To build, test, simulate, and understand BJT amplifiers based on the following circuits:

More information

Fig. 1. NI Elvis System

Fig. 1. NI Elvis System Lab 2: Introduction to I Elvis Environment. Objectives: The purpose of this laboratory is to provide an introduction to the NI Elvis design and prototyping environment. Basic operations provided by Elvis

More information

SIMULATION OF A SERIES RESONANT CIRCUIT ECE562: Power Electronics I COLORADO STATE UNIVERSITY. Modified in Fall 2011

SIMULATION OF A SERIES RESONANT CIRCUIT ECE562: Power Electronics I COLORADO STATE UNIVERSITY. Modified in Fall 2011 SIMULATION OF A SERIES RESONANT CIRCUIT ECE562: Power Electronics I COLORADO STATE UNIVERSITY Modified in Fall 2011 ECE 562 Series Resonant Circuit (NL5 Simulation) Page 1 PURPOSE: The purpose of this

More information

Community College of Allegheny County Unit 4 Page #1. Timers and PWM Motor Control

Community College of Allegheny County Unit 4 Page #1. Timers and PWM Motor Control Community College of Allegheny County Unit 4 Page #1 Timers and PWM Motor Control Revised: Dan Wolf, 3/1/2018 Community College of Allegheny County Unit 4 Page #2 OBJECTIVES: Timers: Astable and Mono-Stable

More information

Ocean Controls KT-5221 Modbus IO Module

Ocean Controls KT-5221 Modbus IO Module Ocean Controls Modbus IO Module 8 Relay Outputs 4 Opto-Isolated Inputs 2 Analog Inputs (10 bit) 1 PWM Output (10 bit) 4 Input Counters Connections via Pluggable Screw Terminals 0-5V or 0-20mA Analog Inputs,

More information

Lab Week 4. Analog Discovery introduction MATLAB Circuit building and Oscilloscope Measurements Ethics

Lab Week 4. Analog Discovery introduction MATLAB Circuit building and Oscilloscope Measurements Ethics Lab Week 4 Analog Discovery introduction MATLAB Circuit building and Oscilloscope Measurements Ethics Digilent supplies You should have received an Analog Discovery from the Digilent order that you placed.

More information

DESCRIPTION DOCUMENT FOR WIFI / BT HEAVY DUTY RELAY BOARD HARDWARE REVISION 0.1

DESCRIPTION DOCUMENT FOR WIFI / BT HEAVY DUTY RELAY BOARD HARDWARE REVISION 0.1 DESCRIPTION DOCUMENT FOR WIFI / BT HEAVY DUTY RELAY BOARD HARDWARE REVISION 0.1 Department Name Signature Date Author Reviewer Approver Revision History Rev Description of Change A Initial Release Effective

More information

PART. Maxim Integrated Products 1

PART. Maxim Integrated Products 1 9-887; Rev 0; 2/00 MAX669 Evaluation System General Description The MAX669 evaluation system consists of a MAX669 evaluation kit (EV kit) and a companion Maxim SMBus interface board. The MAX669 EV kit

More information

Laboratory set-up for Real-Time study of Electric Drives with Integrated Interfaces for Test and Measurement

Laboratory set-up for Real-Time study of Electric Drives with Integrated Interfaces for Test and Measurement Laboratory set-up for Real-Time study of Electric Drives with Integrated Interfaces for Test and Measurement Fong Mak, Ram Sundaram, Varun Santhaseelan, and Sunil Tandle Gannon University, mak001@gannon.edu,

More information

Experiment 9 : Pulse Width Modulation

Experiment 9 : Pulse Width Modulation Name/NetID: Experiment 9 : Pulse Width Modulation Laboratory Outline In experiment 5 we learned how to control the speed of a DC motor using a variable resistor. This week, we will learn an alternative

More information

Lab 12: Timing sequencer (Version 1.3)

Lab 12: Timing sequencer (Version 1.3) Lab 12: Timing sequencer (Version 1.3) WARNING: Use electrical test equipment with care! Always double-check connections before applying power. Look for short circuits, which can quickly destroy expensive

More information

Lab 2.4 Arduinos, Resistors, and Circuits

Lab 2.4 Arduinos, Resistors, and Circuits Lab 2.4 Arduinos, Resistors, and Circuits Objectives: Investigate resistors in series and parallel and Kirchoff s Law through hands-on learning Get experience using an Arduino hat you need: Arduino Kit:

More information

Experiment Number 2. Revised: Fall 2018 PLECS RC, RL, and RLC Simulations

Experiment Number 2. Revised: Fall 2018 PLECS RC, RL, and RLC Simulations Experiment Number 2 Revised: Fall 2018 PLECS RC, RL, and RLC Simulations Preface: Experiment number 2 will be held in CLC room 105, 106, or 107. Your TA will let you know Preliminary exercises are to be

More information

Brushed DC Motor Microcontroller PWM Speed Control with Optical Encoder and H-Bridge

Brushed DC Motor Microcontroller PWM Speed Control with Optical Encoder and H-Bridge Brushed DC Motor Microcontroller PWM Speed Control with Optical Encoder and H-Bridge L298 Full H-Bridge HEF4071B OR Gate Brushed DC Motor with Optical Encoder & Load Inertia Flyback Diodes Arduino Microcontroller

More information

MAX11300PMB1 Peripheral Module and Munich (USB2PMB1) Adapter Board Quick Start Guide

MAX11300PMB1 Peripheral Module and Munich (USB2PMB1) Adapter Board Quick Start Guide MAX11300PMB1 Peripheral Module and Munich (USB2PMB1) Adapter Board Quick Start Guide Rev 0; 7/14 For pricing, delivery, and ordering information, please contact Maxim Direct at 1-888-629-4642, or visit

More information

Experiment Guide: RC/RLC Filters and LabVIEW

Experiment Guide: RC/RLC Filters and LabVIEW Description and ackground Experiment Guide: RC/RLC Filters and LabIEW In this lab you will (a) manipulate instruments manually to determine the input-output characteristics of an RC filter, and then (b)

More information

introduction to Digital Electronics Install the Arduino IDE on your laptop if you haven t already!

introduction to Digital Electronics Install the Arduino IDE on your laptop if you haven t already! introduction to Digital Electronics Install the Arduino IDE 1.8.5 on your laptop if you haven t already! Electronics can add interactivity! Any sufficiently advanced technology is indistinguishable from

More information

EE 2274 DIODE OR GATE & CLIPPING CIRCUIT

EE 2274 DIODE OR GATE & CLIPPING CIRCUIT EE 2274 DIODE OR GATE & CLIPPING CIRCUIT Prelab Part I: Wired Diode OR Gate LTspice use 1N4002 1. Design a diode OR gate, Figure 1 in which the maximum current thru R1 I R1 = 9mA assume Vin = 5Vdc. Design

More information

Lab Experiments. Boost converter (Experiment 2) Control circuit (Experiment 1) Power diode. + V g. C Power MOSFET. Load.

Lab Experiments. Boost converter (Experiment 2) Control circuit (Experiment 1) Power diode. + V g. C Power MOSFET. Load. Lab Experiments L Power diode V g C Power MOSFET Load Boost converter (Experiment 2) V ref PWM chip UC3525A Gate driver TSC427 Control circuit (Experiment 1) Adjust duty cycle D The UC3525 PWM Control

More information

Practical 2P12 Semiconductor Devices

Practical 2P12 Semiconductor Devices Practical 2P12 Semiconductor Devices What you should learn from this practical Science This practical illustrates some points from the lecture courses on Semiconductor Materials and Semiconductor Devices

More information

Lab #1 Lab Introduction

Lab #1 Lab Introduction Cir cuit s 212 Lab Lab #1 Lab Introduction Special Information for this Lab s Report Because this is a one-week lab, please hand in your lab report for this lab at the beginning of next week s lab. The

More information

ArbStudio Training Guide

ArbStudio Training Guide ArbStudio Training Guide Summary This guide provides step by step instructions explaining how to create waveforms, use the waveform sequencer, modulate waveforms and generate digital patterns. The exercises

More information

Figure E2-1 The complete circuit showing the oscilloscope and Bode plotter.

Figure E2-1 The complete circuit showing the oscilloscope and Bode plotter. Example 2 An RC network using the oscilloscope and Bode plotter In this example we use the oscilloscope and the Bode plotter in an RC circuit that has an AC source. The circuit which we will construct

More information

BME/ISE 3511 Laboratory One - Laboratory Equipment for Measurement. Introduction to biomedical electronic laboratory instrumentation and measurements.

BME/ISE 3511 Laboratory One - Laboratory Equipment for Measurement. Introduction to biomedical electronic laboratory instrumentation and measurements. BME/ISE 3511 Laboratory One - Laboratory Equipment for Measurement Learning Objectives: Introduction to biomedical electronic laboratory instrumentation and measurements. Supplies and Components: Breadboard

More information

1Getting Started SIK BINDER //3

1Getting Started SIK BINDER //3 SIK BINDER //1 SIK BINDER //2 1Getting Started SIK BINDER //3 Sparkfun Inventor s Kit Teacher s Helper These worksheets and handouts are supplemental material intended to make the educator s job a little

More information

GE 320: Introduction to Control Systems

GE 320: Introduction to Control Systems GE 320: Introduction to Control Systems Laboratory Section Manual 1 Welcome to GE 320.. 1 www.softbankrobotics.com 1 1 Introduction This section summarizes the course content and outlines the general procedure

More information

EE-3010 Lab # 5 Simulation of Operational Amplifier Circuits

EE-3010 Lab # 5 Simulation of Operational Amplifier Circuits EE-3010 Lab # 5 Simulation of Operational Amplifier Circuits Objectives Investigation of amplifier circuits containing operational amplifiers. (Note: This is a two-part lab and may be done in two consecutive

More information

EXAMPLE. Use this jack for the red test lead when measuring. current from 0 to 200mA. Figure P-1

EXAMPLE. Use this jack for the red test lead when measuring. current from 0 to 200mA. Figure P-1 Digital Multimeters ON / OFF power switch Continuity / Diode Test Function Resistance Function Ranges from 200Ω to 200MΩ Transistor Test Function DC Current Function Ranges from 2mA to 20A. AC Current

More information

Welcome to Arduino Day 2016

Welcome to Arduino Day 2016 Welcome to Arduino Day 2016 An Intro to Arduino From Zero to Hero in an Hour! Paul Court (aka @Courty) Welcome to the SLMS Arduino Day 2016 Arduino / Genuino?! What?? Part 1 Intro Quick Look at the Uno

More information

Experiment 8 Frequency Response

Experiment 8 Frequency Response Experiment 8 Frequency Response W.T. Yeung, R.A. Cortina, and R.T. Howe UC Berkeley EE 105 Spring 2005 1.0 Objective This lab will introduce the student to frequency response of circuits. The student will

More information

Iowa State University Electrical and Computer Engineering. E E 452. Electric Machines and Power Electronic Drives

Iowa State University Electrical and Computer Engineering. E E 452. Electric Machines and Power Electronic Drives Electrical and Computer Engineering E E 452. Electric Machines and Power Electronic Drives Laboratory #5 Buck Converter Embedded Code Generation Summary In this lab, you will design the control application

More information

Test Procedure for the NCP1654PFCGEVB Evaluation Board

Test Procedure for the NCP1654PFCGEVB Evaluation Board Test Procedure for the NCP1654PFCGEVB Evaluation Board Test Equipments Setup (refer to Figure 1) 1. Apply a 500 Ω / above 400 W resistive load (or use a set of resistors placed in parallel) across the

More information

Exploring DSP Performance

Exploring DSP Performance ECE1756, Experiment 02, 2015 Communications Lab, University of Toronto Exploring DSP Performance Bruno Korst, Siu Pak Mok & Vaughn Betz Abstract The performance of two DSP architectures will be probed

More information

LT Spice Getting Started Very Quickly. First Get the Latest Software!

LT Spice Getting Started Very Quickly. First Get the Latest Software! LT Spice Getting Started Very Quickly First Get the Latest Software! 1. After installing LT Spice, run it and check to make sure you have the latest version with respect to the latest version available

More information

Electronic Circuits Laboratory EE462G Lab #4. DC Power Supply Circuits Using Diodes

Electronic Circuits Laboratory EE462G Lab #4. DC Power Supply Circuits Using Diodes Electronic Circuits Laboratory EE462G Lab #4 DC Power Supply Circuits Using Diodes Instrumentation This lab requires the use of: arious features of the oscilloscope and function generator, most of which

More information

SIMULATION WITH THE BOOST TOPOLOGY ECE562: Power Electronics I COLORADO STATE UNIVERSITY. Modified in Fall 2011

SIMULATION WITH THE BOOST TOPOLOGY ECE562: Power Electronics I COLORADO STATE UNIVERSITY. Modified in Fall 2011 SIMULATION WITH THE BOOST TOPOLOGY ECE562: Power Electronics I COLORADO STATE UNIVERSITY Modified in Fall 2011 ECE 562 Boost Converter (NL5 Simulation) Laboratory 2 Page 1 PURPOSE: The purpose of this

More information

Lab 4: Analysis of the Stereo Amplifier

Lab 4: Analysis of the Stereo Amplifier ECE 212 Spring 2010 Circuit Analysis II Names: Lab 4: Analysis of the Stereo Amplifier Objectives In this lab exercise you will use the power supply to power the stereo amplifier built in the previous

More information