Chapter 5

Simple PIC18 Projects

Abstract

This chapter is about basic microcontroller projects using the popular PIC18F45K22 microcontroller. It is recommended that this chapter should be read first before moving to more complex projects in the next chapters. The projects are designed using both the mikroC Pro for PIC compiler and the MPLAB XC8 compiler. The projects in this chapter are based on light emitting diodes (LEDs), liquid crystal displays, multiplexed 7-segment LEDs, and sound. The complete hardware and software details of each project are given. All the projects have been fully tested and are working.

Keywords

Basic microcontroller projects; Chasing LEDs; Complex flashing LEDs; Digital thermometer; Generating sound; LED dice; LED voltmeter ...

Get PIC Microcontroller Projects in C, 2nd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.