Traditional Culture Encyclopedia - Traditional festivals - How to make waveform generator with single chip microcomputer to realize digital coding of waveform
How to make waveform generator with single chip microcomputer to realize digital coding of waveform
Take sine wave as an example, it consists of many points, and each point corresponds to a voltage, v=data* reference voltage * 1/2n, (2n represents the n power of 2, n is the number of ad bits, 8 bits, and 12 bits. 16 bits) data is digitally encoded:
65438+
2. The speed of single chip computer can't keep up. The adding counter can accumulate the oscillation source pulse, and the accumulated value is used as the address of the data memory, and the oscillation pulse is used as the reading signal of the data memory to control the data memory to output data, which is sent to the DA for conversion and amplification, so as to drive the LC resonant circuit. If the frequency division of the oscillator is controlled by a single chip microcomputer, the signal with any period can be output.
So are other waveforms! (Of course, a square wave is not necessary)! !
- Related articles
- Describe the four seasons of the beautiful short sentences
- How to treat chronic pharyngitis with traditional Chinese medicine
- What is Japanese style? How to decorate a Japanese-style bedroom?
- How to calculate the loss and profit of foreign exchange?
- Book of flower arrangement skills
- How to make Anhui flat noodles
- There was no systematic theory of national security in ancient times, was there?
- Why is the modern state-owned enterprise system of Chinese characteristics "special" in the party organization?
- How is tofu milk made?
- What is the morning smell in ancient times?