Header banner
Revain logoHome Page
Donald Larson photo
Greece, Athens
1 Level
713 Review
54 Karma

Review on πŸ”΅ JANSANE 16x2 1602 LCD Display Screen Blue + IIC I2C Module Interface Adapter for Raspberry pi 2 Pack: Enhanced Visuals & Easy Integration by Donald Larson

Revainrating 5 out of 5

The most important thing is to adjust the potentiometer on the back to see the display (contrast) and test with LCD Uno Sketch

This is a good product but I have returned two of these. The first is due to the lack of a display. The second reason is that they shipped it without the extra serial port board, making it a 4-wire display. Tip: Upload your library to Arduino for Arduino I2C Serial LCD. or another library and download HELLO WORLD or another example. Check it. If you don't have a display, change the line that changes the address so the device can see it. 0x27 (zero X two seven) is most common for Sunfounder devices. There is a test program to find the address of your LCD. You load the test and then go to the serial monitor when the Arduino Uno is connected to the LCD and it will tell you the address of the display. Then change the code to the correct address. Imagine the postman delivers the mail to the wrong house because you have the wrong address and you wonder why you don't receive your mail. <Wire.h>#include <LiquidCrystal_I2C.h>LiquidCrystal_I2C lcd(0x27,20,4); // Set LCD address to 0x27 for 16 characters and 2 lines displayvoid setup() { lcd.init(); // Initialize LCD lcd.init(); // Displays a message on the LCD. LCD Taillight(); lcd.setCursor(1,0); lcd.print("Hello everyone"); lcd.setCursor(1,1); lcd.print("konichivaa");}void loop(){}To test your display, compile this code, then send it to your uno or nano (etc.) in the Arduino IDE software , save it . Choose a port (e.g. COM3) and the type of Arduino board (e.g. Arduino Uno / Genuino) and then compile it to Arduino./ ------------- -------- - ------------------------------------ /// Arduino I2C Scanner// Rewritten by Arbi Abdul Jabbaar// Using Arduino IDE 1.8.7// Expedient use of GY-87 module// Tested September 10, 2019// This sketch tests standard 7-bit addresses// Devices with a higher bit address may not be displayed correctly. / ---------------------------------------------- --- --------- --------------------- /#include <Wire.h> //include the Wire library.hvoid setup( ){ Wire.begin(); // Begin wired communication Serial.begin(9600); // Serial monitor speed set to 9600 while (!Serial); // wait for serial monitor Serial.println (" I2C Scanner");}void loop(){ byte error, address; // variable for error and I2C address int nDevices; Serial.println("Scan."); ndevices = 0; for (address = 1; address < 127; address++ ) { // i2c_scanner uses the // return value from Write.endTransmission to see if // the device validated the address. wire.beginTransmission(address); Error = Wire.endTransmission(); if (Error == 0) { Serial.print("I2C device found at address 0x"); if (address < 16) Serial.print("0"); Serial.print(address, HEX); Serial.println("!"); devices++; } else if (error == 4) { Serial.print("Unknown error at address 0x"); if (address < 16) Serial.print("0"); Serial.println(address, HEX); } } if (nDevices == 0) Serial.println("No I2C devices found "); also Serial.println("done "); delay(5000); // wait 5 seconds for the next I2C scan} Then start the serial port monitor and copy the address

Pros
  • Dope πŸ”₯
Cons
  • There are other interesting options.