The PCF8574 is an 8 bits I/O port expander that uses the I2C protocol. Using this IC, you can use only the SDA and SCL pins of your Arduino board to control up to 8 digital I/O ports. A0,A1,A2 are address…
arduino
-
-
I purchased this module as part of a microcontroller kit, its an interesting little module as it has 16 buttons but with only 1 I/O line is required, an analog input. You connect this to your Arduino and read in the…
-
In this example we connect a DHT11 sensor our Arduino, again we will display the temperature and this time the humidity as well on our LCD4884 shield. In this example we connected the data pin of the DHT11 to Pin…
-
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…
-
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 HC-SR04 Ultrasonic Sensor uses sonar to determine distance to an object like bats or dolphins do. It offers excellent non-contact range detection with high accuracy and stable readings in an easy-to-use package. From 2cm to 400 cm or 1” to…
-
This example switches on all the LEDs on a 8×8 LED matrix, the matrix is controlled by a MAX7219 Typically you will get these in kit format or they may be assembled, here is a picture of a typical…
-
In the following example we will demonstrate the HC-SR501 PIR sensor, this sensor has many nice features including the ability to be driven by 5v, low cost (£2 to £3), it has a decent range (7 metres) and a fairly small size. These…
-
A reed switch is a small device that when the device is exposed to a magnetic field, the two materials inside the switch pull together and the switch closes. When the magnetic field is removed, the two materials then separate…
-
In this example we will show a basic example of connecting a DHT11 Temperature and Humidity Sensor to your Arduino. This is a very nice little, low cost sensor which requires only a pull up resistor to VDD. This can…
-
The DS18B20 is a temperature sensor that can be used in various simple projects. This part uses the 1 wire (I2C) bus and you can connect multiple sensors up to your Arduino. The DS18B20 digital thermometer provides 9-bit to 12-bit Celsius…