kidsbits blocks coding I2C 1602 LCD module is fully compatible with kidsbits control board and Lego building blocks.
You can easily connect it to kidsbits control board for communication using an RJ11 cable without worrying about wrong connection and damage.
This module is a 16 character by 2 line LCD display with Blue background and White backlight.
The LCD pinboard uses PCF8574T chip to drive the LCD screen.
The module communicates with microcontrollers by I2C interface, with default address 0x27. You can change the I2C communication address via jumpers.
On the back comes with a potentiometer, which can be used to adjust the backlight.
2. Technical Parameters
- Operating voltage: DC 5V
- Default device address: 0x27
- Drive chip: PCF8574T
- White text on blue background
- 16 characters wide, 2 rows
- Adjust contrast and backlight: via potentiometer
- Support I2C protocol
3. Wiring Diagram
4. Import kidsbits library
Begin with the Mixly blocks coding, you should first import the corresponding kidsbits library for those sensor modules.
Connect the control board to your computer using a USB cable.
Then open the Mixly blocks software 0.998, set the board to UNO R3, select your correct COM port. On the upper right corner you can switch the language.
After that, click Import, import the keyes-kidsbits library. Shown below.
If import custom library successfully, you should see the sensor module library shown below.
Click on the display screen block of keyes_kidsbits, you can directly use the corresponding module. Shown below.
5. Upload Code
Open the code folder we provided, you are able to directly open or drag the code to Mixly window.
You can click the Code to check the C language.
6. What should you see
Hook it up and upload the code success, the LCD screen will show the characters. First show the “0123456789101112” for one second and clear the screen for one second; followed by showing the “ABCDEFGHIJKLMNOP” for one second and then clear, alternately and repeatedly.
If you can’t make out the words clearly, you can turn the blue potentiometer on the back of LCD to adjust the backlight and contrast.