Home / Embedded Systems / PIC Microcontroller (page 2)

PIC Microcontroller

Make a Digital Clock with DS1307 and PIC 18F4520

digital clock lcd

Digital clocks are are very commonly (cheaply) available these days. Some of them have a built in RTC to keep the time running even if the main battery fails and some of them don’t. In either case, for an offline embedded application to get a time stamp, an RTC in almost the only cheap solution solution available. Most of these clocks use a 7-Segment display to display the time and date while some use LCD displays. In this post we will see how to …

Read More »

8 Reasons Why You Should Switch to MPLAB X IDE

The MPLAB X is an IDE for Microchip PIC microcontrollers. It has a lot of added features when compared to the older MPLAB IDE v8.xx. The MPLAB X is not a new version of the current MPLAB IDE v8 framework but is instead based on Oracle‘s open-source NetBeans platform. Old habits die hard they say, that’s exactly what happens when you are migrating from one IDE to another for the same controller, you tend to have a hostile feeling. I still see some people …

Read More »

Interface – LCD in 4 bit Mode: Part 3

LCD in 4 bit mode pin connection

Embedded applications are always developed on controllers whose resources are almost fully used in order to cut the cost of the product. This is done especially in applications that do not need any future expansions or a firmware updates. They are Make-it and Forget-it kind of applications. Most of the time, either the memory or the available pins are in demand. In some cases both memory and pin count are less. The Character LCD in 8 bit mode uses 8 …

Read More »

Programming LCD in 8 bit mode – Part -2

LCD interface setup

This post documents the steps involved in interfacing the LCD in 8 bit mode with a microcontroller. It belongs to a series of 4 posts. If you landed here straight from a search engine here is an index to help you navigate. LCD Module Basic Theory. (LCD Controllers, CG&DD RAM, PIN description,Timing Diagram, Commands) Programming LCDs in 8 bit mode. (programming pic18f4520 in C with C18 compiler under 8 bit mode) Programming LCDs in 4 bit mode. (programming pic18f4520 in C with C18 compiler under 4 bit mode) Creating Custom Characters …

Read More »

Interfacing LCD Module with Microcontroller: Part -1

lcd interface

The LCD module interface with a microcontroller is simple and it is a primitive means of adding a visual appeal to your embedded application. There are two basic types of LCD modules in the market they are, Character LCD and Graphics LCD. Character LCD’s are the some of the cheapest means LCD displays available today. This post is first of a series of four posts that walks through entire process of interfacing an LCD module with a (any) microcontroller with …

Read More »
Keep in touch with the current trends!
Did you like this article? Sign up and get our latest posts delivered to your inbox!
  We hate spam and never share your details.