Category Archives: Arduino Tutorials

Matrix Keypad Interfacing with Arduino

The keyboard matrix is the arrangement of circuit connections between the keyboard controller and all the keys on the keyboard. Each key does not have its own dedicated circuit; instead, each key is placed at the intersection of a matrix row and a matrix column. The keyboard repeatedly applies current to each column in turn, and checks to see which rows output current. From this, the keyboard can deduce which keys in that column have been depressed. The matrix takes the form of a printed circuit, either on a conventional PCB, or on membrane sheets. Continue reading Matrix Keypad Interfacing with Arduino

16×2 LCD Display interface with Arduino

Introduction

In this tutorial we will learn How to interface 16×2 LCD display using Arduino UNO. LCD displays available in various sizes 8×1, 16×1, 16×2, 16×4, 20 Char x 4 Lines. These all displays can be interfaced using this tutorial. We are more focusing on 16×2 LCD. It is commonly used.

Continue reading 16×2 LCD Display interface with Arduino

Sound Level Measurement using Arduino

Sound Level Measurement

Using sound sensor we detect ambient sound. This board along with the microphone, has a small built-in amplifier (integrated circuit LM386), because only the microphone would not be able to send signal to Arduino. The connection scheme is very clean, composed of only 3 pins: Vcc, GND and S (signal). In the middle of the plate, there is a potentiometer for sensitivity adjustment. Continue reading Sound Level Measurement using Arduino

Arduino Rotary Encoder Module KY-040

The Keyes KY-040 Rotary Encoder

The Keyes KY-040 rotary encoder is a rotary input device (as in knob) that provides an indication of how much the knob has been rotated AND what direction it is rotating in.

It’s a great device for stepper and servo motor control.  You could also use it to control devices like digital potentiometers.

Rotary Position Measurement

A rotary or “shaft” encoder is an angular measuring device. It is used to precisely measure rotation of motors or to create wheel controllers (knobs) that can turn infinitely (with no end stop like a potentiometer has). Some of them are also equipped with a pushbutton when you press on the axis (like the ones used for navigation on many music controllers). They come in all kinds of resolutions, from maybe 16 to at least 1024 steps per revolution. Industrial encoders come from 1200PPR to 10000PPR (Pulse per revolution). Continue reading Arduino Rotary Encoder Module KY-040

Water Level Measurement Using Arduino

Water Level Measurement

Here we discuss on low cost continuous liquid level monitoring system based on MPX5010DP differential pressure sensor. Most of the traditional measuring systems were designed and implemented by complicated hardware circuitry. It made the product expensive, with low functionality and with limited precision. With virtual measurement technology, more of the instrument can be substituted by software. Using this approach the cheaper and more versatile measurement system can be developed. The method for obtaining liquid level with one differential pressure sensors MPX5010DP Continue reading Water Level Measurement Using Arduino