blue iic i2c twi 1602 16x2 serial lcd module display made in china

ERMC1602SBS-2 is 16 characters wide,2 rows character lcd module,SPLC780C controller (Industry-standard HD44780 compatible controller),6800 4/8-bit parallel interface,single led backlight with white color included can be dimmed easily with a resistor or PWM,stn- blue lcd negative,white text on the blue color,wide operating temperature range,rohs compliant,built in character set supports English/Japanese text, see the SPLC780C datasheet for the full character set. It"s optional for pin header connection,5V or 3.3V power supply and I2C adapter board for arduino.

blue iic i2c twi 1602 16x2 serial lcd module display made in china

{"id":1745214963770,"title":"1602 16X2 LCD IIC\/I2C\/TWI\/SPI Serial Interface Module Display Blue\/Yellow","handle":"blue-1602-16x2-lcd-iic-i2c-twi-spi-serial-interface-module-display","description":"\u003cstrong\u003eFeature:\u003c\/strong\u003e\u003cbr\u003eIt is another great BLUE backlight LCD display. \u003cbr\u003eAs the pin resources of Arduino controller is limited, your project may be not able to use normal LCD shield after connected with a certain quantity of sensors or SD card. \u003cbr\u003eHowever, with this I2C interface LCD module, you will be able to realize data display via only 2 wires. \u003cbr\u003eIf you already has I2C devices in your project, this LCD module actually cost no more resources at all. It is fantastic for Arduino based project.\u003cbr\u003eBacklight (White character on Blue background).\u003cbr\u003eCome with IIC interface, which can be connected by DuPont Line.\u003cbr\u003e\u003cbr\u003eSupply voltage: 5V.\u003cbr\u003eSize: 82x35x18 mm.\u003cbr\u003e\u003cbr\u003e\u003cstrong\u003eNote: Fixed address is 0x27 , it can"t be changed !!!\u003c\/strong\u003e\u003cbr\u003e\u003cbr\u003e\u003cstrong\u003ePackage Included:\u003c\/strong\u003e\u003cbr\u003e1PCS* IIC\/I2C\/TWI\/SPI Serial Interface 1602 16X2 Character LCD Module","published_at":"2018-07-21T18:06:20+08:00","created_at":"2018-07-21T18:13:38+08:00","vendor":"diymore","type":"Interface Module","tags":["Arduino","Display","Shield"],"price":699,"price_min":699,"price_max":699,"available":true,"price_varies":false,"compare_at_price":390,"compare_at_price_min":390,"compare_at_price_max":390,"compare_at_price_varies":false,"variants":[{"id":16510444273722,"title":"Blue","option1":"Blue","option2":null,"option3":null,"sku":"030007LA","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"1602 16X2 LCD IIC\/I2C\/TWI\/SPI Serial Interface Module Display Blue\/Yellow - Blue","public_title":"Blue","options":["Blue"],"price":699,"weight":36,"compare_at_price":390,"inventory_management":null,"barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]},{"id":16510630953018,"title":"Yellow","option1":"Yellow","option2":null,"option3":null,"sku":"030007HU","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"1602 16X2 LCD IIC\/I2C\/TWI\/SPI Serial Interface Module Display Blue\/Yellow - Yellow","public_title":"Yellow","options":["Yellow"],"price":699,"weight":36,"compare_at_price":390,"inventory_management":null,"barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_18_101.jpg?v=1588645875","\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_7_256.jpg?v=1588645875","\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_1_593.jpg?v=1588645875","\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_3_295.jpg?v=1588645875","\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_4_457.jpg?v=1588645875","\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_12_892.jpg?v=1588645875","\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_5_669.jpg?v=1588645875","\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_10_683.jpg?v=1588645875","\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_17_881.jpg?v=1588645875"],"featured_image":"\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_18_101.jpg?v=1588645875","options":["Color"],"media":[{"alt":"1602 16X2 Lcd Iic\/i2C\/twi\/spi Serial Interface Module Display Blue\/yellow","id":6678428614727,"position":1,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_18_101.jpg?v=1588645875"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_18_101.jpg?v=1588645875","width":1000},{"alt":"1602 16X2 Lcd Iic\/i2C\/twi\/spi Serial Interface Module Display Blue\/yellow","id":6678429106247,"position":2,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_7_256.jpg?v=1588645875"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_7_256.jpg?v=1588645875","width":1000},{"alt":"1602 16X2 Lcd Iic\/i2C\/twi\/spi Serial Interface Module Display Blue\/yellow","id":6678429139015,"position":3,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_1_593.jpg?v=1588645875"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_1_593.jpg?v=1588645875","width":1000},{"alt":"1602 16X2 Lcd Iic\/i2C\/twi\/spi Serial Interface Module Display Blue\/yellow","id":6678429204551,"position":4,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_3_295.jpg?v=1588645875"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_3_295.jpg?v=1588645875","width":1000},{"alt":"1602 16X2 Lcd Iic\/i2C\/twi\/spi Serial Interface Module Display Blue\/yellow","id":6678429237319,"position":5,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_4_457.jpg?v=1588645875"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_4_457.jpg?v=1588645875","width":1000},{"alt":"1602 16X2 Lcd Iic\/i2C\/twi\/spi Serial Interface Module Display Blue\/yellow","id":6678429696071,"position":6,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_12_892.jpg?v=1588645875"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_12_892.jpg?v=1588645875","width":1000},{"alt":"1602 16X2 Lcd Iic\/i2C\/twi\/spi Serial Interface Module Display Blue\/yellow","id":6678429925447,"position":7,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_5_669.jpg?v=1588645875"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_5_669.jpg?v=1588645875","width":1000},{"alt":"1602 16X2 Lcd Iic\/i2C\/twi\/spi Serial Interface Module Display Blue\/yellow","id":6678430056519,"position":8,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_10_683.jpg?v=1588645875"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_10_683.jpg?v=1588645875","width":1000},{"alt":"1602 16X2 Lcd Iic\/i2C\/twi\/spi Serial Interface Module Display Blue\/yellow","id":6678430089287,"position":9,"preview_image":{"aspect_ratio":1.0,"height":1000,"width":1000,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_17_881.jpg?v=1588645875"},"aspect_ratio":1.0,"height":1000,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/0122\/7558\/0986\/products\/030007LA_17_881.jpg?v=1588645875","width":1000}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cstrong\u003eFeature:\u003c\/strong\u003e\u003cbr\u003eIt is another great BLUE backlight LCD display. \u003cbr\u003eAs the pin resources of Arduino controller is limited, your project may be not able to use normal LCD shield after connected with a certain quantity of sensors or SD card. \u003cbr\u003eHowever, with this I2C interface LCD module, you will be able to realize data display via only 2 wires. \u003cbr\u003eIf you already has I2C devices in your project, this LCD module actually cost no more resources at all. It is fantastic for Arduino based project.\u003cbr\u003eBacklight (White character on Blue background).\u003cbr\u003eCome with IIC interface, which can be connected by DuPont Line.\u003cbr\u003e\u003cbr\u003eSupply voltage: 5V.\u003cbr\u003eSize: 82x35x18 mm.\u003cbr\u003e\u003cbr\u003e\u003cstrong\u003eNote: Fixed address is 0x27 , it can"t be changed !!!\u003c\/strong\u003e\u003cbr\u003e\u003cbr\u003e\u003cstrong\u003ePackage Included:\u003c\/strong\u003e\u003cbr\u003e1PCS* IIC\/I2C\/TWI\/SPI Serial Interface 1602 16X2 Character LCD Module"}

blue iic i2c twi 1602 16x2 serial lcd module display made in china

With IIC/I2C interface, it only takes two I/O port thus saving more for other usages. You can adjust the contrast by the potentiometer at its back. If you dont want the backlight, you can also unplug the jumper cap at the LCD back.

blue iic i2c twi 1602 16x2 serial lcd module display made in china

Connecting an LCD to your Raspberry Pi will spice up almost any project, but what if your pins are tied up with connections to other modules? No problem, just connect your LCD with I2C, it only uses two pins (well, four if you count the ground and power).

In this tutorial, I’ll show you everything you need to set up an LCD using I2C, but if you want to learn more about I2C and the details of how it works, check out our article Basics of the I2C Communication Protocol.

There are a couple ways to use I2C to connect an LCD to the Raspberry Pi. The simplest is to get an LCD with an I2C backpack. But the hardcore DIY way is to use a standard HD44780 LCD and connect it to the Pi via a chip called the PCF8574.

The PCF8574 converts the I2C signal sent from the Pi into a parallel signal that can be used by the LCD. Most I2C LCDs use the PCF8574 anyway. I’ll explain how to connect it both ways in a minute.

I’ll also show you how to program the LCD using Python, and provide examples for how to print and position the text, clear the screen, scroll text, print data from a sensor, print the date and time, and print the IP address of your Pi.

I2C (inter-integrated circuit) is also known as the two-wire interface since it only uses two wires to send and receive data. Actually it takes four if you count the Vcc and ground wires, but the power could always come from another source.

Connecting an LCD with an I2C backpack is pretty self-explanatory. Connect the SDA pin on the Pi to the SDA pin on the LCD, and the SCL pin on the Pi to the SCL pin on the LCD. The ground and Vcc pins will also need to be connected. Most LCDs can operate with 3.3V, but they’re meant to be run on 5V, so connect it to the 5V pin of the Pi if possible.

If you have an LCD without I2C and have a PCF8574 chip lying around, you can use it to connect your LCD with a little extra wiring. The PCF8574 is an 8 bit I/O expander which converts a parallel signal into I2C and vice-versa. The Raspberry Pi sends data to the PCF8574 via I2C. The PCF8574 then converts the I2C signal into a 4 bit parallel signal, which is relayed to the LCD.

Before we get into the programming, we need to make sure the I2C module is enabled on the Pi and install a couple tools that will make it easier to use I2C.

Now we need to install a program called I2C-tools, which will tell us the I2C address of the LCD when it’s connected to the Pi. So at the command prompt, enter sudo apt-get install i2c-tools.

Next we need to install SMBUS, which gives the Python library we’re going to use access to the I2C bus on the Pi. At the command prompt, enter sudo apt-get install python-smbus.

Now reboot the Pi and log in again. With your LCD connected, enter i2cdetect -y 1 at the command prompt. This will show you a table of addresses for each I2C device connected to your Pi:

We’ll be using Python to program the LCD, so if this is your first time writing/running a Python program, you may want to check out How to Write and Run a Python Program on the Raspberry Pi before proceeding.

I found a Python I2C library that has a good set of functions and works pretty well. This library was originally posted here, then expanded and improved by GitHub user DenisFromHR.

There are a couple things you may need to change in the code above, depending on your set up. On line 19 there is a function that defines the port for the I2C bus (I2CBUS = 0). Older Raspberry Pi’s used port 0, but newer models use port 1. So depending on which RPi model you have, you might need to change this from 0 to 1.

The function mylcd.lcd_display_string() prints text to the screen and also lets you chose where to position it. The function is used as mylcd.lcd_display_string("TEXT TO PRINT", ROW, COLUMN). For example, the following code prints “Hello World!” to row 2, column 3:

On a 16×2 LCD, the rows are numbered 1 – 2, while the columns are numbered 0 – 15. So to print “Hello World!” at the first column of the top row, you would use mylcd.lcd_display_string("Hello World!", 1, 0).

You can create any pattern you want and print it to the display as a custom character. Each character is an array of 5 x 8 pixels. Up to 8 custom characters can be defined and stored in the LCD’s memory. This custom character generator will help you create the bit array needed to define the characters in the LCD memory.

The code below will display data from a DHT11 temperature and humidity sensor. Follow this tutorial for instructions on how to set up the DHT11 on the Raspberry Pi. The DHT11 signal pin is connected to BCM pin 4 (physical pin 7 of the RPi).

By inserting the variable from your sensor into the mylcd.lcd_display_string() function (line 22 in the code above) you can print the sensor data just like any other text string.

These programs are just basic examples of ways you can control text on your LCD. Try changing things around and combining the code to get some interesting effects. For example, you can make some fun animations by scrolling with custom characters. Don’t have enough screen space to output all of your sensor data? Just print and clear each reading for a couple seconds in a loop.

blue iic i2c twi 1602 16x2 serial lcd module display made in china

This is great LCD display compatible with arduino. With limited pin resources, your project will quicly run out of resources using normal LCDs. With this I2C interface LCD module, you only need 2 lines (I2C)to display the information.If you already have I2C devices in your project, this LCD module actually cost no more resources at all. The adress can be set 0x27.

blue iic i2c twi 1602 16x2 serial lcd module display made in china

This 16 character by 2 line display has a very clear and high contrast white text upon a blue background/backlight. It also includes a serial I2C/IIC adaptor board pre-soldered to the back of the LCD. This means it can be controlled with just 2 I2C serial data pins (SDA & SCL) and so requires far less digital IO pins when controlled from a microcontroller. In total the module only requires 4 wires including 5V power and GND. Contrast adjustment is also provided by the daughter board via a potentiometer. If you plan to use this with an Arduino board you can download a compatible library and example sketch from our support forum

These modules are currently supplied with a default I2C address of either 0x27 or 0x3F. To determine which version you have check the black I2C adaptor board on the underside of the module. If there a 3 sets of pads labelled A0, A1, & A2 then the default address will be 0x3F. If there are no pads the default address will be 0x27.

If pressure is applied to the I2C daughter board it is possible for it to bend and come contact with the LCD module. Please ensure when the LCD is installed in your application that no external object is applying pressure to the back of the module.

blue iic i2c twi 1602 16x2 serial lcd module display made in china

This is LCD1602 Parallel LCD Display that provides a simple and cost-effective solution for adding a 16×2 White on RGB Liquid Crystal Display into your project. The display is 16 character by 2 line display has a very clear and high contrast white text upon a blue background/backlight.

This is great blue backlight LCD display. It is fantastic for Arduino based project. This LCD1602 Parallel LCD Display with Yellow Backlight is very easy to interface with Arduino or Other Microcontrollers.

The values shown on the display can be either a simple text or numerical values read by the sensors, such as temperature or pressure, or even the number of cycles that the Arduino is performing.

One thing to consider is you’ll waste about 8 Pins on your Arduino for the display to get working. Luckily there exists an I2C adapter that you can solder right onto the pins of the display. So all you need to connect are the I2C pins, which shows a good library and little of coding. We have the same LCD module with pre-assembled I2C adapter, click on the name below to check it.