Tuesday , February 21 2017
Home / Tag Archives: interface

Tag Archives: interface

Interfacing 16×2 LCD with C2000 launchpad

c2000_lauchpad

  The C2000 Launchpad is an inexpensive evaluation module based on Piccolo family microcontrollers from Texas Instruments (TI). The famous one is TMS320F28027 Digital Signal Controller (DSC). This DSC is indented for real time control and digital signal processing applications. If you wanna learn about digital signal controllers, I would recommend this as the starting point. More information about the C2000 Launchpad can be found at TI website. There is CCS (Code Composer Studio) IDE for programming and debugging the …

Read More »

Basics of DC Motor Drive and Speed Control for Robots

dc motor

DC motors are really cheap and can be found very easily. In this post we will discuss the basic theory behind the DC motor drive system and its speed control. Having some basic understanding of how your motor driver works will play a key role in building your own circuits debugging them. The main advantage is that, they are really easy to interface. Hook the wires on to the battery terminals and they will work just fine. The direction of rotation …

Read More »

Interface 4×4 Matrix Keypad With Microcontroller

In this post we will discuss logic and interface of a matrix keypad (4×4 for this post) with microcontroller to reduce the number of port pins required to read a certain number of inputs (digital). The same logic applies to any matrix keypad of order NxN. Where, N is the order of the matrix. Why Matrix Keypad? Typically one port pin is required to read a digital input into the controller. When there are a lot of digital input that has …

Read More »

Interface 7 Segment Display with Microcontroller

The 7 segment display is widely used to display numeric data. They are limited by the number of segments (LEDs) they have and hence are not suitable for displaying text. There are some variants of this kind of displays that have 11 segments which enables them to display text also. This post will deal with the basics of 7 segment displays and how to interface them with microcontrollers. As the name suggests, there are 7 segments to display a number …

Read More »

Stepper Motors – Introduction and Working Principle

Stepper motor is a specially designed DC motor that can be driven by giving excitation pulses to the phase windings. They cannot be driven by just connecting the positive and negative leads of the power supply. They are driven by a stepping sequence which is generated by a controller. The motor moves in steps according to this sequence. This post will discuss the basic theory behind the stepper motors. Printers are a great source for stepper motors. Old dot matrix …

Read More »

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 »

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 »

Timer / Counter Module – A Controller Independent Guide

timer

In this post I intend to provide a standalone, controller independent, Guide to Timer / Counter Module in Microcontrollers. The concepts explained are not associated with any one particular controller which might not be useful for all readers. To an extent this is an independent post but little exposure to Interrupts and how they work is a prerequisite, which may not be within the scope of this post. But otherwise this post should have everything you need to know about …

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.