What is TWI? TWI stands for Two Wire Interface. We previously learn about segment display (SSD). SSD require many GPIO pin that could be used for any other purpose. We can use only 2 wires for up to 6SSD display at a same time. So only 2GPIO pins can be used for controlling up to […]

The DS18B20 Digital Thermometer provides 9 to 12-bit (configurable) temperature readings which indicate the temperature of the device. Information is sent to/from the DS18B20 over a 1-Wire interface, so that only one wire (and ground) needs to be connected from a central microprocessor to a DS18B20. Power for reading, writing, and performing temperature conversions can

DS18B20(Digital Temperature Sensor) interfacing with GPIORead More »

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

Water Level IndicatorRead More »

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

LCD InterfacingRead More »

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

Stepper Motor ControlRead More »

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

PIR SensorRead More »

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

illusionRead More »