1. An LED is connected to PORTB.5 of ATmega328
microcontroller.
Write a C Program that toggles LED after 0.5 Seconds. Assume XTAL =
16MHz.
To generate this delay use Timer 1 CTC (Clear Timer on Compare
match) mode
Programming.
2. Write a program to generate a square wave of
frequency of 250 Hz with 50% duty
cycle on PORTB.5. Assume XTAL = 16MHz.
Use Timer 2 Normal Mode Programming.
3. Write a program using 16-bit timer to generate a
square wave of frequency 100Hz
with 70% duty cycle. Assume the crystal frequency is 16 MHz.
In: Electrical Engineering
a 240v, 4pole shunt motor running at 1000 r.p.m gives 15 hp with an armature current of 50 A and field current of 1 A. the armature winding is wave connected and has 540 conductors. the armature resistance is 0.1 ohm and drop at each brush is 1v. find (i) useful torque, (ii) the total torque (iii) useful flux per pole, (iv) iron and friction losses
In: Electrical Engineering
Briefly describe the classification of three main groups of magnetic materials, namely Diamagnetic, Paramagnetic and Ferromagnetic, in accordance with their relative permeability,??.Define remanent flux density and coercive field intensity, use sketches if necessary.
In: Electrical Engineering
In: Electrical Engineering
simulate the 7T SRAM in cadense tool.show the response of waveforms.
In: Electrical Engineering
x[n] is the input of a system and y[n] is the output of the system. The relationship between the input and output is the following: y[n] = x[n]u[n+1] a) Is the system memoryless? Just yes or no is sufficient. b) Is this system causal? Just yes or no is sufficient. c) Is the system linear? Just yes or no is sufficient. d) Is the system time invariant? Justify. e) Is the system BIBO stable? Justify. f) Is the system invertible? Justify.
In: Electrical Engineering
In: Electrical Engineering
Write the VERILOG code for an arithmetic/logic unit (ALU) with a test bench that does the following with 4 bit inputs , and can be tested in on nexys 4 board
This is to be implement on : ISE Design Suite - Xilinx
/* ALU Arithmetic and Logic Operations ---------------------------------------------------------------------- |ALU_Sel| ALU Operation ---------------------------------------------------------------------- | 0000 | ALU_Out = A + B; ---------------------------------------------------------------------- | 0001 | ALU_Out = A - B; ---------------------------------------------------------------------- | 0010 | ALU_Out = A * B; ---------------------------------------------------------------------- | 0011 | ALU_Out = A / B; ---------------------------------------------------------------------- | 0100 | ALU_Out = A << 1; ---------------------------------------------------------------------- | 0101 | ALU_Out = A >> 1; ---------------------------------------------------------------------- | 0110 | ALU_Out = A rotated left by 1; ---------------------------------------------------------------------- | 0111 | ALU_Out = A rotated right by 1; ---------------------------------------------------------------------- | 1000 | ALU_Out = A and B; ---------------------------------------------------------------------- | 1001 | ALU_Out = A or B; ---------------------------------------------------------------------- | 1010 | ALU_Out = A xor B; ---------------------------------------------------------------------- | 1011 | ALU_Out = A nor B; ---------------------------------------------------------------------- | 1100 | ALU_Out = A nand B; ---------------------------------------------------------------------- | 1101 | ALU_Out = A xnor B; ---------------------------------------------------------------------- | 1110 | ALU_Out = 1 if A>B else 0; ---------------------------------------------------------------------- | 1111 | ALU_Out = 1 if A=B else 0;
In: Electrical Engineering
Voltage amplifiers are available with Avoc = 8 V / V, Rin = 1.8 kΩ, Ro = 850 Ω. With a 12V DC power source, each amplifier draws 1.5 mA average current.
a) How many amplifiers do you need to cascade to get at least a voltage gain of 1000 with a load resistance of 1.0 kΩ?
b) What is the voltage gain Av obtained? (Respond with a rounded whole number)
c) For the cascade connection, find the voltage gain in open circuit. (Respond with a rounded whole number)
d) If you have a 1.5 mV input, how efficient is the equivalent amplifier?
e) Find the transconductance of the entire circuit.
In: Electrical Engineering
Derive the small-signal model for the buck-boost converter. Then further derive Gvu(s) and Gvd(s).
In: Electrical Engineering
Summarise / compare the following diode models and contrast them against the characteristics curve of a real diode; Ideal; Practical; Piecewise Linear. Also draw the equivalent component model of each.
In: Electrical Engineering
I have to be able to teach and explain by presentation on "designing an asynchronous counter in VHDL" thank you! please layman terms.
In: Electrical Engineering
The equation for finding the ac emitter resistance of a BJT is
In: Electrical Engineering
What is resistors in series and parallel? (Briefly explain)
a.) Why do we need to learn this topic?
b.) How can we apply or use this knowledge in our daily lives.
In: Electrical Engineering
A 3 phase 460 V, 60 Hz, 4 pole, delta connected induction motor has the following equivalent circuit parameters. Rs = 0.42 Ω, Rr = 0.23 Ω, Xs = Xr = 0.82 Ω. Xm = 22 Ω. The no load loss = 60 W and may be assumed constant. The rotor speed is 1750 rpm. Use the approximate equivalent circuit ( i.e. the Xm branch is at the very left of the circuit) determine the following
a. the synchronous speed
b. the slip s
c. the input current I1
d. the input power
e. the input power factor of the supply
f. the air gap power Pag
g. the rotor copper loss
h. the developed torque
i. the efficiency
j. the slip for maximum torque
k. the maximum developed torque
In: Electrical Engineering