Author - Ligo George

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

Read Modify Write Problem with Mid-Range PIC Microcontrollers

RMW Problem with PIC 16F Family Microchip's mid-range PIC Microcontrollers use a sequence of operations : Read, Modify and Write to change output state of a pin. In certain circumstances RMW operations might cause unexpected behavior of outputs. You might have already experienced this issue and struggled with it as you can't find exact reason with microcontrollers unexpected behavior. Mid-Range PIC Microcontroller uses two registers, TRIS and PORT to control the direction and status of an IO pin respectively. When you try...

Zero Drop Solar Priority Charger – Technology Transfer

Zero Drop Solar Priority Charger & Inverter This is a professionally designed intelligent solar priority charge controller. This device automatically cuts AC mains and run in the inverter mode when there is solar power. So the load will run by the power generated by solar panel array. It will automatically switch to AC mains when the battery voltage drops to 30% or solar power vanishes. It is very userfriendly and can work with LCD and/or LED indications. It can work with both...

Configuration Bits in Mid-Range PIC Microcontrollers

Device Configuration Bits allows the programmer to adjust certain condition that determines the operation modes of the microcontroller. That is the state of Configuration Bits determines the mode in which device operates when it is powered. These configuration bits are mapped in the program memory location 2007h. This location can't be accessed during normal operation and can be accessed only at the time of programming. Their placement is automatically taken care by the device programmer or ICSP programmer. Hence selection...

Getting Started with PL2303 USB to UART Converter

USB to UART Converter is a very useful tool for Embedded Systems. If you haven't one, please try to buy it. It will definitely boost development speed of projects which uses UART modules like interfacing GSM, GPS, Bluetooth, Wi-Fi ...  By using it we can easily study these modules by sending data directly from your PC and analyzing the received data in your computer display without programming a microcontroller. Here we will use PL2303, one of the most popular USB...

Generating PWM with PIC Microcontroller using Hi-Tech C

PWM (Pulse Width Modulation) is a powerful technique used to generate analog voltage using digital signals. It has a wide variety of applications such as controlling average power delivered to a load, generating analog voltage level, sine wave generation and DC Motor speed control. PWM signals are ON-OFF signals (hence the name Pulse) whose ON duration are changed (hence Width Modulation) according to our requirements. The fraction of time period for which the signal is ON to total time period is...

Condenser Microphone

Condenser Mic You might know that Condenser means Capacitor, the electronic component which stores electrical energy in the form of electrostatic field. As the name indicates the condenser microphone uses a capacitor to convert sound (pressure variations) to electrical signals. Hence it is also called Electrostatic Microphone. We all know that a capacitance will be created when two parallel plate conductors are separated by a distance. The created capacitance will be directly proportional to the area of the plates and inversely...

Using UART of PIC Microcontroller – Hi Tech C

UART stands for Universal Asynchronous Receiver / Transmitter. It is a serial communication interface which uses two lines for sending (TX) and receiving (RX) data. As its name indicates it is an asynchronous communication interface, which means it doesn't need to send clock along with it as in synchronous communications. UART is the communication standard of our old computer's RS-232 serial port. Most of the Microchip's PIC Microcontrollers have built in USART Module. USART stands for Universal Synchronous Asynchronous Receiver...

>