Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
The overall objective of this lab is to design the music player described in Lab 11.2 with a two-channel DAC chip, and design two audio amplifiers. The system will implement two-channel stereo sound.
Lab 11.2
Most digital music devices rely on high-speed DAC converters to create the analog waveforms required to produce high-quality sound. In this lab you will create a very simple sound-generation system that illustrates this application of the DAC. Your goal is to play your favorite song. For the first step, you will interface a 74HC595 serial in/parallel out shift register to the SPI port. Please refer to the 74HC595 data sheets for the synchronous serial protocol. The second step is to create a DAC from the 8-bit digital output of the 74HC595. You are free to design your DAC with a precision anywhere from 5 to 8 bits. You will convert the binary bits (digital) to an analog output current using a simple resistor network. The third step is to convert the DAC analog output to speaker current using an audio amplifier, such as the MC34119. It doesn't matter what range the DAC is, as long as there is an approximately linear relationship between the digital data and the speaker current. To do this you will have to run the analog circuit in its linear range. Be careful not to saturate the analog circuit. The performance score is based not on loudness, but on sound quality. On the other hand, sound quality will be a function of the number of DAC bits, the linearity of the analog circuit, and the periodic output rate. If an analog signal is noisy, you can add filter capacitors. It is important to add a 0.1 μF bypass capacitor on the power connection of the 74HC595 to prevent output glitches during serial input transmissions. The fourth step is to design a low-level device driver for the DAC. A single 8-bit SPI frame is all that is required to set the DAC output. The fifth step is to design a data structure to store the sound waveform. You are free to design your own format, as long as it uses a formal data structure (i.e., struct). Compressed data occupies less storage, but requires runtime calculation. On the other hand, a complete list of points will be simpler to process, but requires more storage than is available on the microcontroller. The sixth step is to organize the music software into a device driver. Although you will be playing only one song, the song data itself will be stored in the main program, and the device driver will perform all the I/O and interrupts to make it happen. You will need public functions Rewind, Play, and Stop, which perform operations as does a cassette tape player. The Play function has an input parameter that defines the song to play. A background thread implemented with output compare will fetch data from your music structure and send them to the DAC. The last step is to write a main program that inputs from three binary switches and performs the three public functions
Determine the theoretical maximum height that a pump could pull water up from a well (i.e. from the vacuum side of the pump). The set-up described is similar to on-farm wells. Assume that atmospheric pressure is exerted on the water at the bottom of ..
Determine the expression for the density ps of the sphere - A homogeneous solid sphere of radius r is resting on the bottom of a tank containing a liquid of density pl, which is greater than the density ps of the sphere
a cast-iron tube is used to support a compressive load. knowing that e 69 gpa and that the maximum allowable change in
calculate the work necessary to compress air in an isolated cylinder with initial and final volumes of 6.0 and 1.2 ft3
Consider atmospheric air at 25 degrees Celsius and a velocity at 25 m/s flowing over both sides of a 1 eter long flat plate that is maintained at 125 degrees Celsius. Determine the rate of heat transfer per unit width from the plate for values of th..
draw a complete schematic diagram show arrows symbols amp numeric values for each w amp amp q amp . consider the steady
A wooden board AB, which is used as a temporary prop to support a small roof, exerts at point A of the roof a 57-lb force directed along BA. Determine the moment about C of that force.
packages enter the 10ft chute at a with a speed of 4ftsec and have a 0.3g acceleration from a to b. if the packages
Following are the results of two consolidated-drained triaxial tests on a clay: Test I: s3 5 140 kN/m2;s1(failure) 5 368 kN/m2 Test II: s3 5 280 kN/m2; s1(failure) 5 701 kN/m2 Determine the shear strength parameters; that is, c9 andf9.
a particle is moving along a straight line from an origin o and has acceleration a of ks ms2 where k is a constant s is
the number of vacancies in a material is related to temperature by an arrhenius equation. if the fraction of lattice
air enters the compressor of an ideal closed air-standard brayton cycle at 100kpa with a volumetric flow rate of 5m3s.
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!
whatsapp: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd