51 based on the basic function

1. MCU internal resources: the Flash - Program Storage ( 8K bytes 1K = 1024,1 = 8) 0 RAM - data memory space ( 512 bytes) SFR-- Special Function Register

2. The minimum system microcontroller: the power supply (power supply circuit 40 pin ( + 5V) VCC and a 20-pin GND), the crystal   the crystal oscillator ( 18 and 19 pins) per shock 11,059,200 times (by one crystal of 11.0592Mhz)

Reset circuit: 9-pin RST Reset pin (manual reset, and power-on reset automatically reset).

3. The decoupling capacitors: C16 and C19, and a buffer stabilizing effect. C10 is used to filter out high frequency interference signals. C18 play a stabilizing role.   Capacitance characteristics: can be separated by alternating current.

4. The three tubes: the PNP and NPN type, a total of three poles ( B base, E emitter, C collector) cut-off, amplified, saturated three modes of operation. PNP (e> b 0.7v) NPN (b> e 0.7V) PNP ( the E ) the NPN ( on c).

The decoder thirty-eight three input states is translated into eight kinds of output states. 8 a total of three small light switch LED tube Q16.

6. Timer calculated: X-12 is * / = 0.02 Y = 11.0592 million-X-65535 to the Z = convert to z hexadecimal. Maximum timing 71Ms.

7. variables: Local variables: a variable is declared within internal variables. Global variables: Variables declared outside a function are global variables. Storage class: automatic static, and external registers. Without static variables are automated. Keywords dynamic storage variable auto, global variables are static variables.

8. Motor Classification: class motor driving and controlling the motor class. DC type motor belonging to the drive. (Convert electrical energy into mechanical energy) stepping motors are controlled based motor (pulse signal is converted into a rotational angle of the motor angle). Stepper Motor: Reaction Stepper motors, permanent magnet stepper motors, hybrid stepping motor. 4-phase permanent magnet type stepping motor reducer.

9. Buzzer: structure: electromagnetic and piezoelectric buzzer drive mode: active and passive. 500Hz-- signal between the drive pulse frequency 4.5KHz.
10.PMW using a digital pulse width modulation signal reaches an analog signal. High duty cycle means the total time period ratio.

Guess you like

Origin www.cnblogs.com/Superchensir/p/11124271.html