Posts by Ibrar Ayyub:
PIC18F452 UART code and Proteus Simulation
Posted on: 17 Aug 2022
This post provides the UART code (compiled in MPLAB + HI-TECH C) for PIC18F452 (e-g to connect PIC18F452 controller with PC using serial adapter). Complete project code and the proteus simulation can be downloaded from the Downloads section at the bottom of this post. The following diagram shows the required circuit. A crystal of 10MHz is used with PIC18F452. […]
PIC18F452 PWM Code and Proteus Simulation
Posted on: 16 Aug 2022
This post provides the PWM code (using C language) and Proteus simulation for PIC18F452 micro-controller CCP1 and CCP2 modules ( written using MPLAB and HI-TECH C18 compiler ). There are many uses for PWM signals, e-g you can control dc motor speed using PWM. CCP is the name for the built in PWM module in […]
PIC12F675 LED blinking code and Proteus simulation
Posted on: 16 Aug 2022
This post provides the code to make an LED blink using PIC12F675 microcontroller. This code is written in C language using MPLAB with HI-TECH C compiler. This code is intended to be the first step in learning how to use PIC12F675 microcontroller in your projects. You can download this code from the ‘Downloads‘ section at […]
Simple Digital Voltmeter (DVM) using PIC12F675 (Code+Proteus simulation)
Posted on: 15 Aug 2022
This post provides a simple digital voltmeter circuit using PIC12F675 microcontroller. This code is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the ‘Downloads‘ section at the bottom of this page. In this post, it is assumed that you know, How to use ADC of PIC12F675 microcontroller. If you […]
PIC12F675 PWM Code and Proteus Simulation
Posted on: 15 Aug 2022
This post provides the PWM code for PIC12F675 microcontroller using timer0. There are many uses for PWM signal, e-g you can control dc motor speed using PWM. Timer0 is initialized in the start of the main function and using timer0 interrupts, PWM is generated. This code is written in C language using MPLAB with HI-TECH C compiler. You […]
PIC12F675 based digital clock using LCD display (Code + Proteus simulation)
Posted on: 14 Aug 2022
This post provides a simple digital clock implementation using PIC12F675 microcontroller and an LCD display. This code is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the ‘Downloads‘ section at the bottom of this page. In this article, it is assumed that you know, How to interface LCD with […]
PIC12F675 based simple calculator ( Code + Proteus simulation )
Posted on: 14 Aug 2022
This post provides a simple calculator project implementation for PIC12F675 microcontroller. This is a simple one digit[1] calculator which implements only 4 functions addition(+), subtraction(-), multiplication(x) and division(/). The code for PIC12F675 is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the ‘Downloads‘ section at the bottom of this page. […]
How to use PIC12F675 GPIO pin as input (Code + Proteus simulation)
Posted on: 13 Aug 2022
This post provides an example code to use PIC12F675 GPIO pins as inputs. After going through this example, you will understand how to make PIC12F675 pins as inputs and how to read their value in the code. This code is written in C language using MPLAB with HI-TECH C compiler.You can download this code from […]
PIC16F84A LED blinking code and Proteus simulation
Posted on: 13 Aug 2022
This post provides the code to make an LED blink using PIC16F84A microcontroller. This code is written in C language using MPLAB with HI-TECH C compiler. This code is intended to be the first step in learning how to use PIC16F84A microcontroller in your projects. You can download this code from the ‘Downloads‘ section at […]
PIC16F84A PWM code and Proteus simulation
Posted on: 12 Aug 2022
This post provides the PWM code for PIC16F84A microcontroller using timer0. There are many uses for PWM signal, e-g you can control dc motor speed using PWM. Timer0 is initialized in the start of the main function and using timer0 interrupts, PWM is generated. This code is written in C language using MPLAB with HI-TECH C compiler. You can download […]