ATTENTION: Due to increased demand and order volume, processing time may take an additional 1-3 business days.
HomeCommunitySubjectPIC18F4550 Microcontroller: PIC18F4550 Datasheet, Pinout and Programming [FAQ]

PIC18F4550 Microcontroller: PIC18F4550 Datasheet, Pinout and Programming [FAQ]

Embedded - Microcontrollers A/D 13x10b 40-DIP (0.600, 15.24mm) 32kB Brown-out Detect/Reset, HLVD, POR, PWM, WDT -40°C~85°C TA 4.2V~5.5V PIC? 18F MICROCONTROLLER PIC18F4550 48MHz IC MCU 8BIT 32KB FLASH 40DIP

474

Nov 6, 2021

Candice Emma

How to program the PIC18F4550 microcontroller (blink demo board) part 1 of 8

 

Embedded - Microcontrollers A/D 13x10b 40-DIP (0.600, 15.24mm) 32kB Brown-out Detect/Reset, HLVD, POR, PWM, WDT -40°C~85°C TA 4.2V~5.5V PIC® 18F MICROCONTROLLER PIC18F4550 48MHz IC MCU 8BIT 32KB FLASH 40DIP

PIC18F4550 is an 8-bit microcontroller featuring nano-Watt technology, improved flash, USB, and high performance. This article is going to explain the datasheet, pinout, applications, programming, and more details about the PIC18F4550 microcontroller.

 

PIC18F4550-I/P

1411In Stock
Min.: 1 Mult.: 1
Quantity Unit Price Ext. Price
1+ $14.1148$14.11
10+ $13.31585$133.16
100+ $12.56212$1256.21
500+ $11.85106$5925.53
1000+ $11.18024$11180.24
Unit Price:$14.1148
Subtotal: $14.11
Looking for a better price? Want a lower wholesale price? Please send an RFQ, and we will respond immediately.
Quick Links

PIC18F4550 Pinout

PIC18F4550 Pinout

 

 

Pin   Number Pin Name Description
1 MCLR/VPP/RE3 MCLR: Master   Clear(RESET) Input VPP: programming voltage input RE3: I/O pin of PORTE, PIN 3
2 RA0/AN0 RA0: I/O pin of   PORTA, PIN 0 AN0: Analog input 0
3 RA1/AN1 RA1: I/O pin of   PORTA, PIN 1 AN1: Analog input 1
4 RA2/AN2/VREF-/CVREF RA2: I/O pin of   PORTA, PIN 2 AN2: Analog input 2 VREF-: A/D reference voltage (low) input   CVREF: Analog comparator reference output
5 RA3/AN3/VREF+ RA3: I/O pin of   PORTA, PIN 3 AN3: Analog input3 VREF+: A/D reference voltage (high) input
6 RA4/T0CKI/C1OUT/RCV RA4: I/O pin of   PORTA, PIN 4 T0CKI: Timer0 external clock input C1OUT: Comparator 1 output   RCV: External USB transceiver RCV input
7 RA5/AN4/SS/HLVDIN/C2OUT RA5: I/O pin of   PORTA, PIN 5 AN4: Analog input 4 SS: SPI slave select input HLDVIN:   High/Low-Voltage Detect input C2OUT: Comparator 2 output
8 RE0/AN5/CK1SPP RE0: I/O pin of   PORTE, PIN 0 AN5: Analog input 5 CK1SPP: SPP clock 1 output
9 RE1/AN6/CK2SPP RE1: I/O pin of   PORTE, PIN 1 AN6: Analog input 6 CK2SPP: SPP clock 2 output
10 RE2/AN7/OESPP RE2: I/O pin of   PORTE, PIN 2 AN6: Analog input 7 OESPP: SPP Enabled output
11 VDD Positive Power Supply   (+5V)
12 VSS Ground
13 OSC1/CLKI OSC1:Oscillator pin 1   CLKI: External clock source input
14 OSC2/CLKO/RA6 OSC2: Oscillator pin   2 CLKO: clock source output RA6: I/O pin of PORTA, PIN 6
15 RC0/T1OSO/T13CKI RC0: I/O pin of   PORTC, PIN 0 T1OSO:Timer1 oscillator output T13CKI: Timer1/Timer3 external   clock input
16 RC1/T1OSI/CCP2/UOE RC1: I/O pin of   PORTC, PIN 1 T1OSI: Timer1 oscillator input CCP2:Capture 2 input/Compare 2   output/PWM2 output UOE: External USB transceiver OE output
17 RC2/CCP1/P1A RC2: I/O pin of   PORTC, PIN 2 CCP1: Capture 1 input/Compare 1 output/PWM1 output. P1A   : Enhanced CCP1 PWM output, channel A
18 VUSB VUSB: Internal USB   3.3V voltage regulator output
19 RD0/SPP0 RD0: I/O pin of   PORTD, PIN 0 SPP0: Streaming Parallel Port data
20 RD1/SPP1 RD1: I/O pin of   PORTD, PIN 1 SPP1: Streaming Parallel Port data
21 RD2/SPP2 RD2: I/O pin of   PORTD, PIN 2 SPP2: Streaming Parallel Port data
22 RD3/SPP3 RD3: I/O pin of   PORTD, PIN 3 SPP3: Streaming Parallel Port data
23 RC4/D-/VM RC4: I/O pin of   PORTC, PIN 4 D-: USB differential minus line (input/output) VM: External USB   transceiver VM input
24 RC5/D+/VP RC5: I/O pin of   PORTC, PIN 5 D+: USB differential plus line (input/output). VP: External USB   transceiver VP input
25 RC6/TX/CK RC6: I/O pin of   PORTC, PIN 6 TX: EUSART asynchronous transmit CK: EUSART synchronous clock   (see RX/DT).
26 RC7/RX/DT/SDO RC7: I/O pin of   PORTC, PIN 7 RX: EUSART asynchronous receive DT: EUSART synchronous data (see   TX/CK). SDO: SPI data out
27 RD4/SPP4 RD4: I/O pin of   PORTD, PIN 4 SPP4: Streaming Parallel Port data
28 RD5/SPP5/P1B RD5: I/O pin of   PORTD, PIN 5 SPP5: Streaming Parallel Port data P1B: Enhanced CCP1 PWM   output, channel B
29 RD6/SPP6/P1C RD6: I/O pin of   PORTD, PIN 6 SPP6: Streaming Parallel Port data P1C: Enhanced CCP1 PWM   output, channel C
30 RD7/SPP7/P1D RD7: I/O pin of   PORTD, PIN 7 SPP7: Streaming Parallel Port data P1D: Enhanced CCP1 PWM   output, channel D
31 VSS Ground
32 VDD Positive Power Supply   (+5V)
33 RB0/AN12/INT0/FLT0/SDI/SDA RB0: I/O pin of   PORTB, PIN 0 AN12: Analog input 12 INT0: External interrupt 0 FLT0: Enhanced   PWM Fault input (ECCP1 module) SDI: SPI data in SDA: I2C data I/O
34 RB1/AN10/INT1/SCK/SCL RB1: I/O pin of   PORTB, PIN 1 AN10: Analog input 10 INT1: External interrupt 1 SCK:   Synchronous serial clock input/output for SPI mode SCL: Synchronous serial   clock input/output for I2C mode
35 RB2/AN8/INT2/VMO RB2: I/O pin of   PORTB, PIN 2 AN8: Analog input 8 INT2: External interrupt 2 VMO: External USB   transceiver VMO output
36 RB3/AN9/CCP2/VPO RB3: I/O pin of   PORTB, PIN 3 AN9: Analog input 9 CCP2: Capture 2 input/Compare 2 output/PWM2   output VPO: External USB transceiver VPO output
37 RB4/AN11/KBI0/CSSPP RB4: I/O pin of   PORTB, PIN 4 AN11: Analog input 11 KBI0: Interrupt-on-change pin CSSPP: SPP   chip select control output
38 RB5/KBI1/PGM RB5: I/O pin of   PORTB, PIN 5 KBI1: Interrupt-on-change pin PGM: Low-Voltage ICSP Programming   enable pin
39 RB6/KBI2/PGC RB6: I/O pin of   PORTB, PIN 6 KBI2: Interrupt-on-change pin PGC: In-Circuit Debugger and ICSP   programming clock pin.
40 RB7/KBI3/PGD RB7: I/O pin of   PORTB, PIN 7 KBI3: Interrupt-on-change pin PGD: In-Circuit Debugger and ICSP   programming data pin.

What is PIC18F4550?

PIC18F4550 is an 8-bit microcontroller featuring nano-Watt technology, improved flash, USB, and high performance. It's a 40-pin microcontroller featuring memory endurance, self-programmability, an extended instruction set, an upgraded CCP module, addressable USART, and a 10-bit ADC, among other things (Analog to digital converter).

 

PIC18F4550 CAD Model

Specifications

Microchip Technology PIC18F4550-I/P technical specifications, attributes, parameters and parts with similar specifications to Microchip Technology PIC18F4550-I/P.

PIC18F4550-I/P Tech Specifications

Microchip Technology PIC18F4550-I/P technical specifications, attributes, parameters and parts with similar specifications to Microchip Technology PIC18F4550-I/P.

Product Attribute Attribute Value
Factory Lead Time7 Weeks
MountThrough Hole
Mounting TypeThrough Hole
Package / Case40-DIP (0.600, 15.24mm)
Number of Pins40Pins
Weight22.679619g
Data ConvertersA/D 13x10b
Number of I/Os35I/Os
Watchdog TimersYes
Operating Temperature-40°C~85°C TA
PackagingTube
SeriesPIC® 18F
Published2004
JESD-609 Codee3
Pbfree Codeyes
Part StatusActive
Moisture Sensitivity Level (MSL)Not Applicable
Number of Terminations40Terminations
Terminal FinishMatte Tin (Sn)
Max Power Dissipation1W
Product Attribute Attribute Value
Terminal PositionDUAL
Supply Voltage5V
Frequency48MHz
Base Part NumberPIC18F4550
Pin Count40
InterfaceI2C, SPI, UART, USART, USB
Memory Size32kB
Oscillator TypeInternal
Nominal Supply Current1.1mA
RAM Size2K x 8
Voltage - Supply (Vcc/Vdd)4.2V~5.5V
uPs/uCs/Peripheral ICs TypeMICROCONTROLLER
Number of Bits8Bits
Core ProcessorPIC
PeripheralsBrown-out Detect/Reset, HLVD, POR, PWM, WDT
Program Memory TypeFLASH
Core Size8-Bit
Program Memory Size32KB 16K x 16
ConnectivityI2C, SPI, UART/USART, USB
Bit Size8
Product Attribute Attribute Value
Access Time48 μs
Has ADCYES
DMA ChannelsNO
Data Bus Width8b
Number of Timers/Counters4Timers/Counters
Address Bus Width8b
Density256 kb
EEPROM Size256 x 8
CPU FamilyPIC
Number of A/D Converters1A/D Converter
Number of ADC Channels13ADC Channels
Number of PWM Channels5PWM Channels
Height4.953mm
Length53.21mm
Width14.732mm
REACH SVHCNo SVHC
Radiation HardeningNo
RoHS StatusROHS3 Compliant
Lead FreeLead Free
0 Products View Similar

PIC18F4550 Features

  • Compact and ready to use design

  • Professional and Fully EMI/RFI Complaint PCB Layout Design for Noise Reduction

  • High Quality Two layer PTH PCB

  • Includes PIC18F4550 Microcontroller with built-in USB Peripheral

  • Board Supports PIC 16F877/18F 4520/4580 Microcontrollers

  • No separate programmer required (Built-in Boot loader)

  • No Separate power adapter is required (USB power source)

  • Screw terminal for External Power Supply (with Jumper Select Option)

  • External Power Supply range of 7V to 20V

  • Adaptor (any standard 9-12V power supply) option

  • RS-232 Interface (For direct connection to PC’s serial port)

  • Onboard Two-Line LCD Display (2x16)

  • Onboard I2C EEPROM (4K-AT24C04).

  • Onboard I2C RTC (DS 1307) with Crystal and Battery

  • Four multiplexed 7-Segment LED Display

  • Built-in Matrix keyboard (12 keys)

  • Built-in Pull-Up (4 Keys) Keyboard • Built-in IR Sensor Interface – TSOP 1738

  • Built-in 8 LED Interface to test I/O

  • On-Board External interrupt and Reset buttons

  • Built-in Pot interface to ADC

  • On-Board Temperature Sensor Interface (LM35)

  • On Board Buzzer Interface

  • On-Board PWM Output pin

  • On-Board ICD Connector for Debugging/Programming

  • On-Board ICSP Connector

  • On Board 20 MHz Crystal Oscillator

  • On-Board Power LED Indicator

  • All Port Pins available at IDC (2x5) Connector

  • Can be used as main board for developing applications

  • Power Supply Reverse Polarity Protection

  • On Board 1 Amp Voltage Regulator

  • Demo HEX codes included for testing of board features

  • Example codes included

PIC18F4550 Applications

  • Motor control systems

  • Peripheral Interface system

  • Hobbyist and Engineer general projects

  • Development board for learners

  • Temperature control systems

  • Analog signal measuring and manipulations

  • Embedded systems like coffee machine, vending machine

 

PIC18F4550 Equivalents

PIC18F4455, PIC18F2455, PIC18F2550

Where to Use PIC18F4550

PIC18F4550 is a simple PIC controller to program. Most applications are satisfied by the controller program memory. It can readily interface with various peripherals because of its 35 programmable input/output pins. It may be used on systems with no human intervention since it has a Watchdog timer that resets when there is an error. With the USB interface, you may easily communicate with the controller from any PC. With so many functions, the PIC18F4550 controller is even more appealing.

How to Use PIC18F4550

The PIC18F4550 microcontrollers are utilized as basic microcontrollers, not as digital integrated circuits. To begin using this microcontroller, we must first save the necessary software file to the FLASH memory controller. To run the code saved in the Flash memory, turn on the controller. As a result, the response will be produced. To learn how to use the PIC18F4550 microcontroller for processing and programming, follow the steps below.

PIC18F4550 Circuit

 

The functions that the PIC18F4550 Microcontroller will do are mentioned below.

  • Use the relative programming language to write the functions in the IDE application (for example for windows OS MPLAB IDE).

  • Write the functions in ‘C’ language for these IDE.

  • Compile the written appropriate program using IDE to eliminate errors.

  • After compiling the written program, the HEX file is generated by the IDE application.

  • Then select the programming device (i.e, PIC kit 3) to provide communication between the PIC18F4550 microcontroller and PC.

  • Select the related programming device to run the dumping software HEX file.

  • Select the desired program HEX file.

  • Burn the program of HEX file stored in the flash memory of PIC18F4550 microcontroller using this program.

  • The required peripherals are connected to the microcontroller and power on the systems by disconnecting the program.

  • When the power is on, the HEX code stored in the flash memory is executed by the controller and the given task is performed.

 

PIC18F4550 Manufacturer

Microchip Technology Inc. is a leading provider of microcontroller and analog semiconductors, providing low-risk product development, lower total system cost, and faster time to market for thousands of diverse customer applications worldwide. Headquartered in Chandler, Arizona, Microchip offers outstanding technical support along with dependable delivery and quality.

 

Datasheet PDF

PIC18F4550-I/P Documents

Download datasheets and manufacturer documentation for PIC18F4550-I/P

Frequently Asked Questions

How many bits are PIC18F4550?
PIC18F4550-I/P - Microchip - 8 Bit MCU, Flash, PIC18 Family PIC18F45xx Series Microcontrollers.
What is code ROM capacity of PIC18F4550?
It has 32KB of Flash memory and can store up to 16,384 single-word instructions. Each register in the data memory has a 12-bit address, thus allowing up to 4096 bytes of data memory. The memory space in the PIC18 family is divided into as many as 16 banks that contain 256 bytes each.
How many ports are available for PIC18F4550?
40 pins of PIC18F4550 are divided into 5 ports. Out of which, 35 pins are Input-Output pins which can be configured for general Input or Output by setting registers associated with them.
What are the names of addressing modes in PIC18F4550?
The instruction set and architecture allow operations across all banks. The entire data memory may be accessed by direct, indirect, or indexed addressing modes. To ensure that commonly used registers (SFRs and select GPRs) can be accessed in a single cycle, PIC18 devices implement an Access Bank.
FAQ
How many bits are PIC18F4550?
PIC18F4550-I/P - Microchip - 8 Bit MCU, Flash, PIC18 Family PIC18F45xx Series Microcontrollers.
What is code ROM capacity of PIC18F4550?
It has 32KB of Flash memory and can store up to 16,384 single-word instructions. Each register in the data memory has a 12-bit address, thus allowing up to 4096 bytes of data memory. The memory space in the PIC18 family is divided into as many as 16 banks that contain 256 bytes each.
How many ports are available for PIC18F4550?
40 pins of PIC18F4550 are divided into 5 ports. Out of which, 35 pins are Input-Output pins which can be configured for general Input or Output by setting registers associated with them.
What are the names of addressing modes in PIC18F4550?
The instruction set and architecture allow operations across all banks. The entire data memory may be accessed by direct, indirect, or indexed addressing modes. To ensure that commonly used registers (SFRs and select GPRs) can be accessed in a single cycle, PIC18 devices implement an Access Bank.

TAGS

Share