Projects

DC motor and Fan speed control using Pic16f877 Microcontroller using PWMPulse width modulation Technique

DC motor and Fan speed control using Pic16f877 Microcontroller using PWM(Pulse width modulation) Technique

Here is a simple project on how to control fan or dc motor speed with microchip pic16f877 microcontroller. There are numerous ways to control the speed of motor(or fan). Varying current, voltage and resistance etc. But when it comes to controlling the speed using microcontrollers. Then the PWM (Pulse width modulation) technique is most effective

DC motor and Fan speed control using Pic16f877 Microcontroller using PWM(Pulse width modulation) Technique Read More »

Placing code in a specific Rom Flash Program Memory Address of Microchip Pic Microcontroller

Placing code in a specific Rom/Flash/Program Memory Address of Microchip Pic Microcontroller

Recently i was working with 8-bit pic16f877 microcontroller and i want to place program code at a specific rom(read only memory) location. I was working with xc8 compiler and mplabx ide.  Previously i did this same thing many times while using c18 c compiler. C18 compiler uses #pragma code directives to accomplish this task. But when i

Placing code in a specific Rom/Flash/Program Memory Address of Microchip Pic Microcontroller Read More »

How to display 5×8 and 5×10 size font characters on 16×2 lcd with 8 bit microcontrollers

How to display 5×8 and 5×10 size font characters on 16×2 lcd with 8-bit microcontrollers

Character lcds can display character of font size 5×8 and 5×10. In 5xn, 5 represents number of coulombs and N represents number of rows. Character lcd’s especially which are controlled by Hitachi HD44780 controller can display 5×8 and 5×10 size font character. Some lcd’s can only display character in 5×8 font. In this project i

How to display 5×8 and 5×10 size font characters on 16×2 lcd with 8-bit microcontrollers Read More »

Core PLC Programmable Logic Controller board

PLC (Programmable Logic Controller) with Microchip Pic Microcontroller

An year ago i made a plc (programmable logic controller) using microchip pic microcontroller. Its a 16 bit digital input and output programmable logic controller. Plc programming is done using a standard ladder logic language. The software that is used for plc programming and ladder logic design is an open source compiler written by Jonathan Westhues

PLC (Programmable Logic Controller) with Microchip Pic Microcontroller Read More »

Interfacing Graphical LCDGLCD JHD12864E with Microchip PIC16f877 Microcontroller

Interfacing Graphical LCD(GLCD-JHD12864E) with Microchip PIC16f877 Microcontroller

In this post/tutorial i am going to teach you how to interface graphical lcd jhd12864E with microchip pic16f877 microcontroller. I am going to display my website name “www.microcontroller-project.com” and a special pattern that displays thick lines on dotted graphical lcd display. In graphical lcd name “jhd12864” the number 128×64 means lcd has 128 coulombs and 64 rows.

Interfacing Graphical LCD(GLCD-JHD12864E) with Microchip PIC16f877 Microcontroller Read More »

Pic microcontroller scrolling text – Project circuit

Displaying Scrolling(Moving) text on 16×2 lcd Using Pic16f877 and Pic18f452 Microcontroller

Displaying moving or scrolling text on lcd(16×2,8×1,16×4,8×2,16×1,20×1,20×2 etc) is very easy using any microcontroller. You just need to know how to efficiently use 16×2 lcd commands. In this project i am using pic 16f877 microcontroller to display text and then scroll it on the 16×2 lcd. The lcd which i am using is 16×2. Where

Displaying Scrolling(Moving) text on 16×2 lcd Using Pic16f877 and Pic18f452 Microcontroller Read More »