PIC Microcontroller MikroC Tutorials.
MikroC is the best compiler for beginners as it provides a lot of built in libraries. A beginner can do projects without knowing more about hardware.

GLCD

Interfacing GLCD with PIC Microcontroller

I have already posted about Interfacing character LCD with PIC Microcontrollers. By using GLCD (Graphical LCD) we can present information in a better and user friendly way by using any patterns or shapes. Graphical LCDs are preferred where both character and graphical representation are required. Compared to Character LCD, GLCD is a bit complex and we need a powerful graphic library. MikroC PRO for PIC Microcontrollers provides powerful built in libraries for that. GLCD  MikroC Pro – Graphic LCD Library MikroC Pro for PIC [...]

Read more...
PIC 18F Microcontrollers

Getting Started with PIC 18F Microcontroller – MikroC

In this tutorial we will learn how to program PIC 18F Microcontrollers using MikroC Pro compiler. I hope that you already know the basics of PIC Programming using MikroC compiler. If you are a beginner to this field, please read our first tutorial Blinking LED using PIC Microcontroller – MikroC. There are a lot of advantages for PIC 18F microcontrollers compared to 16F. Some of them are given below.PIC 18F is optimized for C while PIC 16F is not. PIC [...]

Read more...
HC-SR04 Ultrasonic Sensor

Interfacing HC-SR04 Ultrasonic Sensor with PIC Microcontroller

HC-SR04 Ultrasonic Distance Sensor is a popular and low cost solution for non-contact distance measurement function. It is able to measure distances from 2cm to 400cm with an accuracy of about 3mm. This module includes ultrasonic transmitter, ultrasonic receiver and its control circuit. HC-SR04 module has 4 pins :VCC – 5V, +ive of the power supply TRIG – Trigger Pin ECHO – Echo Pin GND – -ive of the power supplyTRIG and ECHO pins can be used to interface this module with a microcontroller unit. These are [...]

Read more...
EM-18 RFID Reader Module

Interfacing EM-18 RFID Module with PIC Microcontroller

EM-18 RFID Reader Module is the one the most commonly used module for Radio Frequency Identification Projects. It features Low Cost, Small Size, Low Power Consumption and Easy to use. It can be directly interfaced with microcontrollers using UART communication. Software UART can be used for microcontrollers having no UART modules. In this tutorial we will see How to Interface EM-18 RFID Reader Module with PIC 16F877A Microcontroller. By understanding the basic idea, you will be able to interface it [...]

Read more...
LCD Custom Characters

Custom Characters on LCD using PIC – MikroC

I hope that you already go through our tutorial, Interfacing Character LCD with PIC Microcontroller – MicroC Pro. These character based LCDs are commonly made using HD44780 compatible controllers. It allows us to define 8 custom characters in addition to the standard pre-programmed characters. In this tutorial we will learn to define our own custom characters using MikroC compiler. DDRAM, CGROM and CGRAM CGROM – Character Generator ROM This is the memory which holds 5×8 or 5×10 dot patterns of predefined characters [...]

Read more...