# Arduino pin descriptions

Hello, actually I am very new in electronics. Im using this as a reference in connecting lcd and 4x4 keypad in my my controller ( an arduino clone) Gizduino ATMEGA644 but I'm having a problem because of its pin different pin description.

When I tried connecting it the same with my reference (without looking at the pin description)I'm only having black box in the lcd after uploading a sample program. can someone help me?

this is the connection I used:

• Is this a follow-on to your previous question or are you using a different LCD this time? – RedGrittyBrick Jan 12 '14 at 1:18
• @RedGrittyBrick Actually im using a different lcd this time. Im using an lcd like on my reference. – NewInEverything Jan 12 '14 at 1:20
• @RedGrittyBrick I am using standard lcd and 4x4 keypad connected to my microcontroller via breadboard GPIO pins – NewInEverything Jan 12 '14 at 1:27

Where the sketch initialises the LiquidCrystal library, substitute the pin numbers you are actually using

LiquidCrystal lcd(13,12,11,10,9,8); // RS, Enable, D4,D5,D6,D7


The Arduino Uno in your Fritzing diagram has the following pinout

You GizDuino+ has

The usual LCD pinout is

So you are possibly using pins 8-13 instead of 0-5 (4 x data, enable, rs)

If you installed the gizDuino cores in the Arduino IDE, you should be using 8-13, the compiler will produce the correct code

• So I need to connect the yellow wires to pins 8-13 of my gizduino ? – NewInEverything Jan 12 '14 at 1:43
• @New: you can connect them to almost any pins (that are not already in use), Just put those pin numbers into the LiquidCrystal lcd(...); statement (in the right order). See the Manual – RedGrittyBrick Jan 12 '14 at 1:45
• so I need to change this code LiquidCrystal lcd(12, 11, 5, 4, 3, 2); to which ever pin i used? – NewInEverything Jan 12 '14 at 2:04
• @New: That is right. – RedGrittyBrick Jan 12 '14 at 2:09
• I did change the codes into this LiquidCrystal lcd(15, 14, 13,12, 11, 8); but still i got no output but black boxes . – NewInEverything Jan 12 '14 at 2:11