This is the scheamtic with an Arduino UNO but it works wit any other Arduino. Connect the LCD as below and then upload the example code. Add the potentiometer for contrast control and the 220 ohms resistor for current limit of the backlight LED.