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 …
Code
-
-
In this example we connect a photoresistor to a micro:bit, the value read from the photoresistor corresponds to the amount of light present. The photoresistor is connected to P3 in …
-
In this example we will connect an RGB led to our micr:bit, lets look at RGB leds first RGB LEDs consist of one red, one green, and one blue LED. …
-
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. …
-
In this example we will connect a GA1A12S202 Log-Scale Analog Light Sensor to an Arduino. The features of this sensor are as follows Output voltage increases with light on the …
-
The L3GD20 is a low-power three-axis angular rate sensor. This is the module I bought for reference More information can be found at http://www.st.com/content/st_com/en/products/mems-and-sensors/gyroscopes/l3gd20.html about the sensor Features Three selectable full scales …
-
The MMA8451 is a low-power accelerometer with 14 bits of resolution, with the following features: Embedded functions with flexible user-programmable options, configurable to two interrupt pins Embedded interrupt functions for overall …
-
The ADXL345 is a small, thin, low power, 3-axis accelerometer with high resolution (13-bit) measurement at up to ±16g. Digital output data is formatted as 16-bit twos complement and is …
-
The MAX44009 ambient light sensor features an I²C digital output that is ideal for a number of portable applications such as smartphones, notebooks, and industrial sensors. At less than 1µA …