Automatic School College Bell using PIC Microcontroller

Automatic School / College Bell using PIC Microcontroller

Here we are sharing a fully automatic and configurable bell which can be used in schools and colleges. It is made using commonly available microcontroller and other components. Components RequiredPIC 18F4550 16×2 LCD Display DS1307 or DS3232 32.768 kHz Crystal 16 MHz Crystal 4.7K Resistor – 7 10K Resistor 10K Preset 22pF Capacitor – 2 100nF Capacitor 4×4 Keypad 680R Resistor LED – 1 3V CMOS Battery BC548 1N4148 Relay (5V/12V)Circuit Diagram Automatic College Bell using Microcontroller – Circuit Diagram How to connect the Bell ? Program The microcontroller program is written using MikroC Pro compiler. #define MENU_KEY 'D' #define SAVE_EXIT '*' #define [...]

Read more...
Home Automation using Bluetooth and Mobile App

Home Automation using Bluetooth and Mobile App

Technology is a never ending process. To be able to design a product using the current technology that will be beneficial to the lives of others is a huge contribution to the community. Generally in today’s modern world human beings are addicted to using modern equipment. So here we can perform home automation by using an Android App and Bluetooth as a wireless communication medium. Home automation not only refers to reduce human efforts but also energy efficiency and time [...]

Read more...
PIC Microcontroller - SPI

SPI Communication with PIC Microcontroller – MPLAB XC8

SPI (Serial Peripheral Interface) is a full duplex synchronous serial communication interface used for short distance communications. It is usually used for communication between different modules in a same device or PCB. SPI devices communicates each other using a master slave architecture with a single master.SPI CommunicationSPI is called as a 4-wire bus as it requires four wires for its communication as shown above. In the case of single slave communications we need only 3 wires, as slave select (SS) [...]

Read more...
I²C Bus Logo

I²C Communication with PIC Microcontroller – MPLAB XC8

I2C or IIC or I2C stands for Inter-Integrated Circuit. It is a very popular multi-master, multi-slave serial communication interface developed by Philips. I2C uses two bidirectional open drain data lines, Serial Data (SDA) and Serial Clock (SCL) with pull up resistors as shown below. Unlike UART, you can connect and communicate to multiple devices using the same I2C bus.I2C CommunicationI2C is a master slave protocol. It means that devices connected to I2C bus will be either master or slave. The master is [...]

Read more...
Analog to Digital Converter

Using ADC of PIC Microcontroller – MPLAB XC8

In this tutorial we will learn, how to use the ADC module of a PIC Microcontroller using MPLAB XC8 compiler. For demonstration we will use the commonly available PIC 16F877A microcontroller. Every physical quantity found in nature like temperature, humidity, pressure, force is analog. We need to convert these analog quantities to digital to process it using a digital computer or a microcontroller. This is done by using Analog to Digital Converters. An Analog to Digital Converter or ADC is a [...]

Read more...
PWM - Pulse Width Modulation

Generating PWM with PIC Microcontroller – MPLAB XC8

Pulse Width Modulation (PWM) is the one of the simple and most commonly used technique to produce analog voltages from digital signals. It has a wide variety of applications such as Digital to Analog Converter (DAC), DC Motor Speed Control, Sine Wave Inverters, Brightness control etc. PWM signals are ON – OFF signals (HIGH or LOW) (hence the name Pulse) whose HIGH or ON duration is changed (hence Width Modulation) in accordance with our requirements. The fraction of time period [...]

Read more...
LCD Custom Characters

Custom Characters on LCD using PIC – MPLAB XC8

I hope that you already go through our tutorial, Interfacing LCD with PIC Microcontroller – MPLAB XC8. HD44780 compatible controllers used in these LCDs allows us to define 8 custom characters in addition to the standard pre-programmed characters. In this tutorial we will learn, how to create custom characters on LCD using PIC Microcontroller and MPLAB XC8 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 in [...]

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...