Prelab: Introduction and Greenhouse Construction

Size: px
Start display at page:

Download "Prelab: Introduction and Greenhouse Construction"

Transcription

1 Prelab: Introduction and Greenhouse Construction In this lab, you will create a PID control system that will regulate temperature and humidity of a greenhouse-like enclosure. You will learn the concepts of PID control, microcontroller coding and principles of op-amps. The following is a block diagram of the entire system; however, each component of the circuit will be discussed. Figure 1 Block diagram of the greenhouse control system. Figure 1 gives a description of how the system will be implemented. The microcontroller takes input voltages from both an analog temperature sensor and a digital humidity and temperature sensor. These voltage values will be used to generate an error signal that represents the difference between the actual and desired temperatures. The input from the digital sensor will be used as a comparative voltage for an on/off control for the humidifier via a relay. The microcontroller will then take these values, and output them to a LCD. In addition, the microcontroller, through PWM pins, will output a voltage to both a relay and PID control circuit. Figure 2 below shows the PID circuit the students will construct on breadboards to control the fan and light bulb to adjust the system s internal temperature.

2 Figure 2 PID circuit that the students will build to control the light bulb and fan of the greenhouse. The PID circuit is depicted in Figure 3 below. In the PID control circuit, the microcontroller will provide the actual temperature value from the sensors and a reference temperature voltage. This reference voltage will be chosen by the user and programmed into the microcontroller code. The PID will turn on a light bulb when the temperature of the system is lower than the desired reference temperature. Figure 3 Typical PID circuit and block diagram using op amps.

3 The PID will also turn on a fan when the actual temperature is higher than the reference temperature. The process of heating up the container and cooling it down, will continue until a relative equilibrium has been reached that is close to the reference temperature. The microcontroller will also output a voltage through a digital output pin set high (5V) to a relay. If the humidity is above the desired set point, this relay sends 15V to be summed with the output signal of the PID circuit by a summing op amp. The idea is, that 15 volts summed with whatever the PID is outputting is enough to turn on the fan, effectively by-passing PID control. Greenhouse Construction: Here, you will construct the greenhouse enclosure. To start, you will need a 128ml container. The one used in this lab, is a Hawaiian Punch container from a grocery store. 1. Using an empty container, trace and cut a hole for the fan near the bottom of the container. The bottom was chosen to minimize the amount of heat and humidity lost through the openings between fan blades. Figure 4 Greenhouse container with a focus on the hole for the fan. 2. Next, you will mount the fan making sure it will blow air out of the container, rather than into it.

4 Figure 5 Greenhouse container with the fan mounted.

5 3. Next you will hang the light bulb, analog temperature sensor and digital sensor from the top of the container and seal it with tape. Figure 6 Greenhouse showing the LM34 temp sensor, 12V light bulb, and digital T/H sensor hanging inside.

6 4. Later on, a humidifier will be placed into the greenhouse, so a small slit should be made at the bottom of the container to make room for the humidifier wire. Figure 7 Greenhouse with the humidifier placed inside at the bottom.

7 Table 1 Parts list needed to complete the greenhouse labs. Product Part Number 2 N-MOS FQP30N06L Op-Amp Temp Sensor Temp/Hum Sensor Fan Portable Ultrasonic Humidifier Hawaiian Punch 128 ml container Sylvania tail light UA741CPE4 LM35DZ/NOPB DHT11 AD0405MB-G70- LF B006N0JJVM AA P27/7W 2 darlington transistors 2N relays 26Y2W8 4 Potentiometer D1M 1130 Trimmer LCD 306E LCM-S01602DSF /A Arduino Uno R3 Functional Necessities (tape, solder, etc)

8 Lab 1: Programming the Microcontroller In this lab, you will write a microcontroller program that will be used to perform three operations. For the first operation, you will write a code for the digital temperature/humidity sensor and LCD display. This code should take temperature and humidity levels, and output them to an LCD. The code should also output the data to a CSV file. You won t have to worry about the serial output until a later lab, but you will need to get the ambient room temperature and humidity as these will aid in selecting your reference voltages for the humidity and temperature inputs. For the second operation, you will complete the skeletal code that will output reference voltages. For the third operation, you will complete the skeletal code for the relay circuit. In order to program an Arduino you must first download the Arduino IDE. Instructions for doing this can be found at: As you may or may not know, there will be libraries that will be needed to interface with various components such as the DHT sensor. These libraries were provided and an inorder to use certain functions such as dht.readhumidity(); you will have to include them by using #include DHT.h as illustrated in the sample code and skeleton. These libraries (contained in the greenhouselab.zip) will have to be placed in your local Arduino libraries folder, usually Documents/Arduino/Libraries before the IDE can use them. When writing this code make sure to keep a count of the pins that you are using on the Arduino Uno board. Certain pins marked pwm are capable of outputting a varied voltage level and should be used when providing the references to the PID control circuit. Additionally, pin 0 and 1 should not be used as a digital input pin for the DHT sensor.

9 A) 1. The first step will be to write a code for the digital temperature and humidity (DHT) sensor. The DHT will be used to control the humidity in the system, and the analog temperature sensor will be used to control the temperature, as it can be read from constantly, while the DHT requires a waiting period. A skeleton is provided, but the implementation is generally open to how you want to do it. You must however use the DHT library provided, or another library used for interacting with the DHT sensor. The one provided can be found at: For how to implement this, take a look at the sample code provided in the library labeled 'DHTtester.ino (%localpath%/libaries/dht/dhttester/dhttester.ino). This will show how the functions provided in the library interact with the sensor. You will have to make a loop that will activate a relay when the humidity is too low, or another relay for the fan when the humidity is too high. This can be done by using the digitalwrite(pin, HIGH); or digitalwrite(pin, LOW);. Make sure that you designate the pin to be a output pin by using pinmode(pin, OUTPUT); You will have to make sure that you take in the input from the sensor, using the provided sample code, and then compare it to a reference. The point at which the fan should turn on is up to you. This means that you can set a humidity buffer for how far the humidifier can overshoot the target humidity. It can be interesting to observe the effects that this can cause. 2. The second step will be to write a code that will be based on setting up the LCD display to display temperature and humidity. A fantastic tutorial to using an LCD with an Arduino is provided at the link directly below, and goes much more in depth than is possible in this lab writeup. You will see that you must set the position of the cursor and the use lcd.print();

10 3. The third step will be recording the reference values that were generated from the digital sensor (temperature and humidity) V Temp = V Humdity = These references can be found either from a serial output to the computer or from the LCD. A serial output can be set up using the tutorial below. To view the serial output, make sure that the Arduino is connected to the computer and go to tools>serial monitor B) 1. In this part of the lab, you will be finishing the skeletal code that will output the reference voltages from the microcontroller and send them to the PID controller. The code should also take in an analog signal from the analog temperature sensor (LM34), convert it to a digital signal and then back to a analog signal via one of the PWM output pins. The analog temperature sensor is powered off of 5V, and its input must go into one of the analog in pins of the arduino. It can be read using analogread(pin). To convert it to degrees fahrenheit it must be multiplied by the scaling factor, (5.0V/ levels ); Be sure to include a calibration, as your temperature sensor may constantly be off by a consistent amount of degrees. In order to output the reference using a digital PWM pin the temperature reading in fahrenheit must be converted. there is 255 different voltage levels that the pin is capable of outputting and the output voltage is 5 volts. So to output the temperature like 75 degrees as 0.75 the output must be multiplied by the factor of temp*(255 levels / 5V).

11 Lab 2: Building the System In this laboratory, you will build a PID control circuit to control the light bulb and fan based on the readings from the DHT11 digital humidity/temperature sensor and the LM35 analog temperature sensor. Next, you will implement two relays that will be used to control the humidifier and fan. A) Create PID Control Circuit: The PID control circuit will control the light bulb and the fan to increase or decrease greenhouse temperature, as well as allow for a signal from a relay to control the fan. 1. The following schematic of the PID controller, shows how the PID will be implemented using op-amps, resistors, capacitors, transistors and potentiometers. Create the circuit shown in Figure 8 on a breadboard. It will be helpful for debugging if you use a color-coded wiring scheme, such as red for +Vcc, blue for -Vcc, green for GND, yellow for wires feedback loops and to connect to the next stage. A sample photo of what this color scheme would look like is provided in Figure ####. Figure 8 PID circuit to control temperature of the greenhouse. 2. The first three op amps from left to right of Figure 8 above shows how the error term is generated using an inverting, a summing, and unity gain buffer op amp configurations. Show that the output of the inverting summer is: Verror = -(Vref -Vactual) Note: Vref is the desired temperature. 3. Figure 3 above shows a general way to implement a PID control circuit using op amps. Note that it differs from the implementation shown in Figure 8, in that it is lacking a low pass filter in series with the differentiator component of the PID. Why do you think in practice it would be a good idea to have this low pass filter for the differentiator? From Figure 3, show that the transfer function is: VV cccccccccccccc VV eeeeeeeeee = RR pp2 RR pp1 + 1 RR ii CC 1 ss + RR ddcc 2 ss = KK pp + KK ii 1 ss + KK ddss

12 B) Relay Implementation: The relays will be used to control the humidity in the system. The relay chosen for this lab is a 5 pin mechanical relay that runs off of 5V (you can power it off of the microcontroller). Two pins are the source and ground of the object that is being switched on and off, and one pin is the output. The other two pins are the ones that run off of 5v and are used to actuate the relay. When there is current running between these two pins the relay will go to the on position (active on). You will hear a small mechanical click when this happens. Look at the diagram below: Figure 9 Schematic of the relay(s) used to control the fan and the humidifier. This is one implementation of the relay circuit. This circuit uses a NPN transistor to stop the flow of current until the it is triggered from the Arduino out. Be sure to include a resistor between the Arduino and the NPN transistor and to have similar grounds for the transistor and the switch circuit. If a different relay is used, make sure to read the documentation on that relay and match the correct pins. Once the relay circuit is hooked up, the humidifiers wire from the power supply to the humidifier can be cut and the wires attached to the relay, so that the relay essentially stops to current flow to the humidifier and when it is activated, turns on the humidifier.

13 The fan is similar in when the relay is turned on it forces the PID control circuit to output the -15V required to fully actuate the fan. So place the output of the relay into the summing op amp on the right side of the circuit of Figure 8, where it says From relay.

14 Lab 3: Testing and Debugging The Circuits In this laboratory, you will finish complete the construction of the PID and relay circuits. Once they are built, you will start testing and debugging both of the circuits. You will test the op amps to make sure that their output voltages agree with their theoretical values. A) Testing the op-amp: 1. Use this code to generate a reference voltage and simulate an actual temperature: 2. At the output PWM pins selected for the previous step, check to see if your reference and simulated actual voltages are what you expect. Record them below. V Ref = V actual = 3. Run through the circuit up to and including the proportional term of the PID and check if your voltages make sense. 4. From left to right of figure 8, after the first inverting op-amp, what is the voltage? Does this make sense? Why or why not? V inverting input = V inverting output =

15 5. After the first inverting summer op-amp what is the voltage? Does this make sense? Why or why not? V Summer input1 = V Summer input2 = V Summer output = 6. After the proportional term op-amp, what is the voltage? What resistors did you use? What gain should you have gotten and what gain did you get? Do these values make sense? Why or why not? V Proportional input = V Proportional output = R Feedback = R Input = Gain Theoretical = Gain Actual = 7. Now remove the buffer that comes after the proporional op-amp. Measure the output voltage. Is your output voltage the same as before? Why or why not? V Output with buffer = V Output with out buffer = B) Testing the relay: 1. The simplest way to test the relay to ensure that it is working properly is to add LEDs between the output and ground pins on the relay, so that when the relay is turned on the LEDs will light up. To do this stick the short end of the LED (cathode) into the ground pin s rail on the breadboard, and then add a 5-15K resistor between the anode of the LED and the output pin of the relay. Once you are sure that the relays work properly, ensure that the fan is actuating when setting the references on the code to the correct levels. This can be done by adjusting the target levels of the humidity in your code.

16 Lab 4: Overall System Testing and Tuning the Circuit In this lab, you are going to test and tune the circuit. Furthermore, you will run the microcontroller that is connected to both the relay and the PID controller and you will also write microcontroller code to produce a serial output. Using the serial output, you will create a CSV file, create and analyze a response graph, and tune the circuit appropriately. A) 1. Connect the relay to the humidifier and the PID controller. 2. Connect the PID controller and analog and digital sensor to the microcontroller. 3. Compile and upload your microcontroller code using ambient temperature and humidity. Get the ambient temperature and humidity as found in lab 1 and run serial output. 4. From here, take your serial output and export it to a CSV file. Next, create and analyze a graph of the system response using this CSV file. 5. Now, run and export your serial output for the case of desired temperature and humidity are greater than actual. You will do this by changing your reference voltage values. Suggested temperature and humidity conditions: Case Temperature Humidity 1 V Temp +10 V Humidity +20% 2 V Temp +2 V Humidity +5%

17

18 Solutions:

19

20

21

University of Portland EE 271 Electrical Circuits Laboratory. Experiment: Op Amps

University of Portland EE 271 Electrical Circuits Laboratory. Experiment: Op Amps University of Portland EE 271 Electrical Circuits Laboratory Experiment: Op Amps I. Objective The objective of this experiment is to learn how to use an op amp circuit to prevent loading and to amplify

More information

EXPERIMENT 3 Circuit Construction and Operational Amplifier Circuits

EXPERIMENT 3 Circuit Construction and Operational Amplifier Circuits ELEC 2010 Lab Manual Experiment 3 PRE-LAB Page 1 of 8 EXPERIMENT 3 Circuit Construction and Operational Amplifier Circuits Introduction In this experiment you will learn how to build your own circuits

More information

Module 9C: The Voltage Comparator (Application: PWM Control via a Reference Voltage)

Module 9C: The Voltage Comparator (Application: PWM Control via a Reference Voltage) Explore More! Points awarded: Module 9C: The Voltage Comparator (Application: PWM Control via a Reference Voltage) Name: Net ID: Laboratory Outline A voltage comparator considers two voltage waveforms,

More information

USER MANUAL FOR THE LM2901 QUAD VOLTAGE COMPARATOR FUNCTIONAL MODULE

USER MANUAL FOR THE LM2901 QUAD VOLTAGE COMPARATOR FUNCTIONAL MODULE USER MANUAL FOR THE LM2901 QUAD VOLTAGE COMPARATOR FUNCTIONAL MODULE LM2901 Quad Voltage Comparator 1 5/18/04 TABLE OF CONTENTS 1. Index of Figures....3 2. Index of Tables. 3 3. Introduction.. 4-5 4. Theory

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

2 Thermistor + Op-Amp + Relay = Sensor + Actuator

2 Thermistor + Op-Amp + Relay = Sensor + Actuator Physics 221 - Electronics Temple University, Fall 2005-6 C. J. Martoff, Instructor On/Off Temperature Control; Controlling Wall Current with an Op-Amp 1 Objectives Introduce the method of closed loop control

More information

Exercise 2: Temperature Measurement

Exercise 2: Temperature Measurement Exercise 2: Temperature Measurement EXERCISE OBJECTIVE When you have completed this exercise, you will be able to explain and demonstrate the use of an RTD in a temperature measurement application by using

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

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

EET 438a Automatic Control Systems Technology Laboratory 1 Analog Sensor Signal Conditioning

EET 438a Automatic Control Systems Technology Laboratory 1 Analog Sensor Signal Conditioning EET 438a Automatic Control Systems Technology Laboratory 1 Analog Sensor Signal Conditioning Objectives: Use analog OP AMP circuits to scale the output of a sensor to signal levels commonly found in practical

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

// 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

PreLab 7: LED Blinker (Due Oct 30)

PreLab 7: LED Blinker (Due Oct 30) GOAL PreLab 7: LED Blinker (Due Oct 30) The overall goal of Lab 7 is to demonstrate a two-led blinker with adjustable frequency. This is a two-week lab. The first week involves designing and testing a

More information

Physics 310 Lab 6 Op Amps

Physics 310 Lab 6 Op Amps Physics 310 Lab 6 Op Amps Equipment: Op-Amp, IC test clip, IC extractor, breadboard, silver mini-power supply, two function generators, oscilloscope, two 5.1 k s, 2.7 k, three 10 k s, 1 k, 100 k, LED,

More information

PCB & Circuit Designing (Summer Training Program) 6 Weeks/ 45 Days PRESENTED BY

PCB & Circuit Designing (Summer Training Program) 6 Weeks/ 45 Days PRESENTED BY PCB & Circuit Designing (Summer Training Program) 6 Weeks/ 45 Days PRESENTED BY RoboSpecies Technologies Pvt. Ltd. Office: D-66, First Floor, Sector- 07, Noida, UP Contact us: Email: stp@robospecies.com

More information

Control System Circuits with Opamps

Control System Circuits with Opamps Control System Circuits with Opamps 27.04.2009 Purpose To introduce opamps, transistors and their usage To apply a control system with analog circuit elements. Difference Amplifier Figure 1 Basic Difference

More information

FABO ACADEMY X ELECTRONIC DESIGN

FABO ACADEMY X ELECTRONIC DESIGN ELECTRONIC DESIGN MAKE A DEVICE WITH INPUT & OUTPUT The Shanghaino can be programmed to use many input and output devices (a motor, a light sensor, etc) uploading an instruction code (a program) to it

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

University of Utah Electrical & Computer Engineering Department ECE 1250 Lab 4 Pulse Width Modulation Circuit

University of Utah Electrical & Computer Engineering Department ECE 1250 Lab 4 Pulse Width Modulation Circuit University of Utah Electrical & Computer Engineering Department ECE 1250 Lab 4 Pulse Width Modulation Circuit Note: Bring textbook & parts used last time to lab. A. Stolp, 1/8/12 rev, Objective Build a

More information

Sensor Interfacing and Operational Amplifiers Lab 3

Sensor Interfacing and Operational Amplifiers Lab 3 Name Lab Day Lab Time Sensor Interfacing and Operational Amplifiers Lab 3 Introduction: In this lab you will design and build a circuit that will convert the temperature indicated by a thermistor s resistance

More information

LABORATORY EXPERIMENT. Infrared Transmitter/Receiver

LABORATORY EXPERIMENT. Infrared Transmitter/Receiver LABORATORY EXPERIMENT Infrared Transmitter/Receiver (Note to Teaching Assistant: The week before this experiment is performed, place students into groups of two and assign each group a specific frequency

More information

EE320L Electronics I. Laboratory. Laboratory Exercise #2. Basic Op-Amp Circuits. Angsuman Roy. Department of Electrical and Computer Engineering

EE320L Electronics I. Laboratory. Laboratory Exercise #2. Basic Op-Amp Circuits. Angsuman Roy. Department of Electrical and Computer Engineering EE320L Electronics I Laboratory Laboratory Exercise #2 Basic Op-Amp Circuits By Angsuman Roy Department of Electrical and Computer Engineering University of Nevada, Las Vegas Objective: The purpose of

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

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

Operational amplifiers

Operational amplifiers Chapter 8 Operational amplifiers An operational amplifier is a device with two inputs and one output. It takes the difference between the voltages at the two inputs, multiplies by some very large gain,

More information

EE320L Electronics I. Laboratory. Laboratory Exercise #3. Operational Amplifier Application Circuits. Angsuman Roy

EE320L Electronics I. Laboratory. Laboratory Exercise #3. Operational Amplifier Application Circuits. Angsuman Roy EE320L Electronics I Laboratory Laboratory Exercise #3 Operational Amplifier Application Circuits By Angsuman Roy Department of Electrical and Computer Engineering University of Nevada, Las Vegas Objective:

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

Operation and Maintenance Manual

Operation and Maintenance Manual WeiKedz 0-30V 2mA-3A Adjustable DC Regulated Power Supply DIY Kit Operation and Maintenance Manual The WeiKedz Adjustable DC Regulated Power Supply provides continuously variable output voltage between

More information

EE 210 Lab Exercise #5: OP-AMPS I

EE 210 Lab Exercise #5: OP-AMPS I EE 210 Lab Exercise #5: OP-AMPS I ITEMS REQUIRED EE210 crate, DMM, EE210 parts kit, T-connector, 50Ω terminator, Breadboard Lab report due at the ASSIGNMENT beginning of the next lab period Data and results

More information

Electronic Components

Electronic Components Electronic Components Arduino Uno Arduino Uno is a microcontroller (a simple computer), it has no way to interact. Building circuits and interface is necessary. Battery Snap Battery Snap is used to connect

More information

Data Conversion and Lab Lab 1 Fall Operational Amplifiers

Data Conversion and Lab Lab 1 Fall Operational Amplifiers Operational Amplifiers Lab Report Objectives Materials See separate report form located on the course webpage. This form should be completed during the performance of this lab. 1) To construct and operate

More information

ECE Lab #4 OpAmp Circuits with Negative Feedback and Positive Feedback

ECE Lab #4 OpAmp Circuits with Negative Feedback and Positive Feedback ECE 214 Lab #4 OpAmp Circuits with Negative Feedback and Positive Feedback 20 February 2018 Introduction: The TL082 Operational Amplifier (OpAmp) and the Texas Instruments Analog System Lab Kit Pro evaluation

More information

Operational Amplifiers

Operational Amplifiers 1. Introduction Operational Amplifiers The student will be introduced to the application and analysis of operational amplifiers in this laboratory experiment. The student will apply circuit analysis techniques

More information

Function Generator Op-amp Summing Circuits Pulse Width Modulation LM311 Comparator

Function Generator Op-amp Summing Circuits Pulse Width Modulation LM311 Comparator Function Generator Op-amp Summing Circuits Pulse Width Modulation LM311 Comparator Objective ECE3204 D2015 Lab 3 The main purpose of this lab is to gain familiarity with use of the op-amp in a non-linear

More information

Control System for Lamp Luminosity. Ian Johnson, Tyler McCracken, Scott Freund EE 554 November 29, 2010

Control System for Lamp Luminosity. Ian Johnson, Tyler McCracken, Scott Freund EE 554 November 29, 2010 Control System for Lamp Luminosity Ian Johnson, Tyler McCracken, Scott Freund EE 554 November 29, 2010 Table of Contents Abstract...ii Introduction...1 Procedure...1 Results/Discussion...3 Conclusion...4

More information

Oct 10 & 17 EGR 220: Engineering Circuit Theory Due Oct 17 & 24 Lab 4: Op Amp Circuits

Oct 10 & 17 EGR 220: Engineering Circuit Theory Due Oct 17 & 24 Lab 4: Op Amp Circuits Oct 10 & 17 EGR 220: Engineering Circuit Theory Due Oct 17 & 24 Lab 4: Op Amp Circuits Objective The objective of this lab is to build simple op amp circuits and compare observed behavior with theoretical

More information

BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY

BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY Electronics Circuits II Laboratory (EEE 208) Simulation Experiment No. 02 Study of the Characteristics and Application of Operational Amplifier (Part B)

More information

PSoC and Arduino Calculator

PSoC and Arduino Calculator EGR 322 Microcontrollers PSoC and Arduino Calculator Prepared for: Dr. Foist Christopher Parisi (390281) Ryan Canty (384185) College of Engineering California Baptist University 05/02/12 TABLE OF CONTENTS

More information

IMPLEMENTATION AND DESIGN OF TEMPERATURE CONTROLLER UTILIZING PC BASED DATA ACQUISITION SYSTEM

IMPLEMENTATION AND DESIGN OF TEMPERATURE CONTROLLER UTILIZING PC BASED DATA ACQUISITION SYSTEM www.elkjournals.com IMPLEMENTATION AND DESIGN OF TEMPERATURE CONTROLLER UTILIZING PC BASED DATA ACQUISITION SYSTEM Ravindra Mishra ABSTRACT Closed loop or Feedback control is a popular way to regulate

More information

Operational Amplifiers (Op Amps)

Operational Amplifiers (Op Amps) Operational Amplifiers (Op Amps) Introduction * An operational amplifier is modeled as a voltage controlled voltage source. * An operational amplifier has a very high input impedance and a very high gain.

More information

Embedded Systems & Robotics (Winter Training Program) 6 Weeks/45 Days

Embedded Systems & Robotics (Winter Training Program) 6 Weeks/45 Days Embedded Systems & Robotics (Winter Training Program) 6 Weeks/45 Days PRESENTED BY RoboSpecies Technologies Pvt. Ltd. Office: W-53G, Sector-11, Noida-201301, U.P. Contact us: Email: stp@robospecies.com

More information

Technological Studies. - Applied Electronics (H) TECHNOLOGICAL STUDIES HIGHER APPLIED ELECTRONICS OP-AMPS. Craigmount High School 1

Technological Studies. - Applied Electronics (H) TECHNOLOGICAL STUDIES HIGHER APPLIED ELECTRONICS OP-AMPS. Craigmount High School 1 TECHNOLOGICAL STUDIES HIGHER APPLIED ELECTRONICS OP-AMPS Craigmount High School 1 APPLIED ELECTRONICS Outcome 2 - Design and construct electronic systems, based on operational amplifiers, to meet given

More information

Experiment 7: PID Motor Speed Control

Experiment 7: PID Motor Speed Control Experiment 7: PID Motor Speed Control Introduction The error output, Ve, of the tachometer circuit from experiment 6 will be connected to the input of a PID controller. The output of the PID controller,

More information

Workshops Elisava Introduction to programming and electronics (Scratch & Arduino)

Workshops Elisava Introduction to programming and electronics (Scratch & Arduino) Workshops Elisava 2011 Introduction to programming and electronics (Scratch & Arduino) What is programming? Make an algorithm to do something in a specific language programming. Algorithm: a procedure

More information

Report on Dynamic Temperature control of a Peltier device using bidirectional current source

Report on Dynamic Temperature control of a Peltier device using bidirectional current source 19 May 2017 Report on Dynamic Temperature control of a Peltier device using bidirectional current source Physics Lab, SSE LUMS M Shehroz Malik 17100068@lums.edu.pk A bidirectional current source is needed

More information

Laboratory Experiments in Instrumentation and Control

Laboratory Experiments in Instrumentation and Control Session 9 Laboratory Experiments in Instrumentation and Control Ray Bachnak Texas A&M UniversityCorpus Christi Abstract Most engineering and engineering technology curricula include courses that use laboratory

More information

Lab 4 - Operational Amplifiers 1 Gain ReadMeFirst

Lab 4 - Operational Amplifiers 1 Gain ReadMeFirst Lab 4 - Operational Amplifiers 1 Gain ReadMeFirst Lab Summary There are three basic configurations for operational amplifiers. If the amplifier is multiplying the amplitude of the signal, the multiplication

More information

Internet of Things (Winter Training Program) 6 Weeks/45 Days

Internet of Things (Winter Training Program) 6 Weeks/45 Days (Winter Training Program) 6 Weeks/45 Days PRESENTED BY RoboSpecies Technologies Pvt. Ltd. Office: W-53g, Sec- 11, Noida, UP Contact us: Email: stp@robospecies.com Website: www.robospecies.com Office: +91-120-4245860

More information

Threeneuron's Pile o'poo of Obsolete Crap

Threeneuron's Pile o'poo of Obsolete Crap Threeneuron's Pile o'poo of Obsolete Crap Home Links Nixie Stuff Dekatron Stuff Magic Eye Stuff VFD Stuff Miscellaneous Projects Nixie Thermometer Kit Available at my ebay Store (Click on Photo to view

More information

EE 221 L CIRCUIT II. by Ming Zhu

EE 221 L CIRCUIT II. by Ming Zhu EE 221 L CIRCUIT II LABORATORY 6: OP AMP CIRCUITS by Ming Zhu DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING UNIVERSITY OF NEVADA, LAS VEGAS OBJECTIVE Learn to use Op Amp to implement simple linear

More information

PreLab 6 PWM Design for H-bridge Driver (due Oct 23)

PreLab 6 PWM Design for H-bridge Driver (due Oct 23) GOAL PreLab 6 PWM Design for H-bridge Driver (due Oct 23) The overall goal of Lab6 is to demonstrate a DC motor controller that can adjust speed and direction. You will design the PWM waveform and digital

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

Laboratory 8 Operational Amplifiers and Analog Computers

Laboratory 8 Operational Amplifiers and Analog Computers Laboratory 8 Operational Amplifiers and Analog Computers Introduction Laboratory 8 page 1 of 6 Parts List LM324 dual op amp Various resistors and caps Pushbutton switch (SPST, NO) In this lab, you will

More information

MAS.836 HOW TO BIAS AN OP-AMP

MAS.836 HOW TO BIAS AN OP-AMP MAS.836 HOW TO BIAS AN OP-AMP Op-Amp Circuits: Bias, in an electronic circuit, describes the steady state operating characteristics with no signal being applied. In an op-amp circuit, the operating characteristic

More information

Experiments #7. Operational Amplifier part 1

Experiments #7. Operational Amplifier part 1 Experiments #7 Operational Amplifier part 1 1) Objectives: The objective of this lab is to study operational amplifier (op amp) and its applications. We will be simulating and building some basic op-amp

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

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

Figure 1: Basic Relationships for a Comparator. For example: Figure 2: Example of Basic Relationships for a Comparator

Figure 1: Basic Relationships for a Comparator. For example: Figure 2: Example of Basic Relationships for a Comparator Cornerstone Electronics Technology and Robotics I Week 16 Voltage Comparators Administration: o Prayer Robot Building for Beginners, Chapter 15, Voltage Comparators: o Review of Sandwich s Circuit: To

More information

Cir cuit s 212 Lab. Lab #7 Filter Design. Introductions:

Cir cuit s 212 Lab. Lab #7 Filter Design. Introductions: Cir cuit s 22 Lab Lab #7 Filter Design The purpose of this lab is multifold. This is a three-week experiment. You are required to design a High / Low Pass filter using the LM38 OP AMP. In this lab, you

More information

Chapter 9: Operational Amplifiers

Chapter 9: Operational Amplifiers Chapter 9: Operational Amplifiers The Operational Amplifier (or op-amp) is the ideal, simple amplifier. It is an integrated circuit (IC). An IC contains many discrete components (resistors, capacitors,

More information

Electronics Design Laboratory Lecture #6. ECEN2270 Electronics Design Laboratory

Electronics Design Laboratory Lecture #6. ECEN2270 Electronics Design Laboratory Electronics Design Laboratory Lecture #6 Electronics Design Laboratory 1 Soldering tips ECEN 227 Electronics Design Laboratory 2 Introduction to Lab 3 Part B: Closed-Loop Speed Control -1V Experiment 3A

More information

Chapter 2. Operational Amplifiers

Chapter 2. Operational Amplifiers Chapter 2. Operational Amplifiers Tong In Oh 1 Objective Terminal characteristics of the ideal op amp How to analyze op amp circuits How to use op amps to design amplifiers How to design more sophisticated

More information

ECE 363 EXAM #2 (F18) 4 problems for 100 pts Problem #1: Amplifier Output Error (25 pts)

ECE 363 EXAM #2 (F18) 4 problems for 100 pts Problem #1: Amplifier Output Error (25 pts) ECE 363 EXAM #2 (F18) NAME: 4 problems for 100 pts Problem #1: Amplifier Output Error (25 pts) Consider an optical communication link for an infrared remote control. A transmitter sends a train of infrared

More information

ECE 203 LAB 6: INVERTED PENDULUM

ECE 203 LAB 6: INVERTED PENDULUM Version 1.1 1 of 15 BEFORE YOU BEGIN EXPECTED KNOWLEDGE Basic Circuit Analysis EQUIPMENT AFG Oscilloscope Programmable Power Supply MATERIALS Three 741 Opamps TIP41 NPN power transistor TIP42 PNP power

More information

Controllers with Multisim

Controllers with Multisim Controllers with Multisim Dr. Julio R. García Villarreal San José State University San José, California - USA Index Process Control 4 Manual control of a process 4 Variables of Process Control 5 Block

More information

ECE3204 D2015 Lab 1. See suggested breadboard configuration on following page!

ECE3204 D2015 Lab 1. See suggested breadboard configuration on following page! ECE3204 D2015 Lab 1 The Operational Amplifier: Inverting and Non-inverting Gain Configurations Gain-Bandwidth Product Relationship Frequency Response Limitation Transfer Function Measurement DC Errors

More information

Op-amp characteristics Operational amplifiers have several very important characteristics that make them so useful:

Op-amp characteristics Operational amplifiers have several very important characteristics that make them so useful: Operational Amplifiers A. Stolp, 4/22/01 rev, 2/6/12 An operational amplifier is basically a complete high-gain voltage amplifier in a small package. Op-amps were originally developed to perform mathematical

More information

MUSIC RESPONSIVE LIGHT SYSTEM

MUSIC RESPONSIVE LIGHT SYSTEM MUSIC RESPONSIVE LIGHT SYSTEM By Andrew John Groesch Final Report for ECE 445, Senior Design, Spring 2013 TA: Lydia Majure 1 May 2013 Project 49 Abstract The system takes in a musical signal as an acoustic

More information

Industrial Automation Training Academy. Arduino, LabVIEW & PLC Training Programs Duration: 6 Months (180 ~ 240 Hours)

Industrial Automation Training Academy. Arduino, LabVIEW & PLC Training Programs Duration: 6 Months (180 ~ 240 Hours) nfi Industrial Automation Training Academy Presents Arduino, LabVIEW & PLC Training Programs Duration: 6 Months (180 ~ 240 Hours) For: Electronics & Communication Engineering Electrical Engineering Instrumentation

More information

King Fahd University of Petroleum and Minerals. Department of Electrical Engineering

King Fahd University of Petroleum and Minerals. Department of Electrical Engineering King Fahd University of Petroleum and Minerals Department of Electrical Engineering AN OPEN LOOP RATIONAL SPEED CONTROL OF COOLING FAN UNDER VARYING TEMPERATURE Done By: Al-Hajjaj, Muhammad Supervised

More information

Bend Sensor Technology Electronic Interface Design Guide

Bend Sensor Technology Electronic Interface Design Guide Technology Electronic Interface Design Guide Copyright 2015 Flexpoint Sensor Systems Page 1 of 15 www.flexpoint.com Contents Page Description.... 3 Voltage Divider... 4 Adjustable Buffers.. 5 LED Display

More information

Robotics & Embedded Systems (Summer Training Program) 4 Weeks/30 Days

Robotics & Embedded Systems (Summer Training Program) 4 Weeks/30 Days (Summer Training Program) 4 Weeks/30 Days PRESENTED BY RoboSpecies Technologies Pvt. Ltd. Office: D-66, First Floor, Sector- 07, Noida, UP Contact us: Email: stp@robospecies.com Website: www.robospecies.com

More information

Devices and Op-Amps p. 1 Introduction to Diodes p. 3 Introduction to Diodes p. 4 Inside the Diode p. 6 Three Diode Models p. 10 Computer Circuit

Devices and Op-Amps p. 1 Introduction to Diodes p. 3 Introduction to Diodes p. 4 Inside the Diode p. 6 Three Diode Models p. 10 Computer Circuit Contents p. v Preface p. ix Devices and Op-Amps p. 1 Introduction to Diodes p. 3 Introduction to Diodes p. 4 Inside the Diode p. 6 Three Diode Models p. 10 Computer Circuit Analysis p. 16 MultiSIM Lab

More information

Building a Microcontroller based potentiostat: A Inexpensive and. versatile platform for teaching electrochemistry and instrumentation.

Building a Microcontroller based potentiostat: A Inexpensive and. versatile platform for teaching electrochemistry and instrumentation. Supporting Information for Building a Microcontroller based potentiostat: A Inexpensive and versatile platform for teaching electrochemistry and instrumentation. Gabriel N. Meloni* Instituto de Química

More information

Lesson number one. Operational Amplifier Basics

Lesson number one. Operational Amplifier Basics What About Lesson number one Operational Amplifier Basics As well as resistors and capacitors, Operational Amplifiers, or Op-amps as they are more commonly called, are one of the basic building blocks

More information

ELEG 205 Analog Circuits Laboratory Manual Fall 2016

ELEG 205 Analog Circuits Laboratory Manual Fall 2016 ELEG 205 Analog Circuits Laboratory Manual Fall 2016 University of Delaware Dr. Mark Mirotznik Kaleb Burd Patrick Nicholson Aric Lu Kaeini Ekong 1 Table of Contents Lab 1: Intro 3 Lab 2: Resistive Circuits

More information

Monitoring Temperature using LM35 and Arduino UNO

Monitoring Temperature using LM35 and Arduino UNO Sharif University of Technology Microprocessor Arduino UNO Project Monitoring Temperature using LM35 and Arduino UNO Authors: Sadegh Saberian 92106226 Armin Vakil 92110419 Ainaz Hajimoradlou 92106142 Supervisor:

More information

Switch Mode Power Conversion Prof. L. Umanand Department of Electronics System Engineering Indian Institute of Science, Bangalore

Switch Mode Power Conversion Prof. L. Umanand Department of Electronics System Engineering Indian Institute of Science, Bangalore Switch Mode Power Conversion Prof. L. Umanand Department of Electronics System Engineering Indian Institute of Science, Bangalore Lecture - 30 Implementation on PID controller Good day to all of you. We

More information

INTRODUCTION to MICRO-CONTROLLERS

INTRODUCTION to MICRO-CONTROLLERS PH-315 Portland State University INTRODUCTION to MICRO-CONTROLLERS Bret Comnes and A. La Rosa 1. ABSTRACT This laboratory session pursues getting familiar with the operation of microcontrollers, namely

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

DARK ACTIVATED COLOUR CHANGING NIGHT LIGHT KIT

DARK ACTIVATED COLOUR CHANGING NIGHT LIGHT KIT TEACHING RESOURCES SCHEMES OF WORK DEVELOPING A SPECIFICATION COMPONENT FACTSHEETS HOW TO SOLDER GUIDE CREATE SOOTHING LIGHTING EFFECTS WITH THIS DARK ACTIVATED COLOUR CHANGING NIGHT LIGHT KIT Version

More information

CSE 3215 Embedded Systems Laboratory Lab 5 Digital Control System

CSE 3215 Embedded Systems Laboratory Lab 5 Digital Control System Introduction CSE 3215 Embedded Systems Laboratory Lab 5 Digital Control System The purpose of this lab is to introduce you to digital control systems. The most basic function of a control system is to

More information

Peek-a-BOO Kit JAMECO PART NO / / Experience Level: Beginner Time Required: 1+ hour

Peek-a-BOO Kit JAMECO PART NO / / Experience Level: Beginner Time Required: 1+ hour Peek-a-BOO Kit JAMECO PART NO. 2260076/2260084/2260092 Experience Level: Beginner Time Required: 1+ hour Make a ghost that reacts to an approaching object in the room. When idle, the ghost will keep its

More information

Select the Right Operational Amplifier for your Filtering Circuits

Select the Right Operational Amplifier for your Filtering Circuits Select the Right Operational Amplifier for your Filtering Circuits 2003 Microchip Technology Incorporated. All Rights Reserved. for Low Pass Filters 1 Hello, my name is Bonnie Baker, and I am with Microchip.

More information

Internet of Things with Arduino and the CC3000

Internet of Things with Arduino and the CC3000 Internet of Things with Arduino and the CC3000 WiFi chip In this guide, we are going to see how to connect a temperature & humidity sensor to an online platform for connected objects, Xively. The sensor

More information

Arduino An Introduction

Arduino An Introduction Arduino An Introduction Hardware and Programming Presented by Madu Suthanan, P. Eng., FEC. Volunteer, Former Chair (2013-14) PEO Scarborough Chapter 2 Arduino for Mechatronics 2017 This note is for those

More information

Introduction to the Op-Amp

Introduction to the Op-Amp Purpose: ENGR 210/EEAP 240 Lab 5 Introduction to the Op-Amp To become familiar with the operational amplifier (OP AMP), and gain experience using this device in electric circuits. Equipment Required: HP

More information

Magnetic Levitation System

Magnetic Levitation System Magnetic Levitation System Electromagnet Infrared LED Phototransistor Levitated Ball Magnetic Levitation System K. Craig 1 Magnetic Levitation System Electromagnet Emitter Infrared LED i Detector Phototransistor

More information

UNIVERSITI MALAYSIA PERLIS

UNIVERSITI MALAYSIA PERLIS UNIVERSITI MALAYSIA PERLIS ANALOG ELECTRONICS II EKT 214 Semester II (2013/2014) EXPERIMENT # 4 OP-AMP (COMPARATOR BASICS) EXPERIMENT 4 Op-Amp (Comparator Basics) 1. OBJECTIVE: 1.1 To demonstrate the op-amp

More information

Acknowledgments...xvii. Introduction... Chapter 0: Setting Up and Useful Skills Chapter 1: The Reaction-Time Machine... 25

Acknowledgments...xvii. Introduction... Chapter 0: Setting Up and Useful Skills Chapter 1: The Reaction-Time Machine... 25 Brief Contents Acknowledgments...xvii Introduction... xix Chapter 0: Setting Up and Useful Skills.... 1 Chapter 1: The Reaction-Time Machine.... 25 Chapter 2: An Automated Agitator for PCB Etching... 41

More information

Computer Controlled Curve Tracer

Computer Controlled Curve Tracer Computer Controlled Curve Tracer Christopher Curro The Cooper Union New York, NY Email: chris@curro.cc David Katz The Cooper Union New York, NY Email: katz3@cooper.edu Abstract A computer controlled curve

More information

Amplification. Objective. Equipment List. Introduction. The objective of this lab is to demonstrate the basic characteristics an Op amplifier.

Amplification. Objective. Equipment List. Introduction. The objective of this lab is to demonstrate the basic characteristics an Op amplifier. Amplification Objective The objective of this lab is to demonstrate the basic characteristics an Op amplifier. Equipment List Introduction Computer running Windows (NI ELVIS installed) National Instruments

More information

RF System: Baseband Application Note

RF System: Baseband Application Note Jimmy Hua 997227433 EEC 134A/B RF System: Baseband Application Note Baseband Design and Implementation: The purpose of this app note is to detail the design of the baseband circuit and its PCB implementation

More information

Discrete Op-Amp Kit MitchElectronics 2019

Discrete Op-Amp Kit MitchElectronics 2019 Discrete Op-Amp Kit MitchElectronics 2019 www.mitchelectronics.co.uk CONTENTS Introduction 3 Schematic 4 How It Works 5 Materials 9 Construction 10 Important Information 11 Page 2 INTRODUCTION Even if

More information

MiniSense 100 Analog PCB

MiniSense 100 Analog PCB Evaluation Circuit for Vibration Sensor Low Power Battery Powered LED for Trigger High Sensitivity Analog and Digital Signal Access Points The LDTC MiniSense 100 Analog PCB provides a simple way to evaluate

More information

Lab #6: Op Amps, Part 1

Lab #6: Op Amps, Part 1 Fall 2013 EELE 250 Circuits, Devices, and Motors Lab #6: Op Amps, Part 1 Scope: Study basic Op-Amp circuits: voltage follower/buffer and the inverting configuration. Home preparation: Review Hambley chapter

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

PWM CONTROL USING ARDUINO. Learn to Control DC Motor Speed and LED Brightness

PWM CONTROL USING ARDUINO. Learn to Control DC Motor Speed and LED Brightness PWM CONTROL USING ARDUINO Learn to Control DC Motor Speed and LED Brightness In this article we explain how to do PWM (Pulse Width Modulation) control using arduino. If you are new to electronics, we have

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

Chapter 9: Operational Amplifiers

Chapter 9: Operational Amplifiers Chapter 9: Operational Amplifiers The Operational Amplifier (or op-amp) is the ideal, simple amplifier. It is an integrated circuit (IC). An IC contains many discrete components (resistors, capacitors,

More information