Thus, to get some kind of graphics on the screen, just the graphics in the xy
plane is divided into a section of straight line segments connected to each
other, and then calculated for each endpoint, it can be programmed to control a
motor. However, due to the motor rotation speed limits, to make the graphics
projected on the screen does not flicker, the graphic can not be too
complicated. The approval of laser pointer is very important. laser pointer of
good quality can pass the qualification. Control as the core design, the
microcontroller is no doubt played a pivotal role. Through it to complete the
external graphic data read, the software programming pulse sequence to achieve
the direction and speed of motor control, and ultimately achieve the laser light
beam steering control access to graphic design. Based on superior performance,
easy to download, low price, etc., we use here the single-chip AT89S52. AT89S52
the CPU can handle 8-bit binary number or code. Microcontroller core CPU is the
main component, which includes the operation of the CPU, controllers, and
several other components to register into. laser pointer of good quality will
attract more customers.
Internal data memory (RAM): AT89S52 microcontroller
chip RAM total of 256 units, after which 128 units are occupied by special
registers can be used as a register for the user to only the first 128 units,
can be used to store the data read and write. Therefore, commonly referred to as
internal data memory refers to the first 128 units, referred to internal RAM.
Address the range of 00H ~ FFH (256B). Is a multi-purpose multi-purpose data
memory, a data storage, general purpose working registers, stack, bit address
space. Internal program memory (ROM): AT89S52 4KB/8KB bytes of internal ROM (51
series of 4KB, 51 series of 8KB), used to store programs, data or original form.
So called program memory, referred to internal RAM. Address range 0000H ~ FFFFH
(64KB). laser pointer of good quality is of the higher price.
AT89S52 total
of two 16-bit timer / counter (52 series total of three 16-bit timer /
counters), in order to achieve timing or counting function, and its timing or
counting the results of computer control. Time when the clock frequency by
frequency count within the implementation part, do the counters, on P3.4 (T0) or
P3.5 (T1) port of the low pulse count. AT89S52 total of four 8-bit I / O port
(P0, P1, P2, P3) for data input and output. AT89S52 has a programmable
full-duplex serial port, in order to achieve single-chip and other devices in
the serial data transfer.
No comments:
Post a Comment