The AVR microcontroller is a relatively novel microcontroller introduced by Atmel. Its notable features are high performance, high speed, and low power consumption. It cancels the machine cycle, takes the clock cycle as the instruction cycle, and implements pipeline operations. AVR microcontroller instructions are in units of words, and most instructions are single-cycle instructions. A single cycle can execute the function of this instruction and complete the reading of the next instruction at the same time. Usually the clock frequency is 4~8MHz, so the shortest instruction execution time is 250~125ns. AVR MCU can become a relatively hot MCU recently, the main features:
1. The AVR series does not have a structure similar to the accumulator A, it mainly realizes the function of A through the R16 ~ R31 registers. In AVR, there is no data pointer DPTR like the 51 series, but it is completed by three 16-bit registers X (composed of R26, R27), Y (composed of R28, R29), and Z (composed of R30, R31) The function of the data pointer (equivalent to three sets of DPTR), and it can also be used for post-increment or first-decrement operations. In the 51 series, all logical operations must be performed in A; while AVR can be used in any two It is performed between two registers, eliminating the need to toss back and forth in A, which are better than the 51 series.
2. The special registers of AVR are concentrated in the address range of 00~3F, and there is no need to select the memory bank first like PIC. It is more convenient to use than PIC. The address range of AVR's on-chip RAM is 0~00DF (AT90S2313) and 0060~025F (AT90S8515, AT90S8535), which occupy the address of the data space. These on-chip RAMs are only used to store data and usually do not have general purpose The function of the register. When the program is complicated, general-purpose registers R0-R31 are not enough; and the 51 series of general-purpose registers have as many as 128 (4 times that of AVR), so you won't have this feeling when programming.
3. The I/O pin of AVR is similar to PIC. It also has a direction register used to control input or output. In the output state, the high-level output current is about 10mA, and the low-level sink current is 20mA. Although not as good as PIC in this point, it is still better than the 51 series.
Disadvantage1. There is no bit operation, and the related register bits are controlled and judged in the form of bytes.
2. There is a big difference between C language and 51's C language in writing, which makes friends who learn 51 single-chip microcomputer very uncomfortable from the beginning.
3. A total of 32 general-purpose registers (R0~R31), the first 16 registers (R0~R15) cannot directly deal with immediate data, so the versatility has declined. In the 51 series, all of its general-purpose registers (address 007FH) can directly deal with immediate data, which is obviously better than the former.
The utility model provides a disposable electronic cigarette, comprising: a hollow shell, the bottom of the shell is provided with a lower cover; the shell contains an atomizer, and the outer side of the atomizer is sheathed with a disposable cigarette A bomb, a microphone cover is arranged under the atomizer, a microphone is covered under the microphone cover, a battery is arranged on one side of the atomizer, and an upper cover is arranged on the top of the casing; The atomizer includes an atomizing corThe utility model provides a disposable electronic cigarette, comprising: a hollow shell, the bottom of the shell is provided with a lower cover; the shell contains an atomizer, and the outer side of the atomizer is sheathed with a disposable cigarette A bomb, a microphone cover is arranged under the atomizer, a microphone is covered under the microphone cover, a battery is arranged on one side of the atomizer, and an upper cover is arranged on the top of the casing; The atomizer includes an atomizing core, an oil-absorbing cotton sleeved on the outside of the atomizing core, and an atomizer outer tube sleeved on the outside of the oil-absorbing cotton. The disposable electronic cigarette provided by the utility model absorbs the smoke oil on the surface through the absorbing cotton, and then atomizes the smoke through the atomizing core, which greatly reduces the risk of oil leakage, at the same time, reduces the burning of cotton and ensures the smoking taste.e, an oil-absorbing cotton sleeved on the outside of the atomizing core, and an atomizer outer tube sleeved on the outside of the oil-absorbing cotton. The disposable electronic cigarette provided by the utility model absorbs the smoke oil on the surface through the absorbing cotton, and then atomizes the smoke through the atomizing core, which greatly reduces the risk of oil leakage, at the same time, reduces the burning of cotton and ensures the smoking taste.
disposable vape,vape pen,vape accessories,vape store,vape battery,e-cigarettes,Disposable Pod
Suizhou simi intelligent technology development co., LTD , https://www.msmvape.com