[Hardware] software engineers learn the waveform

Speaking waveform, software engineers certainly bewildered, they might search on the concept of waves in the distant memories, perhaps junior high school physics mentioned in waves, light waves or something, but those mentioned in microcontroller and waveform comparison far enough.
SCM in the main waveform is a square wave, the so-called square wave and sine wave contrast, it noted that sine wave, the software engineer should know that AC is ah. That wave, light wave ah what is. Well not that sinx. Junior high school trigonometry. Everyone knows that.
However, square wave not seen, as the name suggests, like a rectangular waveform. In addition to a square wave, sawtooth there is a triangular wave, sawtooth waveform like. Peak is high, the trough is low.
These waves microcontroller to what use is it? it works. For example the system clock waveform is very simple square wave, in addition, may represent a square wave signal, triangular wave is used to trigger use for each. For example, I want to represent a binary 1001, represented by a square wave, the first 1 millisecond is high, the second is a low 1 ms, 1 ms or low third, fourth millisecond It is high.
Of course, there is also a sine wave in the microcontroller, but poor handling, so usually the sinusoidal signal into a square wave signal, i.e. an analog signal into a digital signal, so the microcontroller can handle.
Visible, the concept of the waveform is very important, so software engineers, hardware entry, then you need to understand the wave, square wave is know sawed, sawed triangle wave is, of course, also need to understand the sine wave.

Guess you like

Origin blog.csdn.net/wwwmagic/article/details/91372526