DIY Digital Clock with Temperature Display using PIC Controller

jojo December 31, 2014 6 Comments
One of the most enjoyable part of being an electronics person is creating your own gadgets and using them in daily life. In this article, we are building one of those with the help of SoloPCB design tools, a digital desk clock with temperature display feature.   The brain of the circuit is a Microchip PIC18F252 microcontroller. It acquires precise time information from DS1307 real time clock via I2C interface and displays it on four digit 38 mm seven-segment...
read more

Digital Count Down Timer using PIC Microcontroller

mithun_das October 3, 2013 17 Comments
In this article, our author Mithun has developed a 0 – 99 min counter using PIC microcontroller 16F628A. So basically this is a digital count down timer ideal for engineering and diploma students for their project requirements. We have given complete circuit diagram of the digital count down timer along with full source code. In addition, photographs of the breadboard setup is uploaded. Every micro controller has a timer unit inside. A timer is nothing more than a time...
read more

Digital Voltmeter using Micro Controller PIC16F73A

mithun_das October 2, 2013 11 Comments
In this article, we have come up with a new PIC micro controller project. Our author Mithun has created a Digital Voltmeter Circuit using PIC16F73A and multiplexed 7 segment displays. The circuit is well explained with diagrams and the source code (written in Embedded C language) is available for download.  If you have any doubts while implementing this project, please feel free to ask in comments. Note:- You may also like to read our Digital Voltmeter using 8051 created...
read more

Transmitting data from PC to LCD using UART of PIC16F628A

Anish July 17, 2012 12 Comments
Our world relies upon Communication. In today’s world, we can make almost anything communicate with everything! How about communication between a PC and a microcontroller (PIC)? Now, before making a PC and a PIC talk, if you are not sure about USART module and LCD, here are some good articles about them to just refresh: 1. PIC USART module – CT 2. A note on character LCD displays – CT In layman terms, a USART module in a PIC...
read more

Working with MPLAB IDE

Anish June 5, 2012 No Comments
Introduction to MPLAB IDE – What is it and how to install it? The above link takes you to the article about introduction to MPLAB IDE, in case if you have missed it. Having installed MPLAB IDE and one or more compiler suite, this article describes how to compile a program and extract the .hex file to program our chip. I will be using C language in this tutorial as it is requested by one of our CT readers...
read more

Introduction to MPLAB IDE

Anish June 5, 2012 No Comments
Similar to Atmel’s AVR studio, Microchip MPLAB is a feature rich IDE which integrates compiler tool-chains into the IDE itself and also supports proprietary programming devices and debuggers for the Microchip’s Controller family. Just if you have a microchip programmer such as Pickit2 or ICD2, then just plug it to the computer and all you need is to prepare your code in the MPLAB IDE and then straight away build and download the code into your controller. Downloading MPLAB...
read more

Timers and Interrupts (PIC16F84A)

Anish June 5, 2012 1 Comment
Timer Module: A Timer is a simple module included along with almost most of the microcontrollers. A timer can be used as a timer/counter. The size of the timer varies from controller to controller. The PIC16F84A has one 8 bit timer module. The very basic operation of a timer is to count and nothing else!. In the timer mode, the module will increment automatically for every instruction cycle (instruction cycle is not same as the clock cycle) and in...
read more

PIC16F84A – Instruction Set (Continued)

Anish June 5, 2012 1 Comment
Having known about the byte oriented file register operation, only two categories are remaining – the bit oriented file register operations and the control operations. Bit-oriented file register operations: Here these instructions are used when a single bit needs to be affected/changed/checked. There are only four bit-oriented instruction for the 16F84A Mnemonics & Operands Description BCF f,b Bit clear f (b represents the bit to be cleared in the specified register) BSF f,b Bit set f BTFSC f,b Bit...
read more

PIC16F84A – Instruction Set

Anish June 5, 2012 1 Comment
The instruction set of PIC16F84A has 35 instructions .These instructions are otherwise called Mnemonics. While introducing about the PIC16F84A till the hello world program,  7 instructions are introduced to you which were, BSF – bit set f BCF- bit clear f MOVLW – move literal value to W-register MOVWF – move contents of W-register to file GOTO – go to the address BTFSS –  Bit test f, skip if set DECFSZ...
read more

PIC16F84A – The Hello World program.

Anish June 5, 2012 2 Comments
The previous posts about PIC16F84A explained about controlling the GPIO(General Purpose I/O) pins of the IC. Previously laid circuits explained only about how to switch on or off an LED. You just simply set the desired pin to output and then send a high/low signal to switch on/off the LED. Now, in this post, let us implement the blinking of LED – “The hello world program of embedded electronics” . So what do you do to make an LED...
read more