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

  Use mips assembly language

Write an assembly program to calculate sum of number10 through 25

  What is minicircuits rf mixers would be suitable for design

You are designing a 2.4 GHz receiver with a 140 MHz IF. System design constraints require that the local oscillator power be minimized to reduce the potential for interference to other systems as well as to reduce the receiver power consumption.

  Calculate the thickness of the velocity boundary layer

Consider cold windy breeze parallel to your face, with an average facial dimension along the flow of 5 cm. The air velocity is 1 m/s (corresponding to 2.2 miles per hour). Assume laminar flow.  1) Calculate the thickness of the velocity boundary la..

  Determine what is the frequency of the wave in hz

A uniform plane electromagnetic wave propagates in a lossless dielectric medium. The electric field in the wave has the instantaneous expression E(z,t) = iy 3 sin(3pi.109t + 100piz 600), V/m. i) What is the frequency of the wave in Hz

  Digital systems and microprocessors

Design a sequential system to continuously output your set of eight different digits (01275438) in binary at the rate of one digit per clock pulse.

  Calculate the electrostatic energy stored in the structure

Calculate the electrostatic energy that is stored in the structure if the intermediate space is filled with a dielectric whose relative dielectric constant is 10 and a voltage is applied between the conductors creating an electric field.

  What is the probability that more than 5 students arrive

The number of students arriving at Mary's office hours is modeled as a Poisson random variable with an average of 1 student every 15 minutes. (a) What is the probability that no students arrive during office hours (3-5 PM)

  What distribution on y will max kullback-leibler divergence

Let x and y be Bernoulli randon variables that take on values 1 and 0. X is distrubuted with p = 0.5. What distribution on y will maximize the Kullback-Leibler divergence (D(x||y)

  Create a block diagram of the electronics

Create a block diagram of the electronics of the proposed vehicle. Include enough detail on each components and number of wires between each subsystem.

  How to modify the circuit to eliminate the hazard

Assume that the inverters have a delay of 1 ns and the other gates have a delay of 2ns. Initially A = 0 and B = C = D = 1, and C changes to 0 at time = 2ns. Draw a timing diagram and identify the transient that occurs.

  Find out the position indexes for data array

Suppose a data array has 30 numbers sorted from low to high already, where no two numbers are equal. We need to search whether any of the two randomly given key numbers, key1 and key2 is in the array. If yes, then find out the position index(es) f..

  Explain complex power

Question about Complex power, If an electrical load operates at 240 Vrms.The load absorbs an average power of 8kW with .8 lagging power factor

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