HW9_217HNR_F22
docx
keyboard_arrow_up
School
Texas A&M University *
*We aren’t endorsed by this school
Course
217
Subject
Electrical Engineering
Date
Jan 9, 2024
Type
docx
Pages
2
Uploaded by UltraElectronAntelope27
ENGR/PHYS 217-HNRs HW9
Fall 2022
1.
(10 pts) Download the file DataLogger_Sample_Code.ino from Canvas. Load the file in
the Arduino IDE, compile and load the code into your Arduino Uno hardware. Make sure
the SD card is installed.
The code has a line in it that simulates a temperature reading.
The value is, of course garbage, but is otherwise useful to show the datalogging task
works. You should get output that looks like the following:
Record one of the readings of “temperature” (for example, the first “temperature”
above is 77.0).
Note 1: Use the instructions in the README file to perform the steps to add the
necessary library to compile the program.
Note 2: Dr. Hamilton will place a couple of Arduinos with data logging shields attached
outside his office. You are welcome to come by and use one for a few minutes to collect
the data you need to collect. Please do not use this area for a general study hall to work
out your answers to the homework.
2.
(10 pts) If you were to supply an Arduino ADC pin A0 directly with 3.3 volts (there is a pin
labeled 3.3V on the Arduino board that gives us the capability to do just that), this
configuration can be used to do a “quick and dirty” simulate the thermistor / resister
circuit (albeit only at one temperature). Calculate the equivalent resistance of the
thermistor in Ohms (assuming a 10K Ω resistor connected between Vout and ground).
__________________Ω.
3.
(10 pts) Connect a wire between pin 3.3V (may be labeled 3V3) to pin A0 on an actual
Arduino (not in TinkerCAD). Open another window and load your code from HW8 into
the Arduino IDE, compile & load it. Open the Console (make sure the baud is set to
57600). You should be able to calculate the “effective” resistance for this voltage. Run
the program. Record one of the temperatures printed on the Console.
Note: If you did not complete this in class, I will put a couple of Arduinos out
4.
(30 pts) Combine the two files so that your code will not only display the date, time, and
temperature, your code should write data to the SD storage media.
Note 1: Turns out Arduino uses the very old FAT-16 method of storing files instead of the
more modern NTFS system that PCs now use. One thing that this means is that
filenames must be 8 characters long or less. (So “Temperature.CSV” does not work as it
has 9 characters in the filename.)
Note 2: You can compile your code so eliminate the syntax mistakes, but you won’t be
able to test it without until class next week. You will verify in the quiz that you can
compile the code without syntax errors.
5.
(5 pts) A wire carries a steady current of 100 Amperes in the positive X-direction.
A
straight section of the wire, with a length of 0.1 m along the x-axis, lies within a uniform
magnetic field with strength of
B
=
200
^
k Gauss
. [
^
k
is the unit vector in the Z-
direction.]
Draw a diagram of the situation for yourself. What will be the direction of the resulting
magnetic force on the wire; parallel to the (_________ “x”, “y”, or “z”) axis?
6.
(10 pts) What is the magnitude (always a positive number) of the force on the section of
wire due to magnetism and the current in the wire?
Enter your answer to two decimal
places (1.11) [Hint: Gauss is not a SI unit]
________Newtons
7.
(5 pts) What is the direction of the force (______ “+” or “-“)
8.
(10 pts) Batteries are typically designed based on a compromise between storage
capacity and peak power.
9.
(10 pts) Benjamin Franklin did not fully understand electricity so assumed it flowed from
positive to negative; we’ve been living with his mistake ever since. (T or F)
______
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Documents
Related Questions
Pls help.me answer the following, show neat and whole solution and kindly send a screenshot of simulation.
arrow_forward
Obtain the state diagrams that would be used to design the circuits to detect the given sequences. Sequences may overlap. a) 01001 b) 000101. Sequences may overlap.
arrow_forward
1. For the ADC0804 used in section 1. the step size can be adjusted by setting the
reference voltage on pin 9. When this pin is not connected (as shown in the figure 1
schematic), the reference voltage is the operating voltage Vcc.
a) What is the step size for this default setting?
b) How can we set the reference voltage on pin 9. to 4 V?
c) What would be the step size after changing the reference voltage to 4 V?
2. Determine the analog input that will result in an output code of "10001110". Assume 5
V reference. Show your calculations.
3. What value of the analog input voltage would result in a digital output is 6F (hex)?
Assume 4V reference. Show calculations.
4. In section, you used a 8-bit D/A converter. With a reference voltage of 5 V, what
voltage does each bit represent in terms of the analog output? Show calculations.
5. For the D/A converter, if the output is 3.62 V, what is the value of the digital input? Show
calculations.
6. For the D/A converter circuit shown in Figure 2,…
arrow_forward
The power dissipation in of a Si diode having ID = 40 mA is ___ mW. No need to show your solution. Just write your numeric answer on the space provided. Round off your answer to 2 decimal places.
arrow_forward
For a triac circuit shown in figure 5, determine the load current if the triac will turn on due to gate with Vin = 220V, 60Hz, R₁ = 40 ohms, and firing angle of 48 degree.
A. 5.19A
B. 4.43A
C. 3.38A
D. 7.21A
arrow_forward
Please answer all subparts for like either dislike is ready..
Please all subparts in short..
arrow_forward
Which of the following characteristics belongs to an analog quantity?
a.
Its values follow a mathematic formula curve.
b.
Discrete levels represent change in a quantity.
c.
It can be described with a finite number of steps.
d.
It has a continuous set of values over a given range.
arrow_forward
Q 7
Full explainthe this question very fast solution sent me step by step Don't ignore any part all part work u Not:- Text typing work only not allow paper work
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you

Related Questions
- Pls help.me answer the following, show neat and whole solution and kindly send a screenshot of simulation.arrow_forwardObtain the state diagrams that would be used to design the circuits to detect the given sequences. Sequences may overlap. a) 01001 b) 000101. Sequences may overlap.arrow_forward1. For the ADC0804 used in section 1. the step size can be adjusted by setting the reference voltage on pin 9. When this pin is not connected (as shown in the figure 1 schematic), the reference voltage is the operating voltage Vcc. a) What is the step size for this default setting? b) How can we set the reference voltage on pin 9. to 4 V? c) What would be the step size after changing the reference voltage to 4 V? 2. Determine the analog input that will result in an output code of "10001110". Assume 5 V reference. Show your calculations. 3. What value of the analog input voltage would result in a digital output is 6F (hex)? Assume 4V reference. Show calculations. 4. In section, you used a 8-bit D/A converter. With a reference voltage of 5 V, what voltage does each bit represent in terms of the analog output? Show calculations. 5. For the D/A converter, if the output is 3.62 V, what is the value of the digital input? Show calculations. 6. For the D/A converter circuit shown in Figure 2,…arrow_forward
- The power dissipation in of a Si diode having ID = 40 mA is ___ mW. No need to show your solution. Just write your numeric answer on the space provided. Round off your answer to 2 decimal places.arrow_forwardFor a triac circuit shown in figure 5, determine the load current if the triac will turn on due to gate with Vin = 220V, 60Hz, R₁ = 40 ohms, and firing angle of 48 degree. A. 5.19A B. 4.43A C. 3.38A D. 7.21Aarrow_forwardPlease answer all subparts for like either dislike is ready.. Please all subparts in short..arrow_forward
- Which of the following characteristics belongs to an analog quantity? a. Its values follow a mathematic formula curve. b. Discrete levels represent change in a quantity. c. It can be described with a finite number of steps. d. It has a continuous set of values over a given range.arrow_forwardQ 7 Full explainthe this question very fast solution sent me step by step Don't ignore any part all part work u Not:- Text typing work only not allow paper workarrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
