16x2 LCD I2C IIC TWI SPI Serial Interface Adapter

16x2 LCD I2C IIC TWI SPI Serial Interface Adapter

Rs. 59.00
Sale price  Rs. 59.00 Regular price  Rs. 79.00
Skip to product information
16x2 LCD I2C IIC TWI SPI Serial Interface Adapter

16x2 LCD I2C IIC TWI SPI Serial Interface Adapter

Rs. 59.00
Sale price  Rs. 59.00 Regular price  Rs. 79.00

Specification

Description

16x2 LCD I2C IIC TWI SPI Serial Interface Adapter

This is the IIC/I2C Serial Interface Adapter Module.
This is a RoHS-compliant I2C Serial LCD Daughter board that can be connected to a standard 16×2 or 20×4 Character Display Module that supports 4-bit mode. All Character Modules sold on our site support 4-bit mode, and nearly all commercially available 16×2 and 20×4 line character modules support it too.

This board has a PCF8574 I2C chip that converts I2C serial data to parallel data for the LCD display. There are many examples on the internet for using this board with Arduino. Do a search for “Arduino LCD PCF8574“. The I2C address is 0x3F by default, but this can be changed via 3 solder jumpers provided on the board. This allows up to 3 LCD displays to be controlled via a single I2C bus (giving each one its address)

Technical Details

  • Model Type: IIC/I2C Module
  • IC Chip: PCF8574
  • Input Voltage: 5VDC
  • PCB Size: 42mm x 20mm
  • Weight: 4g

Features

  • 5V power supply
  • Serial I2C control of LCD using PCF8574
  • Backlight can be enabled/disabled via jumper on board
  • Contrast control via potentiometer
  • Supports up to 8 modules on a single I2C bus (address change via solder jumpers)
  • Size: 41.6mm x 19.2mm

Applications :

  • Displaying information in embedded systems projects
  • Real-time data output for Arduino, Raspberry Pi, and microcontroller projects
  • Simple user interfaces for electronics projects
  • Digital clocks and timers
  • Temperature, humidity, and sensor data display
  • System status monitoring and feedback
  • Control panels for automation systems
  • Vehicle or robot status display

Integration with Arduino

16x2 LCD I2C IIC TWI SPI Serial Interface Adapter


Sample Code

//https://kitsguru.myshopify.com/products/iic-i2c-twi-spi-serial-interface-board-module
#define VISUINO_ARDUINO_UNO
#include <OpenWire.h>
#include <Mitov.h>
#include <Mitov_StandardSerial.h>
#include <Wire.h>
#include <Mitov_Basic_I2C.h>
#include <Mitov_LiquidCrystalDisplay_I2C.h>
// Shared Component Member Variables
namespace ComponentVariables
{
class
{
public:
uint32_t Value1 : 5;
uint32_t Value2 : 2;
} BitFields;
class Variable1
{
public:
inline static uint32_t GetValue() { return BitFields.Value1; }
inline static void SetValue( uint32_t AValue ) { BitFields.Value1 = AValue; }
};
class Variable2
{
public:
inline static uint32_t GetValue() { return BitFields.Value2; }
inline static void SetValue( uint32_t AValue ) { BitFields.Value2 = AValue; }
};
} // ComponentVariables
// Pin Call Declarations
namespace PinCalls
{
class PinCallerReceive0
{
public:
void Notify( void *_Data );
};
} // PinCalls
// Arduino Board Declarations
namespace BoardDeclarations
{
Mitov::SerialPort<
SERIAL_TYPE, // 0_T_TYPE
Serial, // 1_C_TYPE
Mitov::ConstantProperty<9, uint32_t, 0 >, // AfterSendingDelay
Mitov::ConstantProperty<2, uint32_t, 8 >, // DataBits
Mitov::ConstantProperty<8, bool, true >, // Enabled
Mitov::ConstantProperty<51, uint32_t, 0>, // FEndTime
Mitov::ConstantProperty<50, bool, false>, // FSending
Mitov::GenericPin_EmbeddedPinImplementation<5, ::PinCalls::PinCallerReceive0 >, // OutputPin
Mitov::ConstantProperty<1, Mitov::TArduinoStandardSerialParity, Mitov::spNone >, // Parity
Mitov::DigitalPin_NoImplementation<7 >, // SendingOutputPin
Mitov::ConstantProperty<4, uint32_t, 9600 >, // Speed
Mitov::ConstantProperty<3, uint32_t, 1 > // StopBits
> SerialPort0;
} // BoardDeclarations
// Declarations
namespace Declarations
{
Mitov::LiquidCrystalDisplay<
Mitov::LiquidCrystalDisplayI2C<
TwoWire, // 0_TYPE_PIN
Wire, // 1_NAME_PIN
39, // Address
Mitov::ConstantProperty<14, bool, false >, // AutoScroll
Mitov::ConstantProperty<4, bool, true >, // Backlight
Mitov::ConstantProperty<3, bool, true >, // BacklightPositive
Mitov::ConstantProperty<17, bool, false >, // Blink
Mitov::ConstantProperty<13, bool, true >, // Enabled
Mitov::ConstantProperty<18, bool, false >, // Hight10Pixels
Mitov::ConstantProperty<15, bool, false >, // RightToLeft
Mitov::ConstantProperty<16, bool, false > // ShowCursor
>, // 0_TYPE
16, // Columns
Mitov::TypedVariable<32, uint32_t, ::ComponentVariables::Variable2>, // FCursorLine
Mitov::TypedVariable<32, uint32_t, ::ComponentVariables::Variable1>, // FCursorPos
2 // Rows
> _o_LiquidCrystalDisplay1;
Mitov::LiquidCrystalDisplayCharInput<Mitov::LiquidCrystalDisplay<
Mitov::LiquidCrystalDisplayI2C<
TwoWire, // 0_TYPE_PIN
Wire, // 1_NAME_PIN
39, // Address
Mitov::ConstantProperty<14, bool, false >, // AutoScroll
Mitov::ConstantProperty<4, bool, true >, // Backlight
Mitov::ConstantProperty<3, bool, true >, // BacklightPositive
Mitov::ConstantProperty<17, bool, false >, // Blink
Mitov::ConstantProperty<13, bool, true >, // Enabled
Mitov::ConstantProperty<18, bool, false >, // Hight10Pixels
Mitov::ConstantProperty<15, bool, false >, // RightToLeft
Mitov::ConstantProperty<16, bool, false > // ShowCursor
>, // 0_TYPE
16, // Columns
Mitov::TypedVariable<32, uint32_t, ::ComponentVariables::Variable2>, // FCursorLine
Mitov::TypedVariable<32, uint32_t, ::ComponentVariables::Variable1>, // FCursorPos
2 // Rows
>, _o_LiquidCrystalDisplay1> LiquidCrystalDisplay1_InputChar_1;
} // Declarations
// Type Converters
namespace TypeConverters
{
Mitov::Convert_BinaryBlockToChar Converter0;
} // TypeConverters
// Pin Call Declarations
namespace PinCalls
{
void PinCallerConverterReceive1( void *_Data );
} // PinCalls
// Pin Call Implementations
namespace PinCalls
{
void PinCallerReceive0::Notify( void *_Data )
{
TypeConverters::Converter0.Convert( _Data, PinCallerConverterReceive1 );
}
void PinCallerConverterReceive1( void *_Data )
{
Declarations::LiquidCrystalDisplay1_InputChar_1.InputPin_o_Receive( _Data );
}
} // PinCalls
namespace ComponentsHardware
{
void SystemUpdateHardware()
{
}
} // ComponentsHardware
//The setup function is called once at startup of the sketch
void setup()
{
Wire.begin();
BoardDeclarations::SerialPort0.SystemInit();
Declarations::_o_LiquidCrystalDisplay1.SystemInit();
OpenWire::SystemStarted();
}
// The loop function is called in an endless loop
void loop()
{
BoardDeclarations::SerialPort0.SystemLoopBegin();
BoardDeclarations::SerialPort0.SystemLoopBeginOutput();

Physical Attributes

  • Length × Width (mm): 41.6 x 19.2
  • Weight (gm): 5

Package Includes

  • 1 x 16x2 LCD I2C IIC TWI SPI Serial Interface Adapter

You may also like