IIC/I2C/TWI/SPI Serial Interface Board Module
If there 3 sets of pads labeled A0, A1, & A2 then the default address will be 0x3F. If there are no pads the default address will be 0x27. The IIC/I2C/TWI/SPI Serial Interface Board Module has a contrast adjustment pot on the underside of the display. This may require adjusting for the screen to display text correctly.
IIC/I2C/TWI/SPI Serial Interface Board Module
Available: In Stock
- Product SKU: KG224
₹ 79
₹ 99
Need Volume Discounts? Deals are specially designed for you. Click here
Need Customization? Provide us more details Click here
Warehouse Details
Other people want this. 4 people have this in their carts right now.
Specification
Description
I2C Module has an inbuilt PCF8574 I2C chip that converts I2C serial data to parallel data for the LCD display. These modules are currently supplied with a default I2C address of either 0x27 or 0x3F. To determine which version you have checked the black I2C adaptor board on the underside of the module.If there 3 sets of pads labeled A0, A1, & A2 then the default address will be 0x3F. If there are no pads the default address will be 0x27. The IIC/I2C/TWI/SPI Serial Interface Board Module has a contrast adjustment pot on the underside of the display. This may require adjusting for the screen to display text correctly.
Technical Details
- Operating Voltage: 5V
- Backlight and Contrast is adjusted by potentiometer
- Serial I2C control of LCD display using PCF8574
- Come with 2 IIC interfaces, which can be connected by Dupont Line or IIC dedicated cable
- Compatible for 16x2 LCD
- This is another great IIC/I2C/TWI/SPI Serial Interface
- With this I2C interface module, you will be able to realize data display via only 2 wires.
Physical Attributes
- Length × Width (mm) : 41.6 x 19.2
- Weight (gm) : 4
Integration with Arduino
Sample Code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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(); | |
} //https://create.arduino.cc/projecthub/VideotronicMaker/i2c-1602-lcd-arduino-uno-display-text-via-serial-monitor-36153e |
Product Video
Package Includes
- 1 x IIC/I2C/TWI/SPI Serial Interface Board Module