Edition 5 of LHFSD [ISBN 978 606 92185 32] has been specifically designed to become an educational/pedagogical manual for teachers, instructors, and also for ordinary citizens. Have no fear, dear readers: LHFSD is still addressed to beginners, since EVERYTHING starts from a white page, and then things are developed/explained only gradually [and logically], step by […]
Projects
Using Serial Peripheral Interface (SPI) with Microchip PIC18 Families Microcontroller
The Serial Peripheral Interface (SPI) is one of the popular embedded serial communications widely supported by many of today’s chip manufacture and it considered as one of the fastest serial data transfer interface for the embedded system. Because of its special in/out register configuration, the SPI master device could transfer its data and at the […]
Basic Servo Motor Controlling with Microchip PIC Microcontroller
The servo motor is widely used in model hobbyist such as airplane R/C model for moving the rudder, ailerons, elevators and acceleration control or in the car R/C model for steering and acceleration control. In this tutorial we will learn how to control the servo motor as well as the simple close loop control algorithm […]
PIC LICK-1 using PIC16F84 Microcontroller
This module is so simple, I’m surprised it has not been thought of before. You can fit a PIC16F84A or PIC16F628 and it becomes a “buffered PIC chip.” Look at the circuit diagram first to see what the module is doing. It’s buffering 5 of the input lines with a 1k resistor and buffering 8 […]
PIC-based Digital Voltmeter (DVM)
Introduction This project will describe how to make a simple digital voltmeter (DVM) using a PIC16F688 microcontroller. The range of this DVM is 0-20V, but you can easily increase or decrease the range of input voltage as your requirements after you understand the voltage scaling method described in this project. The PIC micro reads the […]
A Digital temperature meter using an LM35 temperature sensor
Introduction A digital thermometer is a good choice of project for beginners who just stepped in to the world of microcontrollers because it provides an opportunity to learn using sensors to measure the real world signals that are analog in nature. This article describes a similar project based on a PIC16F688 microcontroller and an LM35 […]
How to work with External (Hardware) Interrupts of PIC18F4550
Interrupts are special events that require immediate attention. They cause the processor to cease the running task to serve a special task for which the interrupt event had occurred. After the special task is over, the processor resumes performing the original task. The processor can also serve these events by polling method. But polling is […]
AquaCont – Aquarium Control using pic microcontroller
The AquaCont is an electronic system witch permits to manage and to monitor most of the parameters of all the electrics devices that can be found in a aquarium. The PIC18F4520 used to realize it, combines a real time clock and a temperature sensor in order to control 8 relays. The system main characteristics are: […]
How to interface 16×2 LCD in 4-bit mode with PIC18F4550
The 16×2 character LCD can work in two modes, namely, 8-bit and 4-bit. These modes basically correspond to the number of data pins used in interfacing LCD. 8-bit mode uses all the data lines and has been explained in LCD interfacing with PIC18F4550. In 4-bit mode, only four data pins of LCD are connected to […]
Heart rate measurement from fingertip
Heart rate measurement indicates the soundness of the human cardiovascular system. This project demonstrates a technique to measure the heart rate by sensing the variation of the blood volume inside a finger artery, which is caused by the pumping action of the heart. It consists of an infrared LED that transmits an IR signal through the fingertip […]