This lab assignment involves using a serial peripheral interface (SPI) to connect an analog-to-digital converter (ADC) to a microcontroller in order to measure voltage and temperature readings. Students will configure the SPI to interface the microcontroller as a master to the ADC as a slave. Then they will use a potential divider circuit connected to an ADC channel to display voltage readings on an LCD. Finally, they will connect a temperature sensor to another ADC channel and display real-time temperature readings on the LCD. Teaching assistants will verify the students' ability to demonstrate these SPI setups and measurements.
Introduction to Embedded C for 8051 and Implementation of Timer and Interrupt...Sivaranjan Goswami
In this tutorial first an introduction to Embedded C is given. A few examples are shown. Then the implementation of timer and interrupt are discussed.
For more tutorials visit:
https://sites.google.com/site/enggprojectece
ENG3104 Engineering Simulations and Computations Semester 2, 2.docxYASHU40
ENG3104 Engineering Simulations and Computations Semester 2, 2015
Assessment: Assignment 3
Due: 23 October 2015
Marks: 300
Value: 30%
1 (worth 40 marks)
1.1 Introduction
To assess how useful the wind power could be as an energy source, use the file ass2data.xls to
calculate the total energy available in the wind for each year of data.
1.2 Requirements
For this assessment item, you must produce MATLAB code which:
1. Calculates the total energy for each of the years.
2. Reports to the Command Window the energy for each year.
3. Briefly discusses whether there is any trend in the results for annual energy production.
4. Has appropriate comments throughout.
You must also calculate the total energy for the first four hours of power data (i.e. over
the first five data entries) by hand to verify your code; submit this working in a pdf file.
Your MATLAB code must test (verify) whether the computed value of energy is the same as
calculated by hand.
1.3 Assessment Criteria
Your code will be assessed using the following scheme. Note that you are marked based on how
well you perform for each category, so the correct answer determined in a basic way will receive
half marks and the correct answer determined using an excellent method/code will receive full
marks.
Quality of the code 5 marks
Quality of header(s) and comments 5 marks
Quality of calculation of the energy for each year 15 marks
Quality of reporting 5 marks
Quality of discussion 5 marks
Quality of verification based on hand calculations 5 marks
1
ENG3104 Engineering Simulations and Computations Semester 2, 2015
2 (worth 65 marks)
2.1 Introduction
For the wind turbines to operate effectively, they must turn to face into the wind. This could
create large stresses in the structure if the wind changes direction quickly while the wind speed
is high. You are to assess if this is likely to happen using the data in ass2data.xls.
2.2 Requirements
For this assessment item, you must produce MATLAB code which:
1. Calculates the instantaneous rate of change of wind direction using:
(a) backward differences
(b) forward differences
(c) central differences
2. Plots the three sets of derivatives as functions of time.
3. Produces scatter plots of maximum wind gust as functions of each of the derivatives.
4. Displays a message in the Command Window with a brief discussion of the scatter plots.
Discuss which of the derivatives should be used to compare with the wind gust and why.
Discuss whether you think the wind changes direction too quickly while the wind speed
is high and why.
5. Has appropriate comments throughout.
You must also use a backward difference, forward difference and central difference by hand to
determine the rate of change of wind direction for the twelfth data entry; submit this working
in a pdf file. Your MATLAB code must test (verify) whether these values are the same as
computed by the code for the three differences.
2.3 Assessment Criteria
Your code will ...
Implementation of a digital multimeter using basic stamp2 on a professional development board. It also includes R2R ladder network for digital to analog conversion
Simulation of 3 bit Flash ADC in 0.18μmTechnology using NG SPICE Tool for Hig...ijsrd.com
This paper provides the basic simulation result for the 3 bit flash type ADC in 0.18μm technology using the NG Spice device simulator tool. It includes two stages, first stage includes 7 comparators and second stage has a thermometer encoder. The simulation is done in NG spice tool developed by university of California at Berkeley (USA).The response time of the comparator and ADC are 3.7ns and 4.9ns respectively with 50.01μw power dissipation which makes the ADC more suitable for high speed application with lower power devices.
Introduction to Embedded C for 8051 and Implementation of Timer and Interrupt...Sivaranjan Goswami
In this tutorial first an introduction to Embedded C is given. A few examples are shown. Then the implementation of timer and interrupt are discussed.
For more tutorials visit:
https://sites.google.com/site/enggprojectece
ENG3104 Engineering Simulations and Computations Semester 2, 2.docxYASHU40
ENG3104 Engineering Simulations and Computations Semester 2, 2015
Assessment: Assignment 3
Due: 23 October 2015
Marks: 300
Value: 30%
1 (worth 40 marks)
1.1 Introduction
To assess how useful the wind power could be as an energy source, use the file ass2data.xls to
calculate the total energy available in the wind for each year of data.
1.2 Requirements
For this assessment item, you must produce MATLAB code which:
1. Calculates the total energy for each of the years.
2. Reports to the Command Window the energy for each year.
3. Briefly discusses whether there is any trend in the results for annual energy production.
4. Has appropriate comments throughout.
You must also calculate the total energy for the first four hours of power data (i.e. over
the first five data entries) by hand to verify your code; submit this working in a pdf file.
Your MATLAB code must test (verify) whether the computed value of energy is the same as
calculated by hand.
1.3 Assessment Criteria
Your code will be assessed using the following scheme. Note that you are marked based on how
well you perform for each category, so the correct answer determined in a basic way will receive
half marks and the correct answer determined using an excellent method/code will receive full
marks.
Quality of the code 5 marks
Quality of header(s) and comments 5 marks
Quality of calculation of the energy for each year 15 marks
Quality of reporting 5 marks
Quality of discussion 5 marks
Quality of verification based on hand calculations 5 marks
1
ENG3104 Engineering Simulations and Computations Semester 2, 2015
2 (worth 65 marks)
2.1 Introduction
For the wind turbines to operate effectively, they must turn to face into the wind. This could
create large stresses in the structure if the wind changes direction quickly while the wind speed
is high. You are to assess if this is likely to happen using the data in ass2data.xls.
2.2 Requirements
For this assessment item, you must produce MATLAB code which:
1. Calculates the instantaneous rate of change of wind direction using:
(a) backward differences
(b) forward differences
(c) central differences
2. Plots the three sets of derivatives as functions of time.
3. Produces scatter plots of maximum wind gust as functions of each of the derivatives.
4. Displays a message in the Command Window with a brief discussion of the scatter plots.
Discuss which of the derivatives should be used to compare with the wind gust and why.
Discuss whether you think the wind changes direction too quickly while the wind speed
is high and why.
5. Has appropriate comments throughout.
You must also use a backward difference, forward difference and central difference by hand to
determine the rate of change of wind direction for the twelfth data entry; submit this working
in a pdf file. Your MATLAB code must test (verify) whether these values are the same as
computed by the code for the three differences.
2.3 Assessment Criteria
Your code will ...
Implementation of a digital multimeter using basic stamp2 on a professional development board. It also includes R2R ladder network for digital to analog conversion
Simulation of 3 bit Flash ADC in 0.18μmTechnology using NG SPICE Tool for Hig...ijsrd.com
This paper provides the basic simulation result for the 3 bit flash type ADC in 0.18μm technology using the NG Spice device simulator tool. It includes two stages, first stage includes 7 comparators and second stage has a thermometer encoder. The simulation is done in NG spice tool developed by university of California at Berkeley (USA).The response time of the comparator and ADC are 3.7ns and 4.9ns respectively with 50.01μw power dissipation which makes the ADC more suitable for high speed application with lower power devices.
Controlled power is a prerequisite of various sectors, including industries. The
implementation of microcontroller based firing angle control, using ATmega 32 MCU and
associated hardware circuitry is discussed here. Main emphasis is given on improved
performance of converter so as to achieve reliable and consistent power control. The power
control scheme uses commonly available components like ATmega-32 controller,
transistorized conditioning circuit, rectifier module, for firing angle control. The objective is
to achieve a reliable, affordable and accurate power control mechanism for the use of
industrial and household consumer applications, with superior performance.
Automated Air Cooled Three Level Inverter system using ArduinoIJEEE
The output voltage of a three level inverter is stepped voltage in which the output voltage have three possible values. Such systems can be used to interface renewable energy sources with the grid. Temperature has significant effect on performance of power MOSFETs. Typically, the MOSFETs used as power switches in such applications are a significant source of heat, and the heat energy dissipated by these components must be carefully controlled if operating temperatures are to be maintained. So for the system to work efficiently cooling of MOSFETs is required. This paper proposed an automated air cooled 3 level H-bridge inverter. The system consists of MOSFETs, LM 35 temperature sensor, Optocouplers for isolation. Arduino is used to control the on-off operation of fan. When temperature rises above certain level fan turns on to cool the MOSFETs.
This paper describes the testing of boost rectification required in the back-to-
back converter used in doubly fed induction generator (DFIG) based wind energy
conversion systems (WECS). In this work testing is carried out on the single phase rectifier
section of back-to-back converter. Detail design of components of back to back converter is
explained. The hardware module of this back-to-back converter is fabricated in the
departmental laboratory. dSPACE and Microcontroller 8051 is used for implementing the
control. Results show that required boosting is satisfactorily obtained.
Study and Development of Temperature & Humidity monitoring system through Wir...IJERA Editor
Wireless sensor networks have become an integral part of any developing country as it is being used nowadays as the primary monitoring system in various applications. The wireless sensor networks eliminate the hazards associated with the wiring systems and make data measurement and monitoring process much easier and cost effective. The decentralized architecture of the wireless sensor network and its flexibility of deployment make wireless networks most suitable for various process plants, industries and remote & rural communication. In this work, applications of wireless sensor network is carried out on online measurement and monitoring of reaction chamber, furnace etc, which is to be measured in the industries.
Electric Circuits Lab Series RC Circuits Phase Angle, Phase Lag.docxpauline234567
Electric Circuits Lab
Series RC Circuits: Phase Angle, Phase Lag, and Capacitors as Integrators
I.
Objectives:
After completing this lab experiment using, you should be able to:
1. Understand the effect of frequency on capacitive reactance.
2. Measure the impedance of an RC circuit.
3. Measure the phase angle and phase lag of an RC circuit using the oscilloscope.
4. Draw the impedance and voltage phasor diagrams.
5. Understand how a capacitor integrates current.
II.
Parts List:
1. Resistor 100 Ω, 1 kΩ, 6.8 kΩ
2. Capacitors 0.1 µF, 0.01 µF
III.
Procedures:
Part I:
1.
Connect the following circuit.
Figure 1: RC Circuit
2.
Connect one DMM across the resistor and one DMM across the capacitor. Set both DMMs to read AC voltage.
Measure the voltage drop across each component. Record the result in
Table 1.
3. Use Ohm’s law to
calculate the current flowing through the resistor. Since the circuit in Figure 1 is a series RC circuit, the same current will flow through the capacitor and the resistor.
Record the result in
Table 1.
Total current, I =
4.
Calculate the capacitive reactance using Ohm’s law. Record the result in
Table 2.
Capacitive Reactance, XC =
5. Now,
calculate the capacitive reactance value using the equation below.
Record the result in
Table 1 under Computed Reactance, XC.
Capacitive Reactance,
Capacitor C1
Voltage across, R
846 mV
Voltage across, C
583 mV
Total Current, I
0.846 mA
Capacitive Reactance, XC
686 Ω
Computed Reactance, XC
Table 1: Calculated and measured values
6.
Adjust the function generator frequency following the steps in
Table 2. Use the DMM to
measure the voltage across the resistor and the capacitor.
Record your measurements below.
Frequency (in Hz)
VR
(measured)
VC
(measured)
I =
(calculated)
XC =
(calculated)
XC =
(calculated)
300
983 mV
186 mV
0.983 mA
189 Ω
1k
846 mV
583 mV
0.846 mA
686 Ω
3k
884 mV
468 mV
0.884 mA
529 Ω
5k
953 mV
302 mV
0.953 mA
317 Ω
7k
975 mV
221 mV
0.975 mA
227 Ω
9k
985 mV
174 mV
0.985 mA
177 Ω
11k
990 mV
145 mV
0.990 mA
147Ω
13k
993 mV
121 mV
0.993 mA
122 Ω
15k
994 mV
105 mV
0.994 mA
106 Ω
Table 2: Calculated and measured values
7.
Plot the graph for
Frequency vs. VC.
(Use Excel or Word to Create the Plot)
Plot 1: Frequency vs. VC
Part II:
8.
Build the circuit shown in Figure 2.
Figure 2: Series RC Circuit
9.
Set the source voltage amplitude to
1.5 Vp and
frequency to
500 Hz.
10.
Connect Channel .
The peer-reviewed International Journal of Engineering Inventions (IJEI) is started with a mission to encourage contribution to research in Science and Technology. Encourage and motivate researchers in challenging areas of Sciences and Technology.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
Francesca Gottschalk - How can education support child empowerment.pptxEduSkills OECD
Francesca Gottschalk from the OECD’s Centre for Educational Research and Innovation presents at the Ask an Expert Webinar: How can education support child empowerment?
Introduction to AI for Nonprofits with Tapp NetworkTechSoup
Dive into the world of AI! Experts Jon Hill and Tareq Monaur will guide you through AI's role in enhancing nonprofit websites and basic marketing strategies, making it easy to understand and apply.
Biological screening of herbal drugs: Introduction and Need for
Phyto-Pharmacological Screening, New Strategies for evaluating
Natural Products, In vitro evaluation techniques for Antioxidants, Antimicrobial and Anticancer drugs. In vivo evaluation techniques
for Anti-inflammatory, Antiulcer, Anticancer, Wound healing, Antidiabetic, Hepatoprotective, Cardio protective, Diuretics and
Antifertility, Toxicity studies as per OECD guidelines
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
Palestine last event orientationfvgnh .pptxRaedMohamed3
An EFL lesson about the current events in Palestine. It is intended to be for intermediate students who wish to increase their listening skills through a short lesson in power point.
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
Embracing GenAI - A Strategic ImperativePeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
Instructions for Submissions thorugh G- Classroom.pptx
Lab8 s2
1. Lab 8: 20 points
EE 337: Microprocessors Laboratory (Spring 2021)
Section: S2 (Third year UG)
Indian Institute of Technology Bombay
Date: March 19, 2021
Refer to Prof. Dinesh Sharma’s slides and notes on serial peripheral interface (SPI) to do
this lab.
1. [20 points] In this lab session, you will use the serial port interface (SPI) to interface an
analog-to-digital converter (ADC) MCP3008 with the 8051 micro-controller. The MCP3008
is part of the lab kit. You will use this setup to measure temperature using an LM35 sensor,
which is also part of the lab kit.
Use the given main.c, spi.c, mcp3008.h and lcd.h to complete this lab.
i) The micro-controller is to be configured for serial communication with the ADC
MCP3008. Complete the function spi init in spi.c to configure the SPI so that
the microcontroller is the master and the ADC is the slave.
ii) You will next test the ADC setup using a potential divider circuit (series of resistors
provided in the kit can be connected between supply and ground terminals) as shown
in Fig 1. By varying the point at which the output is taken, voltages ranging from 0 to
3.3 volts can be obtained as output. As shown this output is connected to CH0 of the
ADC. By compiling the project and running the code on the Pt-51 kit, the measured
output voltage will be displayed on the LCD in the format shown.
Volt.: 03229 mV
Verify that the displayed voltage corresponds to the potential divider circuit’s resistor
values.
Figure 1: Pt51 interfacing with ADC and potential divider.
iii) Once the ADC setup is verified using the potential divider circuit, it can be used for
sensing and displaying the temperature in ◦C. Connect the sensor output to CH7 of the
ADC as shown in Fig. 2. This setup measures the voltage output from the sensor and
displays the measured room temperature on the LCD. The output provided by the
sensor is 10mV/◦C . Uncomment and update the relevant sections in main.c, compile
2. the code and run it on the Pt51 kit. The room temperature will be displayed on the
second row of the LCD as shown. Verify that this value matches approximately your
room temperature. The first row will continue to display the voltage corresponding to
the potential divider circuit’s output.
Volt.: 03229 mV
Temp.: xxx.x oC
Figure 2: Pt51 interfacing with ADC and temperature sensor.
TA Checkpoints
1. Verify that the student can demonstrate the SPI setup to measure the output of the
potential divider circuit.
2. Verify that the student can demonstrate the SPI setup to measure the room temperature.