question#1: Write instructions to toggle bits Bit0 of PORTB assuming the PORTB is already initialized as an output port.
question#2: The following unsigned integer readings are stored in data register starting from REG10 (address 10H). Data (H): 40, 45, 4A, 32, 52, 38, 3A, 44 Write a program that finds the average temperature. Simulate your program in PIC18 IDE Simulator and attach a screenshot of your simulation while the program is running.
In: Electrical Engineering
1) Do linear regression (includes line, r-coefficient) for data taken from a thermocouple during calibration for:
Voltage (Volts) |
Temperature (ºC) |
0.032 |
0 |
0.063 |
10 |
0.16 |
25 |
0.29 |
50 |
0.36 |
63 |
0.51 |
75 |
0.63 |
100 |
In: Electrical Engineering
4) Write equations that could be programmed into a controller for the following conversions: a) 4-20 mA to 0 to 100 gallons b) 0-10V to 0 to 100 gallons c) 4-20mA to 50 to 500 pounds d) 4-20mA to 13 cfm to 26cfm (gas flow)
In: Electrical Engineering
Calculate all of the energy levels for an electron in the finite potential well of width a) L = 10 Å, b) L = 50 Å, c) L = 100 Å and L = 1000 Å using the actual mass of an electron for the conduction band of the AlGaAs/GaAs/AlGaAs quantum well. Repeat problem using a) the effective mass of an electron in GaAs (electron effective mass meff = 0.067*mass of an electron)
In: Electrical Engineering
how to design a butterworth filter based on magnitude. Please give a numerical example. Assume only passband frequency and magnitude level is given, nothing else at all.
In: Electrical Engineering
1. Using Moore machine approach design a sequence detector with
one input and one output. When input sequence 010 occurs the output
becomes 1 and remains 1 until the sequence 010 occurs again in
which case the
output returns to 0. The output remains 0 until, 010 occurs the
third time, and so on. Your design should be able to handle
overlapping sequences, i.e., input sequence 11001010100 should
produce the output 00000110011.
Implement your detector using D flip-flops and the combinatorial
gates of your
choice in Behavioral Verilog. Design a behavioral test
circuit which generates the test sequence shown above:
”11001010100”.
Code in VERILOG
In: Electrical Engineering
An SCR (silicon-controlled rectifier) is frequently used as a switch of AC currrent. If you saw a schematic of a circuit of an AC power heater tha SCR controller, so that if the heater was controlled from 0 to 100% single phase, how many SCR's would you typically expect to see in the circuit.
a. one
b. two
c. three.
You see Solid State Relay in a cabinet controlling an AC Circuit. A key difference in troubleshooting this device over a standard contact relay is ...
a. A solid state relay will normally show off -state leakage
b. Measurements will show a on-state voltage drop across the contacts
c. Both a and b.
A photo diode is commonly used as a light sensor. This device functions because.
a. light reduces the forward bias resistance
b. light increases the forward bias resistance.
c. heat from the light cause eletron flow.
A solid state relay is switching 50 Amps. The relay is using Triac whose on -state voltage drop is 2 Volts. The power supply is 120VAC. Using the formula Power = Volts x Amps, calculate the power (heat) that needs to be disipated by this relay when it is conducting.
a. 50 watts
b. 100 watts
c. 10 watts.
In: Electrical Engineering
You have a light producing 2073 lumens at 1 ft, a surface 4 feet away should receive ____ footcandles per sq. foot.
In: Electrical Engineering
A balanced positive-sequence wye-connected 60-Hz three-phase source has line-to-line voltages of VL = 440 V rms. This source is connected to a balanced wye-connected load. Each phase of the load consists of a 0.5-H inductance in series with a 50-? resistance. Assume that the phase of Van is zero.
A) Find the line-to-neutral voltage phasor Van.
Enter your answer using polar notation. Express argument in degrees.
B) Find the line-to-neutral voltage phasor Vbn.
Enter your answer using polar notation. Express argument in degrees.
C) Find the line-to-neutral voltage phasor Vcn.
Enter your answer using polar notation. Express argument in degrees.
D) Find the line-to-line voltage phasor Vab.
Enter your answer using polar notation. Express argument in degrees.
E) Find the line-to-line voltage phasor Vbc.
Enter your answer using polar notation. Express argument in degrees.
F) Find the line-to-line voltage phasor Vca.
Enter your answer using polar notation. Express argument in degrees.
G) Find the line-current phasor Ia.
Enter your answer using polar notation. Express argument in degrees.
H) Find the line-current phasor Ib.
Enter your answer using polar notation. Express argument in degrees.
I) Find the line-current phasor Ic.
Enter your answer using polar notation. Express argument in degrees.
J) Find the power delivered to the load.
Express your answer using three significant figures and include appropriate units.
K) Find the reactive power delivered to the load.
Express your answer using three significant figures
In: Electrical Engineering
Rate of Return Analysis:
The table below shows the cash flows associated with a certain investment. (a) How many possible rates of return are there for this set of cash flows? (b) Find all the rate of return values for these cash flows between 0% and 100%. Please, explain and show solution procedures.
Year 0 1 2 3 4 5 6
Cash Flow ($) 15,000 -30,000 1500 6000 6000 6000 6000
In: Electrical Engineering
Define appropriate fault detection and protection system in a PV system (mini grid)
In: Electrical Engineering
In: Electrical Engineering
(a) Design a 4-bit ring counter. Use an external asynchronous INIT input to initialize the flip-flops to a valid initial state. Also remember to hook up the CLOCK to all flip-flops.
(b) Design a 4-bit Johnson counter. Use an external asynchronous INIT input to initialize the flip-flops to a valid initial state. Also remember to hook up the CLOCK to all flip-flops.
(c) How many states does the ring counter in part (a) have? How many states does the Johnson counter in part (b) have?
(d) Starting at the initial state, show the repeating counting sequence for both the ring counter in part (a) and the Johnson counter in part (b). (That is, show the state of each counter on a cycle-by-cycle basis until it repeats.)
In: Electrical Engineering
How would we make a schematic design for a vending machine that accept nickels, dimes, and quarters, and sells drinks at 30 cents each? (disregard changes and there is only 1 type of drink) 2 Hexdecimal values must show the current money input (binary to hexadecimal converter is given), and when the value hits 30 or more, reset the current amount to zero, and LED should be lit to represent a successful. For the flip flop, D-flip flop should be used for simplicity.
In: Electrical Engineering
In: Electrical Engineering