PIC Development Systems:Hardware Test

Hardware Test When simulating correctly, the program can be downloaded. The PICkit programmer is plugged into a USB port and Programmer, Select Programmer, PICkit2 from the menus. Successful connection to the programmer should be confirmed in the output window. Sometimes an updated version of the programmer operating system needs to be downloaded. A programming toolbar […]
Continue reading…

 

More PIC Microcontrollers:Serial Ports

Serial Ports Serial communication ports allow the PIC to communicate with other MCUs, or exchange data with a master controller, via a single connection. Serial connections may also be made with external memory devices and sensors. There are several protocols available in PICs: • USART (universal synchronous asynchronous receiver transmitter) • SPI (serial peripheral interface) […]
Continue reading…

 

PIC Development Systems:In-Circuit Programming

In-Circuit Programming MPLAB IDE and a hardware programmer are the essential components of the Microchip toolset. Originally, PIC® chips had to be removed from the circuit for programming in a separate module, and then replaced in the target application board. Now, in-circuit programming allows the chip to be programmed without being removed, which avoids possible […]
Continue reading…

 

More PIC Microcontrollers:Peripheral Interfaces

Peripheral Interfaces In the block diagram of each chip, the peripherals are shown as separate blocks attached to the internal data bus. These provide additional features such as timers, analogue inputs and serial ports. These are set up for use by initializing the related SFRs. The appropriate combination of peripherals is a major factor in […]
Continue reading…

 

More PIC Microcontrollers:Power Consumption

Power Consumption Power consumption is generally proportional to clock speed in complementary metal oxide semiconductor (CMOS) devices, since most of the power is consumed when the transistors switch on and off. This is illustrated by the current consumption curve for a typical device, shown in Figure 12.2. For external crystal operation at clock frequencies between […]
Continue reading…

 

More PIC Microcontrollers:Input/Output Pins and Program Memory

Input/Output Pins The number and type of inputs and outputs required needs to be considered at an early stage in circuit design. The convenient grouping of the pins for particular interfaces may also be relevant, with many chips having partial port implementations. For example, a 4-bit port can be conveniently used for a 4-bit input […]
Continue reading…

 

More PIC Microcontrollers:Device Selection

Device Selection Each type of PIC microcontroller offers a different combination of features; the most suitable can be selected for any given application. The range is expanding all the time, with additional features and improved performance at lower cost. Tables of MCU families at www.microchip.com allow the current features and price of each to be […]
Continue reading…