Button Debouncing using PIC16F84 Microcontroller

I apologise for the tardiness of this article; for the next little while, I will probably have to scale them back to once every two weeks or so. The reason is that I am proof reading the "Galley Proofs" of my new book, "PC PhD". This book discusses the PC's hardware and how to develop interfaces (along with the required software) for it. I'll be putting more information about it on my web page as the August ...

Read more

PICMicro Project using PIC16F84 Microcontroller

In the past two weeks, I discussed the prerequisits for starting your first application and the issues surrounding PICMicro programmers and what to look for. With this background, I am now ready to present what I think is a good first application for somebody learning about the PICMicro. This circuit is not as simple as what I started with in "Programming and Customizing the PIC Microcontroller", but can be ...

Read more

PIC12F675 Microcontroller Tutorial

A tutorial on the 12F675 PIC microcontroller which shows you how to program and use it with a series of projects starting out with a simple LED flasher and progressing on to more advanced projects. To use the tutorial files you need to have a PIC programmer with an ICSP output connector and the components shown in each tutorial.   You don't have to install the compiler as hex file is contained in the downlo ...

Read more

How to interface GSM Module with PIC18F4550 Microcontroller

The Global System for Mobile (GSM) communication is the Second Generation of mobile technology. Although the world is moving towards Third and Fourth generation but GSM has been the most successful and widespread technology in the communication sector. GSM technology paved a new way for mobile communication. This project explains the interfacing of a GSM Module with a PIC microcontroller. It also covers a w ...

Read more

PIC16 Microcontrollers Video Tutorial Series

Lecture on "Intro to Microprocessors" using Wilmshurst's "Designing Embedded Systems with PIC Microcontrollers" Chapter 1, sections 1-3 Topics: What is an Embedded system?, Embedded examples, CISC vs. RISC, Memory: Volitile vs. non-volitile, Memory Organization: Von Neumann vs. Harvard Chapter 1, sections 4-6 Topics: Microcontrollers vs. Microprocessors, Microcontroller families, Microchip Inc. History and ...

Read more

Counting on the 7-segment display

This experiment uses the push-button to increment the count on the 7-segment display. The count-value is stored in a file and this value is incremented by the program each time the push button is pressed. The count-value is used to look-up a table to pick up the display-value for the 7-segment display. Additional experiments on the website include a count-down routine, a 00 to 99 counter using a single disp ...

Read more

Seven segment display 4 digit For CSS Compiler

#include <16F877.h> #device adc=8 #fuses NOWDT,HS, NOPUT, NOPROTECT, BROWNOUT, NOLVP, NOCPD, NOWRT, NODEBUG #use delay(clock=4000000) #define sw_up pin_a0 // SWITCH UP #define sw_down pin_a1 // SWITCH DOWN INT16 COUNT; int8 A,B,C,D; //int8 segment[10] ={ 0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90};//common anode int8 num[10] ={ 0x3F,0x06,0x5B,0x4F,0x66,0x6D,0x7D,0x27,0x7F,0x6F};//common cathode ...

Read more

Stepping Motor Control For CSS Compiler

#include <16F877.h> #fuses XT,NOLVP,NOWDT,NOPROTECT #use delay(clock = 4000000) #use fast_io(A) #use fast_io(B) byte num[5] = {0x00,0x01,0x02,0x04,0x08}; int8 disp,i; void Forward(){ for(i=0; i<=4;i++){ disp =num[i]; output_b(disp); delay_ms(200); } } void Backward(){ for(i=4;i>0;i--){ disp =num[i]; output_b(disp); delay_ms(200); } } void Stop(){ disp =0; output_b(disp); delay_ms(50); } void mai ...

Read more

PIC Microcontrollers by Milan Verle

[button color="red" font="georgia" fontw="bold" align="right"]It's a Free E-Book[/button] Book Introduction: If you haven't done it so far then it's high time to learn what microcontrollers are and how they operate. Numerous illustrations and practical examples along with a detailed description of the PIC16F887 microcontroller will make you enjoy your work with PIC MCUs. Title: PIC Microcontrollers Author: ...

Read more
Scroll to top