« Home « Chủ đề Programmable Intelligent Computer

Chủ đề : Programmable Intelligent Computer


Có 31+ tài liệu thuộc chủ đề "Programmable Intelligent Computer"

Interfacing PIC Microcontrollers 20

tailieu.vn

Else_IPM-BATES_ch008.qxd PM Page 177. The microcontroller or microprocessor port only provides a limited amount of current: about 20 mA in the case of PIC, and even less for standard microprocessor ports. All solid-state current drivers and switches are derived from the semiconduc- tor technology which is the basis of the transistor. One advantage of the bipolar junction transistor (BJT) is...

Interfacing PIC Microcontrollers 21

tailieu.vn

The transistor is selected for sufficient collector current handling, and the base resistor to give plenty of base current, which is calculated from the required coil current:. this is a sensible precau- tion for all DC inductive loads (anything with a coil such as a motor or Figure 8.4 Power outputs interfaces. The diode protects the transistor from the back...

Interfacing PIC Microcontrollers 22

tailieu.vn

In Figure 8.9 (a), the stepper motor stator has 16 poles and the rotor 4 north poles which are attracted to the active pairs of rotor south poles. This gives a total of six connections to the motor, with two pairs of centre- tapped windings. This allows the motor to be driven in different modes, while keeping the number of...

Interfacing PIC Microcontrollers 23

tailieu.vn

The program outputs a fixed message to the display. Program 9.1 USART serial communication. Others act as slaves, using the master clock for sending and receiving. The test system (Figure 9.5) consists of three processors, a master, a slave transmitter and a slave receiver. The slave transmitter has a BCD switch con- nected to Port D, which generates the test...

Interfacing PIC Microcontrollers 24

tailieu.vn

Control byte store Temp EQU 0x25 . SEND CONTROL BYTE CALL send . SEND DATA BYTE. Control byte for WRITE MOVWF ConReg . Send control byte CALL senadd . Send data byte CALL senstop . Control byte to WRITE. Control byte to READ MOVWF ConReg . Send control byte BANKSEL SSPCON2. after the other on the same location, but the...

Interfacing PIC Microcontrollers 25

tailieu.vn

Sensors have certain characteristics which should be specified in the data sheet:. The ideal sensor characteristic is shown in the characteristic y ⫽ m 1 x. The sensor has a large change in its output for a small change in its input. Figure 10.2 Sensor characteristics. The output could be fed directly into the analogue input of the MCU.. If...

Interfacing PIC Microcontrollers 26

tailieu.vn

In order to design the interface between a sensor and the MCU, we need to specify the performance of a linear amplifier which will translate the output of the sensor into a suitable input for the MCU, which is in the right range for the amplifier to handle and allows a convenient conversion factor to be used in the ADC....

Interfacing PIC Microcontrollers 27

tailieu.vn

1 Describe how the reliability of a mechanical switch can be improved. (3) 5 State three sensors for measuring temperature, and the materials that each is. of varying the gain and offset of the output. Else_IPM-BATES_ch010.qxd PM Page 246. At midnight the total should be logged and the gauge should be reset. Investigate and establish a mathematical representation of the...

Interfacing PIC Microcontrollers 28

tailieu.vn

Program 11.1 Continued. Test data.... The include routines must be stored in the same application folder with the main source code, or the full file path to the folder must be given in the include statement. As can be seen, the software design philosophy is to make the main program as concise as possible, so that ultimately it consists of...

Interfacing PIC Microcontrollers 29

tailieu.vn

If necessary, current drivers should be added at the latch outputs in the extended system.. The PIC 16F877 is used throughout this book for simplicity ⫺ in real appli- cations, a chip should be chosen from the PIC range which most closely meets the design requirements, both in terms of the absolute number of I/O pins and the special interfaces...

Interfacing PIC Microcontrollers 30

tailieu.vn

Atmel AVR is the most similar range to the PIC, in that it concentrates on 8-bit MCUs, and includes miniature devices. It has a more ex- tensive instruction set than the PIC, based on the standard 8051 assembler in- structions, and avoids the file register paging which is so inconvenient in the PIC. The AVR range has become popular as...