Learn   /   Peripheral Tutorials   /   PIC16F87X

MICROCHIP C SAMPLE CODE HI TECH C EXAMPLE ARCHIVE

Sample projects for the Microchip PIC micro series of microcontrollers, including the PIC12x, PIC16x, PIC18x, PIC24x, and dsPICx microcontrollers.

Published

At a glance

CategoryPeripheral Tutorials
PIC modelPIC16F87X, PIC18F4550
IncludesDownload files
Reading time~3 min

Summary of MICROCHIP C SAMPLE CODE HI TECH C EXAMPLE ARCHIVE

This article lists sample projects and C code examples for Microchip PIC microcontrollers (PIC12x, PIC16x, PIC18x, PIC24x, dsPICx) using Hi-Tech C. It covers diverse applications including USB serial ports, MMC cards, bootloaders, I/O interfaces like SPI/I2C/LCD, motor control, temperature sensing with Dallas DS1821, and real-time operating system tasks.

Parts used in the Hi Tech C Example Application List:

  • PIC12x microcontrollers
  • PIC16x microcontrollers
  • PIC18x microcontrollers
  • PIC24x microcontrollers
  • dsPICx microcontrollers
  • PIC18F4550
  • PIC16Fx core
  • PIC18Fx core
  • PIC16F87x
  • PIC16F876
  • PIC18F1320
  • PIC18Fx52
  • PIC17C4x
  • PIC12C509
  • PIC16F84
  • Dallas DS1821 thermometer
  • LCD display
  • I2C interface
  • SPI interface
  • TRIAC controller
  • IGBT 50/60Hz control
  • Keypad
  • Temperature sensor
  • dsPIC30Fx
  • Samsung KS0713

Sample projects for the Microchip PIC micro series of microcontrollers, including the PIC12x, PIC16x, PIC18x, PIC24x, and dsPICx microcontrollers. Hi Tech C Example Application List CRC USB serial port for PIC18F4550 MMC card Delay routines in C for PIC16Fx... Electronics Projects, Microchip C Sample Code Hi Tech C Example Archive "dspic projects, hi tech c examples, microchip projects, microcontroller projects,

MICROCHIP C SAMPLE CODE HI TECH C EXAMPLE ARCHIVE

Sample projects for the Microchip PIC micro series of microcontrollers, including the PIC12x, PIC16x, PIC18x, PIC24x, and dsPICx microcontrollers.

HI TECH C EXAMPLE APPLICATION LIST

CRC
USB serial port for PIC18F4550
MMC card
Delay routines in C for PIC16Fx core
Delay routines in C for PIC18Fx core
UART for PIC16F87x and PIC18Fx
Bootloader – PIC16F876
Bootloader – PIC18F1320
Bootloader – PIC18Fx52
Bootloader – PIC17C4x
Bootloader – dsPIC (all variants)
EEPROM
A/D D/A SPI LCD
PIC12C509 logic replacement nitrogen filler
I2C
Multitasking and RTOS
17C4x bootloader
16F84 based pulse monitor
TRIAC controller
Dallas DS1821 thermometer
Decimal routines
PIC16F84 pulse mon date/time RS232 serial port
PIC16F84 TRIAC / IGBT 50/60Hz control
Phase Controller for 2kW heater
Dallas DS1821 three-pin digital thermostat
Gym Timer
LCD and keypad project
Heater Project
dsPIC30Fx “Hello World” example
dsPIC30Fx “RC Pulse” example
C driver code project for Samsung KS0713 and PIC micros
PIC18LF4550 with LCD and temperature sensor
MiniBasic example peripheral code in C, for PIC18, PIC24, PIC32
Interrupt driven serial
Tiny threads example

Source: microchipc.com Microchip C Sample Code Hi Tech C Example Archive Alternative link

Source: MICROCHIP C SAMPLE CODE HI TECH C EXAMPLE ARCHIVE

  • What microcontroller series are covered in these sample projects?
    The projects cover the PIC12x, PIC16x, PIC18x, PIC24x, and dsPICx microcontroller series.
  • Can I find USB serial port code for the PIC18F4550?
    Yes, a CRC USB serial port example is listed specifically for the PIC18F4550.
  • Are delay routines available for different PIC cores?
    Delay routines in C are provided for both the PIC16Fx core and the PIC18Fx core.
  • Which microcontrollers support bootloader examples in this list?
    Bootloader examples are available for PIC16F876, PIC18F1320, PIC18Fx52, PIC17C4x, and all variants of dsPIC.
  • Does the archive include projects for temperature sensing?
    Yes, it includes projects using the Dallas DS1821 three-pin digital thermometer and thermostat.
  • Is there code for controlling motors or heaters?
    Yes, the list contains a TRIAC controller, an IGBT 50/60Hz control project, and a phase controller for a 2kW heater.
  • Are Real-Time Operating System (RTOS) examples included?
    Yes, the archive includes multitasking and RTOS examples along with tiny threads examples.
  • Can I use these codes with the Samsung KS0713 display?
    Yes, C driver code is provided for the Samsung KS0713 combined with PIC micros.
Beginner Tutorials · PIC18F4550

PICDEM FS USB CDC Evaluation Board using PIC18F4550 with Proteus Simulation

Introduction The PICDEM FS USB CDC Evaluation Board is a practical microcontroller project built around the PIC18F4550, designed to demonstrate USB communication...

Peripheral Tutorials · PIC18F4550

PICDEM FS USB Mass Storage Device using PIC18F4550 with Proteus Simulation

Introduction This microcontroller project demonstrates how to simulate a USB Mass Storage Device (MSD) using the PIC18F4550 in a Proteus simulation environment....

Development Boards & Kits · PIC18F2550

Pinguino Project: A PIC Microcontroller Based Arduino

This is a complete tutorial to make a PIC Microcontroller based Arduino. This is a complete tutorial to make PIC microcontroller based...

Peripheral Tutorials

Hands-On Digital I/O Lab with PIC18F46K22 Microcontroller

PIC18F46K22 Microcontroller Digital I/O specifically explores the design of simple combinational circuits using the digital I/O capabilities of the PIC18F46K22 microcontroller. Moving...

Peripheral Tutorials

Design for manufacturing and assembly: DFA&DFM

Product developers understand the challenges involved in creating a market-ready product. Even experienced designers often go through multiple prototype iterations before reaching...

Peripheral Tutorials · PIC16F877A

Keypad 4×5 for microcontrollers v. 1.1 using PIC16F877

What's this? The circuit here described is a simple 4x5 keypad that can be used in particular with the PIC 16F877 microcontroller,...

Muhammad Bilal

Muhammad Bilal

I am a highly skilled and motivated individual with a Master's degree in Computer Science. I have extensive experience in technical writing and a deep understanding of SEO practices.