microcontroller programming - the microchip pic

821 1.7K 0
microcontroller programming - the microchip pic

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... The RS-232-C Standard Essential Concepts The Serial Bit Stream Parity Testing Connectors and Wiring The Null Modem The Null Modem Cable 14.1.5 The EIA-485 Standard EIA-485 in PIC- based Systems 14.2 Parallel Data Transmission 14.2.1 PIC Parallel Slave Port (PSP) 14.3 PIC “Free-style” Serial Programming 14.3.1 PIC- to -PIC Serial Communications PIC- to -PIC Serial Communications Circuits PIC- to -PIC Serial... 360 Contents xiii The 74HC165 Parallel-to-Serial Shift Register 74HC164 Serial-to-Parallel Shift Register 14.4 PIC Protocol-based Serial Programming 14.4.1 RS-232-C Communications on the 16F84 The RS-232-C Transceiver IC PIC to PC Communications An RS-232-C TTY Board A 16F84A UART Emulation An LCD Scrolling Routine 14.4.2 RS-232-C Communications on the 16F87x The 16F87x USART Module The USART Baud Rate... levels, as if they moved around the nucleus in different orbits, like planets around a sun The rightmost drawing represents this orbital model + + + - + - - - - + - ++ + ++ - ++ + ++ - - - Figure 1-1 Models of the Atom 1 Chapter 1 2 Investigations also showed that the normal atom is electrically neutral Protons -2 4 (positively charged particles) have a mass of 1.673 X 10 grams Electrons (nega-28 tively... integrated circuits later in the book Figure 1-4 shows two connected, oppositely charged bodies The force between them has the potential for work; therefore, there is voltage If the two bodies are connected by a conductor, as in the illustration, the positive charge moves along the wire to the other sphere On the other end, the negative charge flows out on the wire towards the positive side In this case,... type of 8-bit PIC known as the mid-range family We have chosen this approach partly because of space limitations and partly due to the fact that 1 6- and 32-bit microcontrollers (sometimes called external memory microcontrollers) are more related to microprocessor technology than to the topic at hand The Book's Design The book is intended as a resource kit for PIC microcontroller programming But programming. .. current stops this voltage is equal to the voltage in the battery Since the points in the circuit are connected by conductors, then they have the same voltage, even if there is a resistor in the circuit If the current is zero, there is no voltage across the resistor, according to Ohm's law The amount of charge on the plates of the capacitor is a measure of the value of the capacitor This "capacitance" is... flow Figure 1-7 shows a circuit wired in parallel + - Figure 1-7 Parallel Circuit In the circuit of Figure 1-7 , if one of the light bulbs burns out, the other one will still light Also, if the load is the same in each circuit branch, so will be the current flow in that branch By the same token, if the load in each branch is different, so will be the current flow in each branch The series-parallel circuit... from the P- to N-type material In this condition, the diode acts rather like a good conductor, and current can flow, as in Figure 1-1 9 electron flow e e e e e hole flow + - Figure 1-1 9 A Forward Biased Diode 18 Chapter 1 If the polarity of the voltage applied to the silicon is reversed, then the diode is reverse-biased and appears nonconducting This nonsymmetric behavior is due to the properties of the. .. builds up on the plates, charge repulsion resists the flow and the current is reduced At some point the repulsive force from charge on the plates is strong enough to balance the force from charge on the battery, and the current stops + - Figure 1-1 5 Capacitor Circuit Basic Electronics 13 The existence of charges on the capacitor plates means there must be a voltage between the plates When the current... series and others in parallel Therefore, the circuit shares the characteristics of both series and parallel circuits Figure 1-8 shows the same parallel circuit to which a series rheostat (dimmer) has been added in series Chapter 1 8 VARIABLE RESISTOR (DIMMER) + - Figure 1-8 Series-Parallel Circuit In the circuit of Figure 1-8 the two light bulbs are wired in parallel, so if one fails the other one will . model. Figure 1-1 Models of the Atom + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - 1 Investigations also showed that the normal atom is electrically. 350 14.2.1 PIC Parallel Slave Port (PSP) 351 14.3 PIC “Free-style” Serial Programming 351 14.3.1 PIC- to -PIC Serial Communications 352 PIC- to -PIC Serial

Ngày đăng: 05/03/2014, 10:11

Từ khóa liên quan

Mục lục

  • Microcontroller Programming: The Microchip PIC

    • Table of Contents

    • Preface

    • Additional Material

    • Basic Electronics

      • 1.0 The Atom

      • 1.1 Isotopes and Ions

      • 1.2 Static Electricity

      • 1.3 Electrical Charge

      • 1.4 Electrical Circuits

      • 1.5 Circuit Elements

      • 1.6 Semiconductors

      • Number Systems

        • 2.0 Counting

        • 2.1 The Origins of the Decimal System

        • 2.2 Types of Numbers

        • 2.3 Radix Representations

        • 2.4 Number System Conversions

        • Data Types and Data Storage

          • 3.0 Electronic-Digital Machines

          • 3.1 Character Representations

          • 3.2 Storage and Encoding of Integers

          • 3.3 Encoding of Fractional Numbers

          • 3.4 Binary-Coded Decimals (BCD)

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan