We already learn how to interface LCD and keypad to microcontroller. In this topic we cover some math calculation in C and build a function for calculating the basic parameter. This a simple calculator to display value. Here 4×4 matrix keypad is used. Our first goal is to display our fist digit and store in […]
Author: admin
Here the RAWs R0 to R3 are connected to the input lines of µC and C0 to C3 are connected to output terminal of the output port. The inputs are active when logic zero that is internal pull up active and the column port are high at that position. The logic is the output port
Water level indicator indicates the level of water in a source. Let’s build a simple program that indicate the level of water of a reserve tank and auto full when the level of water is less than 25%. We use ULN2003A driver IC that we already introduce in stepper motor. Let’s look at the connection
We previously learn about LCD display. In this article we build our own custom character. A standard alphanumeric LCD display has CGRAM area to create user defined patterns. To build a custom pattern we need to write values to the CGRAM area defining which pixel to glow. The values are to be written in the
A LCD display is nothing but a set of pixels. If any character sends to display it only glow the dot pixels that required. Standard alphanumeric LCD display can accept 8bit data bytes or 4bit nibble. In 8bit configuration all the bits of corresponding port is used and in 4bit configuration only four bits are
Stepper motor is an electromagnetic device that converts digital pulses into mechanical shift rotation. It has high simplicity, since no brushes or contacts are presents, low cost, high reliability, high torque at low speed, and high accuracy of motion. Types of stepper motors- Bipolar Stepper Motor Unipolar Stepper Motor The bipolar motor is activated when
The motion sensor can detect motion of an object. This motion sensor module uses the LH1778 passive infrared sensor and the BISS0001 IC to control how motion is detected. There are two variable register to control the sensitivity and time delay adjustment There are two operating mode in the PIR sensor. They are the Low
Due to the persistence of vision our eye can’t distinguish what happen in TV. A full movie consists of numbers of pictures that move so fast that we can’t separate them. We will now make a program in which two 7 segment display on-off too fast that we will see a running digit. In the
Seven Segment display are of two types Common Cathode Common Anode Common Cathode:- In the common cathode type 7 segment displays, the –Ve terminal of all LEDs is connected to the COM pin. A 7 segment can be lightening up when +5v is given to the respective LED segment and ground connected to common. Common
I/O stands for Input/Output function. Example ATmega8 has 23 Programmable I/O Lines that can define as both input and output device. The I/O registers bellow- Let’s build our first program that content DDRx(Data Directions Register x) define the I/O initialization condition. If DDRx-> 1(set) the Output and DDRx-> 0(clear) Input. Conditional operator expression







Visit Today : 122
Total Visit : 28775