Arduino and a 7 segment display example

In this example we will connect a 7 segment display to an Arduino. There are 2 types of 7 segment displays, a common anode type and a common cathode type. This example used the common anode type, you can still use a common cathode type but the. Continue reading

Arduino and a numeric keypad

A keypad is a nice simple method of accepting user input into your project. These come in a number of styles and generally there are 2 types a 3x4 keypad and a 4x4 keypad. The numbers stand for the rows and columns, so a 3x4 keypad has 3 columns and. Continue reading

Arduino and a TM1638 module

When I was browsing various web sites to see what electronic components to buy one day I noticed some interesting little kits comprising of switches, LEDs and a couple of 4 digit seven segment displays saw I decided to purchase one, the first thing. Continue reading

Interfacing the 74HC595

Sometimes in your projects you simply do not have enough I/O lines available, take for example a lot of the multiple LED examples, these use 8 outputs to control 8 LEDs via your Arduino UNO, that can restrict the amount of outputs you would have. Continue reading

I2C OLED display example

This example shows how to connect an I2C OLED display to one of my Arduino's. Being relatively small size, requiring only 2 connections SDA and SCL from the Arduino but still having good text and graphical capabilities I snapped a couple up cheaply. Continue reading

MMA7455 accelerometer example

The MMA7455 accelerometer is a sensor that can measure acceleration in three axes. This sensor is commonly available as a breakout board that you can connect to your Arduino. It requires VCC, GND , SCA and SCL to be connected. The MMA7455L is a. Continue reading

Water sensor example

This water sensor is fairly easy to connect this to your Arduino, the requirements are simply VCC (5v), GND and then connect the SIG to one of the Analog pins. In our code example this will be Analog 0. The water sensor indicates whether the. Continue reading

Infrared receiver example

In this example we look at how to connect an IR Reciever. Generally, they require Vcc(5v), GND and there is a data out which you connect to your Arduino. Here is a typical IR showing the pinout. The Infrared Receiver is used to receive infrared. Continue reading

HMC5883L example

The HMC5883L is a 3-axis magnetometer. The most common include usage of the chip is as a digital compass to sense direction or using them to detect ferrous metals. The Honeywell HMC5883L is a surface-mount, multi-chip module designed for. Continue reading

Arduino clock

Arduino Clock In this example we will create a simple clock example using a DS1307 breakout, a keypad/LCD shield and an Arduino Uno The DS1307 real-time clock is a low-power, full binary-coded decimal clock/calendar. Address and data are. Continue reading