ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab

Size: px
Start display at page:

Download "ESE 350 Microcontroller Laboratory Lab 5: Sensor-Actuator Lab"

Transcription

1 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 for actuation. You will work with audio, temperature, motion and light sensors and use them to trigger motors, speakers and lights. In the first part of the lab you will accomplish this using the HCS12 microcontroller and ADC to sense and actuate. In the second part you will see how easy it is to do the sensing on the FireFly node using the nano-rk RTOS. The hardware of this lab consists of a firefly sensor expansion board and the FireFly node. All documentation is on the nano-rk website. More information about the sensor board can be found on: Light sensor Audio sensor Temperature sensor 3-axis accelerometer Fig 1: Sensor Expansion board

2 Fig 2: Pinout of Sensor Expansion Board 1. The step 1 of the lab consists of connecting the sensor expansion board and observing analog output from all the sensors. For the pin-out of the sensor expansion board please look at Fig 2. As you can see that the header on the sensor expansion board is not wide enough to mount directly on the breadboard. In order to connect this to the breadboard we use a minor tweak. We first connect the sensor board to the ribbon connector and then to the breadboard as shown in Fig 3 Fig 3: Connecting sensor expansion board to bread board Please note that in order to power the board you must connect pin 1 to 3.3V and pin 9 (Power Control-F7) and pin 10 to GND.

3 2. We are going to look at the signals coming out of the accelerometer, light sensor and audio sensor. Accelerometer (ADXL): The accelerometer on the sensor expansion board is the chip in the center of the board. Analog Devices Inc manufactures it as part number ADXL330KCPZ-RL. Connect only two channels of the Oscilloscope to the Xout (F2) and Yout (F5). Adjust the voltage to 1V/div and time to 1sec/div so that you can look at the change in the signals as you move the sensor expansion board. Note down the range of the signal and also print out a copy to get it signed off by a TA at the end of the lab. Photodiode: The light sensor (photocell) on the expansion board is on the bottom right corner with red and white stripes. Advanced Photonix Inc. manufactures it as part number PDV-P9003. Connect one channel of the Oscilloscope to the pin light (F1). Adjust the voltage to 1V/div and time to 1sec/div so that you can look at the change in the signals as you change the intensity with a photocell with a flashlight. Note down the range of the signal and also print out a copy to get it signed off by a TA at the end of the lab. Audio Sensor: Finally, the audio sensor is the silver and black piece on the top right corner of the sensor expansion board. Knowles Inc. manufactures it as part number MD9745APA-1. Connect one channel of the Oscilloscope to the pin mic (F3). Adjust the voltage to 1V/div and time to 1sec/div so that you can look at the change in the signals as you change as you speak in the microphone. Note down the range of the signal and also print out a copy to get it signed off by a TA at the end of the lab. 3. Accelerometer-controlled Sound Generator: The objective of this part is to change the amplitude of a speaker with variation in the X-axis value of the accelerometer and change the frequency with the change in value along the Y-axis of the accelerometer. To implement this we will connect the output from pin 4 Xout (F2) and pin 7 Yout (F5) to the ports PAD00 and PAD01 of the HC12. Use the ADC at 1MHz with 10-bit resolution. The fastest the ADC can sample in our case is 2Mhz (E-clock)/2 (Minimum prescale) i.e. 1Mhz.The ADC must sequentially obtain the digital value of both the channels. For changing the frequency of the speaker output (i.e. the PWM period), we vary the Y-axis. Change the period using PWMPERx such that the period varies between 800Hz and 2Khz at a constant duty cycle of a 50% by changing the PWMDTYx register. If you wish to use the output compare, that is another option to generate the PWM. Please note that you change the period depending upon the change in the values of the ADC. To change the amplitude we convert the signal to its analog equivalent by using the 3-bit Digital-to-Analog (DAC) board. Power the DAC board at +5V (red) and -5V

4 (yellow). Make sure that there is a common ground between your breakout board and the DAC ground (black). Connect the 3 outputs of the DAC to the I/O channels of HC12. Since it is a 3-bit DAC, you will need to divide the range of ADC value obtained in 8 states. We change digital value 0 or 1 on the three I/O lines depending upon the output state. DAC example: If the ADC value varies between 0-160, then 0-20 is state 0 which corresponds to 000 while is state 4 which corresponds to is state 7 which corresponds to 111. We drive the speaker with a 2N3904 transistor where the collector V cc varies with the output of DAC (to change the amplitude of the signal) and the base is connected to the output of PWM to change the frequency through the speaker, as shown in Fig. 4. Fig 4: Speaker Circuit Please demo your output to a TA. 4. Light-controlled Motor: Next we move on to using the light sensor. As you have noticed in the step 1 that as you shine the light on the photocell the voltage on the Pin 3(F1) decreases. Update your code to use the 3 rd A/D channel and look at the variation of the digitized values of the photocell. Initialize another channel of PWM and set it so that the period of the PWM is 20ms. Then change the PWMDTYx register depending upon the value of the ADC so that so that the duty cycle increases as we shine light on the photocell. Verify the waveform on an oscilloscope. Use the setup as lab 4 with the H-Bridge and connect a DC motor to the PWM pin. You will notice a change in the speed of the motor as you shine light on the photocell. Please demo the output to a TA. 5. Audio-sensor controlled LEDs: Sound Meter The last part of the Part-1 of this lab is to use an audio sensor to implement a clapper which shows the length of sound measured. When you observed the output from pin

5 5(F3) of the sensor expansion board you observed that the voltage at the output of the microphone decreases. Observe the change in the digital values and define a timer overflow interrupt TCNT that keeps a track of time. Connect 8 LED s to 8 I/O ports of HC12 and have the LED s come on depending ON the depending upon the time you continuously talk in the microphone. i.e. for continuously talking for a second one LED comes ON while continuously talking for 8 sec or more all the LED s come on. It s basically an LED indicator for duration of length sound. Once you complete it please demo the output to a TA. Lab 5 Part II: Now the easy way with FireFly and the nano-rk RTOS This part gets you familiarized with the FireFly node and programming in the nano- RK RTOS. We have provided you with most of the skeleton code so you just need to add a line or two for each of these tasks. 1. Download the nano-rk project from BlackBoard. Click on the Cygwin shortcut and cd to the downloaded area. Do not use the nano-rk already installed on the RCA machines unless we send you an that says otherwise. Look in the Projects directory you should find your three tasks there. Read the FireFly datasheet and familiarize yourself with the different components in your kit. 2. Make sure that each of the Firefly nodes are connected to an antenna and a sensor node. Please refer to the datasheet and connect the programmer board to the Firefly. The cables are connected in a particular way. Double-check the two cable connections between the Firefly and the programmer board. Connect the USB cable of the programmer to the computer and switch ON the programmer. 3. Refer to the How-To document posted on the Blackboard to understand how to program a Firefly node. 4. For this particular lab with the Firefly we will go over three small tasks that help you understand the Firefly. At the end of each task please demo the output to a TA and print out the.c file and get it signed by a TA. 5. Task 1 Basic Tasks - Open the basic_tasks folder under projects. (a) Compile the code by typing make in the basic_tasks directory and then download the compile code by typing make program. What do you see and why are the LEDs blinking so? (b) Modify the basic_tasks.c file so that you get a stack overflow error which can be seen on the hyper terminal. Stack overflow explanation along with other errors can be found at the link (c) Comment the stack overflow error. Now write two more tasks under the nrk_create_taskset() function. Write Task3() and Task4() to blink the red, green, blue

6 and orange led at the same rate together and then with at 100ms, 500ms, 1sec and 2.5sec respectively. 6. Task 2 Basic Sensors - Open the basic_sensors folder. When you compile the code you will see that the value of the battery is continuously printed on the hyper terminal. Modify the code basic_sensors.c to print out the values for all the sensors i.e. light, temperature, audio and three axes of the accelerometer. Please refer to the page 7. Task 3 Networked Sensors - Open the folder bmac_sensors. You can see two sub-folders under the bmac_sensors folder for a client and a server. The client sends the value of battery over the radio to the server, which in-turn prints it out on the terminal. The goal of the task is to modify any code that is required on the client and the server in order to transmit and printout all sensor values on the hyper terminal. That s it! Now you are ready to program networks of sensors, controllers and actuators. Think about ways you can use the HCS12 and FireFly for your final projects.

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

Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K.

Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K. Arduino STEAM Academy Arduino STEM Academy Art without Engineering is dreaming. Engineering without Art is calculating. - Steven K. Roberts Page 1 See Appendix A, for Licensing Attribution information

More information

ENGR 1110: Introduction to Engineering Lab 7 Pulse Width Modulation (PWM)

ENGR 1110: Introduction to Engineering Lab 7 Pulse Width Modulation (PWM) ENGR 1110: Introduction to Engineering Lab 7 Pulse Width Modulation (PWM) Supplies Needed Motor control board, Transmitter (with good batteries), Receiver Equipment Used Oscilloscope, Function Generator,

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

ME 461 Laboratory #3 Analog-to-Digital Conversion

ME 461 Laboratory #3 Analog-to-Digital Conversion ME 461 Laboratory #3 Analog-to-Digital Conversion Goals: 1. Learn how to configure and use the MSP430 s 10-bit SAR ADC. 2. Measure the output voltage of your home-made DAC and compare it to the expected

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

Version Futek Instruments, LLC

Version Futek Instruments, LLC FT_ez_DAQ User s Manual Version 2.0.0 Futek Instruments, LLC Table of Contents 1. Introduction... 3 2. System Requirements... 3 3. Software Installation... 4 3.1 Application software and USB driver installation...

More information

EE 308 Spring S12 SUBSYSTEMS: PULSE WIDTH MODULATION, A/D CONVERTER, AND SYNCHRONOUS SERIAN INTERFACE

EE 308 Spring S12 SUBSYSTEMS: PULSE WIDTH MODULATION, A/D CONVERTER, AND SYNCHRONOUS SERIAN INTERFACE 9S12 SUBSYSTEMS: PULSE WIDTH MODULATION, A/D CONVERTER, AND SYNCHRONOUS SERIAN INTERFACE In this sequence of three labs you will learn to use the 9S12 S hardware sybsystem. WEEK 1 PULSE WIDTH MODULATION

More information

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

EE 308 Lab Spring 2009

EE 308 Lab Spring 2009 9S12 Subsystems: Pulse Width Modulation, A/D Converter, and Synchronous Serial Interface In this sequence of three labs you will learn to use three of the MC9S12's hardware subsystems. WEEK 1 Pulse Width

More information

MiniProg Users Guide and Example Projects

MiniProg Users Guide and Example Projects MiniProg Users Guide and Example Projects Cypress MicroSystems, Inc. 2700 162 nd Street SW, Building D Lynnwood, WA 98037 Phone: 800.669.0557 Fax: 425.787.4641 1 TABLE OF CONTENTS Introduction to MiniProg...

More information

ME 461 Laboratory #5 Characterization and Control of PMDC Motors

ME 461 Laboratory #5 Characterization and Control of PMDC Motors ME 461 Laboratory #5 Characterization and Control of PMDC Motors Goals: 1. Build an op-amp circuit and use it to scale and shift an analog voltage. 2. Calibrate a tachometer and use it to determine motor

More information

Microcontroller: Timers, ADC

Microcontroller: Timers, ADC Microcontroller: Timers, ADC Amarjeet Singh February 1, 2013 Logistics Please share the JTAG and USB cables for your assignment Lecture tomorrow by Nipun 2 Revision from last class When servicing an interrupt,

More information

Milli Developer Kit Reference Application Published on Silver Spring Networks STAGE (

Milli Developer Kit Reference Application Published on Silver Spring Networks STAGE ( Milli Developer Kit Example Application PART 1 Example CoAP Server Sensor Implementation With The Milli Dev Kit Get the Milli Developer Kit Temperature Sensor Reference Application on GitHub [1] This reference

More information

DASL 120 Introduction to Microcontrollers

DASL 120 Introduction to Microcontrollers DASL 120 Introduction to Microcontrollers Lecture 2 Introduction to 8-bit Microcontrollers Introduction to 8-bit Microcontrollers Introduction to 8-bit Microcontrollers Introduction to Atmel Atmega328

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

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

Project Final Report: Directional Remote Control

Project Final Report: Directional Remote Control Project Final Report: by Luca Zappaterra xxxx@gwu.edu CS 297 Embedded Systems The George Washington University April 25, 2010 Project Abstract In the project, a prototype of TV remote control which reacts

More information

PWM System. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff

PWM System. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff PWM System 1 Pulse Width Modulation (PWM) Pulses are continuously generated which have different widths but the same period between leading edges Duty cycle (% high) controls the average analog voltage

More information

Grundlagen Microcontroller Counter/Timer. Günther Gridling Bettina Weiss

Grundlagen Microcontroller Counter/Timer. Günther Gridling Bettina Weiss Grundlagen Microcontroller Counter/Timer Günther Gridling Bettina Weiss 1 Counter/Timer Lecture Overview Counter Timer Prescaler Input Capture Output Compare PWM 2 important feature of microcontroller

More information

UNIVERSITY OF VICTORIA FACULTY OF ENGINEERING. SENG 466 Software for Embedded and Mechatronic Systems. Project 1 Report. May 25, 2006.

UNIVERSITY OF VICTORIA FACULTY OF ENGINEERING. SENG 466 Software for Embedded and Mechatronic Systems. Project 1 Report. May 25, 2006. UNIVERSITY OF VICTORIA FACULTY OF ENGINEERING SENG 466 Software for Embedded and Mechatronic Systems Project 1 Report May 25, 2006 Group 3 Carl Spani Abe Friesen Lianne Cheng 03-24523 01-27747 01-28963

More information

ArduCAM USB Camera Shield

ArduCAM USB Camera Shield ArduCAM USB Camera Shield Application Note for MT9V034 Rev 1.0, June 2017 Table of Contents 1 Introduction... 2 2 Hardware Installation... 2 3 Run the Demo... 3 4 Tune the Sensor Registers... 4 4.1 Identify

More information

Measuring Distance Using Sound

Measuring Distance Using Sound Measuring Distance Using Sound Distance can be measured in various ways: directly, using a ruler or measuring tape, or indirectly, using radio or sound waves. The indirect method measures another variable

More information

CSCI1600 Lab 4: Sound

CSCI1600 Lab 4: Sound CSCI1600 Lab 4: Sound November 1, 2017 1 Objectives By the end of this lab, you will: Connect a speaker and play a tone Use the speaker to play a simple melody Materials: We will be providing the parts

More information

Lab 5 Timer Module PWM ReadMeFirst

Lab 5 Timer Module PWM ReadMeFirst Lab 5 Timer Module PWM ReadMeFirst Lab Folder Content 1) ReadMeFirst 2) Interrupt Vector Table 3) Pin out Summary 4) DriverLib API 5) SineTable Overview In this lab, we are going to use the output hardware

More information

Hashemite University Faculty of Engineering Mechatronics Engineering Department. Microprocessors and Microcontrollers Laboratory

Hashemite University Faculty of Engineering Mechatronics Engineering Department. Microprocessors and Microcontrollers Laboratory Hashemite University Faculty of Engineering Mechatronics Engineering Department Microprocessors and Microcontrollers Laboratory The Hashemite University Faculty of Engineering Department of Mechatronics

More information

Using the CODEC ReadMeFirst

Using the CODEC ReadMeFirst Using the CODEC ReadMeFirst Lab Summary This lab covers the use of the CODEC that is necessary in nearly all of the future labs. This lab is divided into three parts. In the first part, you will work with

More information

Motor Control Demonstration Lab

Motor Control Demonstration Lab Motor Control Demonstration Lab JIM SIBIGTROTH and EDUARDO MONTAÑEZ Freescale Semiconductor launched by Motorola, 8/16 Bit MCU Division, Austin, TX 78735, USA. Email: j.sibigtroth@freescale.com eduardo.montanez@freescale.com

More information

Analog Discovery Arbitrary Function Generator for Windows 7 by Mr. David Fritz and Ms. Ellen Robertson

Analog Discovery Arbitrary Function Generator for Windows 7 by Mr. David Fritz and Ms. Ellen Robertson Analog Discovery Arbitrary Function Generator for Windows 7 by Mr. David Fritz and Ms. Ellen Robertson Financial support to develop this tutorial was provided by the Bradley Department of Electrical and

More information

Sonoma State University Department of Engineering Science Spring 2017

Sonoma State University Department of Engineering Science Spring 2017 EE 110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Lab 4 Introduction to AC Measurements (I) AC signals, Function Generators and Oscilloscopes Function Generator (AC) Battery

More information

Experiment 1.A. Working with Lab Equipment. ECEN 2270 Electronics Design Laboratory 1

Experiment 1.A. Working with Lab Equipment. ECEN 2270 Electronics Design Laboratory 1 .A Working with Lab Equipment Electronics Design Laboratory 1 1.A.0 1.A.1 3 1.A.4 Procedures Turn in your Pre Lab before doing anything else Setup the lab waveform generator to output desired test waveforms,

More information

Generating DTMF Tones Using Z8 Encore! MCU

Generating DTMF Tones Using Z8 Encore! MCU Application Note Generating DTMF Tones Using Z8 Encore! MCU AN024802-0608 Abstract This Application Note describes how Zilog s Z8 Encore! MCU is used as a Dual-Tone Multi- (DTMF) signal encoder to generate

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

LM4: The timer unit of the MC9S12DP256B/C

LM4: The timer unit of the MC9S12DP256B/C Objectives - To explore the Enhanced Capture Timer unit (ECT) of the MC9S12DP256B/C - To program a real-time clock signal with a fixed period and display it using the onboard LEDs (flashing light) - To

More information

USB-PWM10. User s Manual

USB-PWM10. User s Manual USB-PWM10 User s Manual Windows, Windows2000, Windows NT and Windows XP are trademarks of Microsoft. We acknowledge that the trademarks or service names of all other organizations mentioned in this document

More information

PC Tune PC Tune Test Procedures for 5100 Series Portable Radios

PC Tune PC Tune Test Procedures for 5100 Series Portable Radios PC Tune PC Tune Test Procedures for 5100 Series Portable Radios Part Number 002-9998-6513014 August 2008 Copyright 2006, 2007, 2008 by EFJohnson Technologies The EFJohnson Technologies logo, PC Configure,

More information

Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015.

Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015. Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015. Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015. Copyright 2015 by Stephen

More information

Hello, and welcome to this presentation of the FlexTimer or FTM module for Kinetis K series MCUs. In this session, you ll learn about the FTM, its

Hello, and welcome to this presentation of the FlexTimer or FTM module for Kinetis K series MCUs. In this session, you ll learn about the FTM, its Hello, and welcome to this presentation of the FlexTimer or FTM module for Kinetis K series MCUs. In this session, you ll learn about the FTM, its main features and the application benefits of leveraging

More information

802.11g Wireless Sensor Network Modules

802.11g Wireless Sensor Network Modules RFMProducts are now Murata Products Small Size, Integral Antenna, Light Weight, Low Cost 7.5 µa Sleep Current Supports Battery Operation Timer and Event Triggered Auto-reporting Capability Analog, Digital,

More information

Introduction to the Analog Discovery

Introduction to the Analog Discovery Introduction to the Analog Discovery The Analog Discovery from Digilent (http://store.digilentinc.com/all-products/scopes-instruments) is a versatile and powerful USB-connected instrument that lets you

More information

High Voltage Waveform Sensor

High Voltage Waveform Sensor High Voltage Waveform Sensor Computer Engineering Senior Project Nathan Stump Spring 2013 Statement of Purpose The purpose of this project was to build a system to measure the voltage waveform of a discharging

More information

Introduction. Theory of Operation

Introduction. Theory of Operation Mohan Rokkam Page 1 12/15/2004 Introduction The goal of our project is to design and build an automated shopping cart that follows a shopper around. Ultrasonic waves are used due to the slower speed of

More information

Index. n A. n B. n C. Base biasing transistor driver circuit, BCD-to-Decode IC, 44 46

Index. n A. n B. n C. Base biasing transistor driver circuit, BCD-to-Decode IC, 44 46 Index n A Android Droid X smartphone, 165 Arduino-based LCD controller with an improved event trigger, 182 with auto-adjust contrast control, 181 block diagram, 189, 190 circuit diagram, 187, 189 delay()

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

CATALOG. ANALOG COMMUNICATION SYSTEMS DIGITAL COMMUNICATION SYSTEMS Microcontroller kits Arm controller kits PLC Trainer KITS Regulated Power supplies

CATALOG. ANALOG COMMUNICATION SYSTEMS DIGITAL COMMUNICATION SYSTEMS Microcontroller kits Arm controller kits PLC Trainer KITS Regulated Power supplies CATALOG ANALOG COMMUNICATION SYSTEMS DIGITAL COMMUNICATION SYSTEMS Microcontroller kits Arm controller kits PLC Trainer KITS Regulated Power supplies UNION INTRUMENTS #17 & 18, 4 th floor, Hanumathra Arcade

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

PIC Functionality. General I/O Dedicated Interrupt Change State Interrupt Input Capture Output Compare PWM ADC RS232

PIC Functionality. General I/O Dedicated Interrupt Change State Interrupt Input Capture Output Compare PWM ADC RS232 PIC Functionality General I/O Dedicated Interrupt Change State Interrupt Input Capture Output Compare PWM ADC RS232 General I/O Logic Output light LEDs Trigger solenoids Transfer data Logic Input Monitor

More information

ME 461 Laboratory #2 Timers and Pulse-Width Modulation

ME 461 Laboratory #2 Timers and Pulse-Width Modulation ME 461 Laboratory #2 Timers and Pulse-Width Modulation Goals: 1. Understand how to use timers to control the frequency at which events occur. 2. Generate PWM signals using Timer A. 3. Explore the frequency

More information

Analog-to-Digital Converter. Student's name & ID (1): Partner's name & ID (2): Your Section number & TA's name

Analog-to-Digital Converter. Student's name & ID (1): Partner's name & ID (2): Your Section number & TA's name MPSD A/D Lab Exercise Analog-to-Digital Converter Student's name & ID (1): Partner's name & ID (2): Your Section number & TA's name Notes: You must work on this assignment with your partner. Hand in a

More information

Characteristic Sym Notes Minimum Typical Maximum Units Operating Frequency Range MHz Operating Frequency Tolerance khz

Characteristic Sym Notes Minimum Typical Maximum Units Operating Frequency Range MHz Operating Frequency Tolerance khz DEVELOPMENT KIT (Info Click here) 2.4 GHz ZigBee Transceiver Module Small Size, Light Weight, +18 dbm Transmitter Power Sleep Current less than 3 µa FCC and ETSI Certified for Unlicensed Operation The

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

The Audio Synthesizer

The Audio Synthesizer The Audio Synthesizer Lab Summary In this laboratory, you will construct an audio synthesizer. The synthesizer generates signals for various tones that you will use for your Simon push buttons and win/lose

More information

Basic Transceiver tests with the 8800S

Basic Transceiver tests with the 8800S The most important thing we build is trust ADVANCED ELECTRONIC SOLUTIONS AVIATION SERVICES COMMUNICATIONS AND CONNECTIVITY MISSION SYSTEMS Basic Transceiver tests with the 8800S Basic Interconnects Interconnect

More information

Multiple Instrument Station Module

Multiple Instrument Station Module Multiple Instrument Station Module Digital Storage Oscilloscope Vertical Channels Sampling rate Bandwidth Coupling Input impedance Vertical sensitivity Vertical resolution Max. input voltage Horizontal

More information

The University of Jordan Mechatronics Engineering Department Electronics Lab.( ) Experiment 1: Lab Equipment Familiarization

The University of Jordan Mechatronics Engineering Department Electronics Lab.( ) Experiment 1: Lab Equipment Familiarization The University of Jordan Mechatronics Engineering Department Electronics Lab.(0908322) Experiment 1: Lab Equipment Familiarization Objectives To be familiar with the main blocks of the oscilloscope and

More information

Characteristic Sym Notes Minimum Typical Maximum Units Operating Frequency Range MHz. RF Chip Rate 11 Mcps RF Data Rates 1, 2, 5.

Characteristic Sym Notes Minimum Typical Maximum Units Operating Frequency Range MHz. RF Chip Rate 11 Mcps RF Data Rates 1, 2, 5. RFM Products are now Murata products. Small Size, Light Weight, Low Cost 7.5 µa Sleep Current Supports Battery Operation Timer and Event Triggered Auto-reporting Capability Analog, Digital, Serial and

More information

Combinational logic: Breadboard adders

Combinational logic: Breadboard adders ! ENEE 245: Digital Circuits & Systems Lab Lab 1 Combinational logic: Breadboard adders ENEE 245: Digital Circuits and Systems Laboratory Lab 1 Objectives The objectives of this laboratory are the following:

More information

Characteristic Sym Notes Minimum Typical Maximum Units Operating Frequency Range MHz Operating Frequency Tolerance khz

Characteristic Sym Notes Minimum Typical Maximum Units Operating Frequency Range MHz Operating Frequency Tolerance khz DEVELOPMENT KIT (Info Click here) 2.4 GHz ZigBee Transceiver Module Small Size, Light Weight, Low Cost Sleep Current less than 3 µa FCC and ETSI Certified for Unlicensed Operation The ZMN2405 2.4 GHz transceiver

More information

Motor Control Development Kit

Motor Control Development Kit User s Manual, V 1.0, June 2003 Motor Control Development Kit A reference design for low voltage 3-phase AC induction and brushless DC motor control. Microcontrollers Never stop thinking. Revision History:2003-06

More information

Group 4. Michael Cooke David Griffen Whitney Keith

Group 4. Michael Cooke David Griffen Whitney Keith Group 4 Michael Cooke David Griffen Whitney Keith Edward Romero (EE) (CpE) (EE) (EE/CpE) One television s audio is broadcasted within a restaurant/gymnasium leaving all other televisions muted. Customers

More information

ATmega16A Microcontroller

ATmega16A Microcontroller ATmega16A Microcontroller Timers 1 Timers Timer 0,1,2 8 bits or 16 bits Clock sources: Internal clock, Internal clock with prescaler, External clock (timer 2), Special input pin 2 Features The choice of

More information

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE LABORATORY 7: IR SENSORS AND DISTANCE DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING UNIVERSITY OF NEVADA, LAS VEGAS GOAL: This section will introduce

More information

Hello, and welcome to this presentation of the STM32L4 comparators. It covers the main features of the ultra-lowpower comparators and some

Hello, and welcome to this presentation of the STM32L4 comparators. It covers the main features of the ultra-lowpower comparators and some Hello, and welcome to this presentation of the STM32L4 comparators. It covers the main features of the ultra-lowpower comparators and some application examples. 1 The two comparators inside STM32 microcontroller

More information

EE 3101 ELECTRONICS I LABORATORY EXPERIMENT 9 LAB MANUAL APPLICATIONS OF IC BUILDING BLOCKS

EE 3101 ELECTRONICS I LABORATORY EXPERIMENT 9 LAB MANUAL APPLICATIONS OF IC BUILDING BLOCKS EE 3101 ELECTRONICS I LABORATORY EXPERIMENT 9 LAB MANUAL APPLICATIONS OF IC BUILDING BLOCKS OBJECTIVES In this experiment you will Explore the use of a popular IC chip and its applications. Become more

More information

Graphical Control Panel User Manual

Graphical Control Panel User Manual Graphical Control Panel User Manual DS-MPE-DAQ0804 PCIe Minicard Data Acquisition Module For Universal Driver Version 7.0.0 and later Revision A.0 March 2015 Revision Date Comment A.0 3/18/2015 Initial

More information

Pulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore)

Pulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore) Laboratory 14 Pulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore) Required Components: 1x PIC 16F88 18P-DIP microcontroller 3x 0.1 F capacitors 1x 12-button numeric

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

Delta 44 Quick Start Guide

Delta 44 Quick Start Guide Delta 44 Quick Start Guide The M-Audio Delta 44 is a high grade professional sound card. When setup properly for use with the SDR- 1000, the results speak for themselves. Unbelievably high dynamic range

More information

Microprocessors B Lab 4 Spring Motor Control Using Pulse Width Modulation (PWM)

Microprocessors B Lab 4 Spring Motor Control Using Pulse Width Modulation (PWM) Motor Control Using Pulse Width Modulation (PWM) Lab Report Objectives Materials See separate report form located on the course webpage. This form should be completed during the performance of this lab.

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

Sensors Fundamentals. Renesas Electronics America Inc Renesas Electronics America Inc. All rights reserved.

Sensors Fundamentals. Renesas Electronics America Inc Renesas Electronics America Inc. All rights reserved. Sensors Fundamentals Renesas Electronics America Inc. Renesas Technology & Solution Portfolio 2 Agenda Introduction Sensors fundamentals ADI sensors Sensors data acquisition ADI support for sensors applications

More information

PART 1: DESCRIPTION OF THE DIGITAL CONTROL SYSTEM

PART 1: DESCRIPTION OF THE DIGITAL CONTROL SYSTEM ELECTRICAL ENGINEERING TECHNOLOGY PROGRAM EET 433 CONTROL SYSTEMS ANALYSIS AND DESIGN LABORATORY EXPERIENCES INTRODUCTION TO DIGITAL CONTROL PART 1: DESCRIPTION OF THE DIGITAL CONTROL SYSTEM 1. INTRODUCTION

More information

LAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY

LAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY LAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY Objectives Preparation Tools To see the inner workings of a commercial mechatronic system and to construct a simple manual motor speed controller and current

More information

Exercise 2. The Buck Chopper EXERCISE OBJECTIVE DISCUSSION OUTLINE. The buck chopper DISCUSSION

Exercise 2. The Buck Chopper EXERCISE OBJECTIVE DISCUSSION OUTLINE. The buck chopper DISCUSSION Exercise 2 The Buck Chopper EXERCISE OBJECTIVE When you have completed this exercise, you will be familiar with the operation of the buck chopper. DISCUSSION OUTLINE The Discussion of this exercise covers

More information

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

Lab 4 Rev. 1 Open Lab Due COB Friday April 6, 2018 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

More information

SAE Formula Car Data Acquisition & Display System. Joseph Groe, Michelle Ohlson, & Miles Homler Advisor: Professor Gutschlag

SAE Formula Car Data Acquisition & Display System. Joseph Groe, Michelle Ohlson, & Miles Homler Advisor: Professor Gutschlag SAE Formula Car Data Acquisition & Display System Joseph Groe, Michelle Ohlson, & Miles Homler Advisor: Professor Gutschlag Agenda Problem Background Problem Statement System Diagram Project Functional

More information

Designing with a Microcontroller (v6)

Designing with a Microcontroller (v6) Designing with a Microcontroller (v6) Safety: In this lab, voltages are less than 15 volts and this is not normally dangerous to humans. However, you should assemble or modify a circuit when power is disconnected

More information

Course Introduction. Content 20 pages 3 questions. Learning Time 30 minutes

Course Introduction. Content 20 pages 3 questions. Learning Time 30 minutes Purpose The intent of this course is to provide you with information about the main features of the S08 Timer/PWM (TPM) interface module and how to configure and use it in common applications. Objectives

More information

Getting started with Mobile Studio.

Getting started with Mobile Studio. Getting started with Mobile Studio. IMPORTANT!!! DO NOT PLUG THE MOBILE STUDIO BOARD INTO THE USB PORT YET. First Lab: For the first lab experiment you will essentially play with the Mobile Studio Board

More information

Digital-to-Analog Converter. Lab 3 Final Report

Digital-to-Analog Converter. Lab 3 Final Report Digital-to-Analog Converter Lab 3 Final Report The Ion Cannons: Shrinand Aggarwal Cameron Francis Nicholas Polito Section 2 May 1, 2017 1 Table of Contents Introduction..3 Rationale..3 Theory of Operation.3

More information

ECE 477 Digital Systems Senior Design Project Rev 8/09. Homework 5: Theory of Operation and Hardware Design Narrative

ECE 477 Digital Systems Senior Design Project Rev 8/09. Homework 5: Theory of Operation and Hardware Design Narrative ECE 477 Digital Systems Senior Design Project Rev 8/09 Homework 5: Theory of Operation and Hardware Design Narrative Team Code Name: _ATV Group No. 3 Team Member Completing This Homework: Sebastian Hening

More information

University of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 3157 Electrical Engineering Design II Fall 2013

University of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 3157 Electrical Engineering Design II Fall 2013 Exercise 1: PWM Modulator University of North Carolina-Charlotte Department of Electrical and Computer Engineering ECGR 3157 Electrical Engineering Design II Fall 2013 Lab 3: Power-System Components and

More information

Laboratory: Introduction to Mechatronics. Lab 5. DC Motor Speed Control Using PWM

Laboratory: Introduction to Mechatronics. Lab 5. DC Motor Speed Control Using PWM Laboratory: Introduction to Mechatronics Instructor TA: Edgar Martinez Soberanes (eem370@mail.usask.ca) 2017-03-15 Lab 5. DC Motor Speed Control Using PWM Lab Sessions Lab 1. Introduction to the equipment

More information

PIC ADC to PWM and Mosfet Low-Side Driver

PIC ADC to PWM and Mosfet Low-Side Driver Name Lab Section PIC ADC to PWM and Mosfet Low-Side Driver Lab 6 Introduction: In this lab you will convert an analog voltage into a pulse width modulation (PWM) duty cycle. The source of the analog voltage

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

Wireless Neural Loggers

Wireless Neural Loggers Deuteron Technologies Ltd. Electronics for Neuroscience Wireless Neural Loggers On-animal neural recording Deuteron Technologies provides a family of animal-borne neural data loggers for recording 8, 16,

More information

Laboratory Assignment Number 3 for Mech 143. Pre-Lab: Part 1 Interfacing to a DC Motor and Potentiometer

Laboratory Assignment Number 3 for Mech 143. Pre-Lab: Part 1 Interfacing to a DC Motor and Potentiometer Purpose: Minimum Parts Required: Laboratory Assignment Number 3 for Mech 143 Due by 5:00 pm on Thursday, February 11, 1999 Pre-Lab Due by 5:00pm on Tuesday, February 9, 1999 This lab is intended to acquaint

More information

Lab 1 - Analogue and Digital Signals

Lab 1 - Analogue and Digital Signals Lab 1 - Analogue and Digital Signals Objective 1. To reintroduce the equipment used in the lab. 2. To get practical experience assembling and analyzing circuits. 3. To examine physical analogue and digital

More information

Mechatronics Laboratory Assignment 3 Introduction to I/O with the F28335 Motor Control Processor

Mechatronics Laboratory Assignment 3 Introduction to I/O with the F28335 Motor Control Processor Mechatronics Laboratory Assignment 3 Introduction to I/O with the F28335 Motor Control Processor Recommended Due Date: By your lab time the week of February 12 th Possible Points: If checked off before

More information

EE445L Fall 2012 Final Version B Page 1 of 7

EE445L Fall 2012 Final Version B Page 1 of 7 EE445L Fall 2012 Final Version B Page 1 of 7 Jonathan W. Valvano First: Last: This is the closed book section. You must put your answers in the boxes on this answer page. When you are done, you turn in

More information

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE LABORATORY 6: INTRODUCTION TO BREADBOARDS DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING UNIVERSITY OF NEVADA, LAS VEGAS GOAL: This section introduces

More information

Lab 1 Navigation using a 2-axis accelerometer

Lab 1 Navigation using a 2-axis accelerometer Measurement Technology and Uncertainty Analysis E7021E Torbjörn Löfquist EISLAB Luleå University of Technology (Revised: July 22, 2009, by Johan Carlson) Lab 1 Navigation using a 2-axis accelerometer Goal:

More information

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter

EE283 Electrical Measurement Laboratory Laboratory Exercise #7: Digital Counter EE283 Electrical Measurement Laboratory Laboratory Exercise #7: al Counter Objectives: 1. To familiarize students with sequential digital circuits. 2. To show how digital devices can be used for measurement

More information

Today s Menu. Near Infrared Sensors

Today s Menu. Near Infrared Sensors Today s Menu Near Infrared Sensors CdS Cells Programming Simple Behaviors 1 Near-Infrared Sensors Infrared (IR) Sensors > Near-infrared proximity sensors are called IRs for short. These devices are insensitive

More information

MICROCONTROLLER TUTORIAL II TIMERS

MICROCONTROLLER TUTORIAL II TIMERS MICROCONTROLLER TUTORIAL II TIMERS WHAT IS A TIMER? We use timers every day - the simplest one can be found on your wrist A simple clock will time the seconds, minutes and hours elapsed in a given day

More information

Servo click. PID: MIKROE 3133 Weight: 32 g

Servo click. PID: MIKROE 3133 Weight: 32 g Servo click PID: MIKROE 3133 Weight: 32 g Servo click is a 16-channel PWM servo driver with the voltage sensing circuitry. It can be used to simultaneously control 16 servo motors, each with its own programmable

More information

Good luck and enjoy your new radio.

Good luck and enjoy your new radio. TM 5-Step SDR-1000 Quick Start Guide Installation and The purpose of this guide is to get you on the air as quickly as possible so you can begin to enjoy your new SDR-1000. This document is not a substitute

More information

RS232-B1 User Manual V1.2 05/10/2017

RS232-B1 User Manual V1.2 05/10/2017 RS232-B1 User Manual V1.2 05/10/2017 Table of Contents 1. Introduction...2 1.1 Device Overview... 2 1.2 System Overview... 3 1.3 Features... 3 1.4 Connectors... 4 1.4.1 RS232 Connectors (J1, J2)... 4 1.4.2

More information

USB Multifunction Arbitrary Waveform Generator AWG2300. User Guide

USB Multifunction Arbitrary Waveform Generator AWG2300. User Guide USB Multifunction Arbitrary Waveform Generator AWG2300 User Guide Contents Safety information... 3 About this guide... 4 AWG2300 specifications... 5 Chapter 1. Product introduction 1 1. Package contents......

More information

Hearing Aid Redesign: Test Plans ELECTRICAL TESTING

Hearing Aid Redesign: Test Plans ELECTRICAL TESTING ELECTRICAL TESTING Table of Contents: Number Test Page EE 1 Switch 2 EE 2 Speaker 7 EE 3 Sound Processing 11 EE 4 Microphone 14 EE 5 Battery Charger 18 EE 6 Bandpass and Pre-Amplification 20 EE 7 System

More information