Write a program to generate a 25-hz digital waveform

Assignment Help Electrical Engineering
Reference no: EM13256330

Write a program to generate a 25-Hz digital waveform with a 50 percent duty cycle on the PT0 pin as long as the voltage level on the PP7 pin is high. Your program should consist of two parts:

1. Entry test. As long as the PP7 pin is low, it stays in this loop.

2. Waveform generation body. This part generates a pulse with 20 ms high time and 20 ms low time, and at the end of a period tests the PP7 signal. If PP7 is still high, it generates the next pulse. Otherwise, it jumps to entry test.

Reference no: EM13256330

Questions Cloud

What was the speed of the camaro : An Escort and a Camaro traveling at right angles collide and stick together. What was the speed of the Camaro
Telephone interview as com-pared to face- to- face interview : What are the pros and cons of telephone interviews as com-pared to face- to- face interviews? As a prospective employee looking for a job, would you prefer a telephone interview or a face- to- face interview?
Determine the step response of y of the system for all n : (a) Impulse Response of a DT LTI system is given by h[n]=(.2^n)u[n] Determine the step response of y[n] of the system for all n. (b) Given h[n]=(a^n)u[n] and x[n]=(.2^n-5)u[n-5] Evaluate y[n]=h[n]*x[n] for
What are the portfolio weights for a portfolio : What are the portfolio weights for a portfolio that has 132 shares of Stock A that sell for $42 per share and 112 shares of Stock B that sell for $32 per share? (Round your answers to 4 decimal places. (e.g., 32.1616))
Write a program to generate a 25-hz digital waveform : Write a program to generate a 25-Hz digital waveform with a 50 percent duty cycle on the PT0 pin as long as the voltage level on the PP7 pin is high. Your program should consist of two parts: Entry test. As long as the PP7 pin is low, it stays in t..
What is the magnetic induction due to a coil current : The uniform purely axial magnetic induction required by the experiment in a volume large enough to accommodate the Lorentz Tube is produced by the Helmholtz Coils. What is the magnetic induction due to a coil current 1.5 Ampere
What is the difference between these two types factors : what are some of the external and internal factors that affect a firm's stock price? What is the difference between these two types factors?
Determine efficiency of transformer for secondary current : A single-phase, 100-kVA, 1000:100-V, 60-Hz transformer has the following test results: Open-circuit test (FIV side open): 100 V, 6 A, 400 W Short-circuit test (LV side shorted): 50 V, 100 A, 1800 W 1)Determine the voltage regulation at 75% of the rat..
Describe some aspect of the earth in space : Write a paragraph essay describing some aspect of the earth in space. Attached is a reference for material. This needs to be using strict APA format.

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Calculate efficiency of electric motor used to raise object

write a MATLAB program that will allow the user to type the power in watts, the mass of the object in kilograms, the height the object will be raised in meters, and the time it took to raise the object in seconds.

  Caltulate the built in voltage vbi at a room temperture

the N-type P-type doping levels of a silicon p-n junction are nd=na= 5x10^16 cm^-3 caltulate the built in voltage Vbi a) at a room temperture b) at 300c c) at 700 c (ni= 1.10x1018 cm^-3) does a negative value for Vbi mean anything

  Calculate vzo and rlimit to keep zener power dissipation low

Voltage regulator utilizes a 500 mW Zener diode with Vz=6.7V at 20mA, rz=lOohm and IzK=5mA. The supply voltage y+ has a nominal value of 12V but can vary by ± 1 V. The load resistor is fixed at 330ohm

  What is probability exactly 1 of vehicles requires warranty

Industry standards suggest that 10% of new vehicles require warranty service within the 1st year. Jackson Chevy in Detroit, MI, sold 12 cars yesterday. a. What is the probability that none of these cars requires warranty service

  What is the magnitude of the line voltage at the sending

A balanced three-phase distribution line has an impedance of 1+j8 I per phase. This line is used to supply 3 balanced three-phase loads that are connected in parallel. The 3 loads are L1= 120 kVA at 0.96 leading pf, L2= 180 kVA

  What are the design implications for the location

Now that you have gained some familiarity with solar cells and their characteristics, what are your impressions about the efficiencies of these devices What are some applications for solar cells that are currently being used Why is this technology..

  Calculate the unit step response of the dt system

Calculate the unit step response of the DT systems with the following impulse responses: a-) h[k]= u[k+6]- u[k-10] b-) h[k]= 3^k- u[-k]

  Design a vdhl file controller to operate two separate sets

Design a VDHL file controller to operate two separate sets of three traffic light signals, one for each direction. Use eight LEDs as shown in to represent the outputs. The Time in This State can be met in several ways.

  What is the error when the arm position is at 15 degree

The controlled variable in a closed-loop system is the direction of a robot arm. Initially, it is at 40o; then it is commanded to go to 22o. What is the error when the arm position is at 15o

  Find the applied voltage of an iron-core transformer

Find the applied voltage of an iron-core transformer if the secondary voltage is 240 v, and Np = 60 with Ns = 720

  Calculate the total cable resistance due to both wires

A dc power distribution cable has two #6 copper wires. The copper wire table in the textbook lists each wire as having resistance of Ro=.4028 ohms per thousand feet at temperature of 25C. The temperature coefficient of copper is alpha=.004 per C.

  Calculate armature voltage va to be applied in steady state

If the motor is driving a load whose torque requirement remains constant at 3Nm, independent of speed. Calculate the armature voltage Va to be applied in steady state, if the load to be driven at 1500RPM.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd