Code
The Honeywell HMC5883L is a surface-mount, multi-chip module designed for low-field magnetic sensing with a digital interface for applications such as lowcost compassing and magnetometry. The HMC5883L includes our state-of-theart,.
MCP4725 is a single channel, 12-bit, voltage output Digital-to-Analog Converter with integrated EEPROM and an I2C Compatible Serial Interface. Features 12-Bit Resolution On-Board Non-Volatile Memory (EEPROM) ±0.2 LSB DNL (typ).
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.
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.
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..