diff --git a/doc/Arduino-Mega-LCD1602-keypad-shield-wiring.markdown b/doc/Arduino-Mega-LCD1602-keypad-shield-wiring.markdown new file mode 100644 index 0000000..39a3f0c --- /dev/null +++ b/doc/Arduino-Mega-LCD1602-keypad-shield-wiring.markdown @@ -0,0 +1,41 @@ +# Arduino Mega Arduino LCD1620 Keypad shield wiring + +## Introduction + +This shield consists of three logical parts: + +- 1602LCD with HD4780 Dot Matrix Liquid Crystal Display Controller/Driver. +- 6 button keypad. +- Analog pins, 5V and GND pass through. + +
+ +## Wiring illustration + +![Arduino Mega LCD1602 Keypad shield wiring LCD part.png](Arduino-Mega-LCD1602-keypad-shield-wiring.png) + +Author: [Lauri Võsandi](http://lauri.võsandi.com/arduino/lcd1602-key-shield.html#hd44780) + +
+ +## Wiring table + +| Signal | ATMega2560 port and pin | Arduino Mega 2560 pin | LCD 1602 Keypad shield | 1602 LCD pin | HD44780 pin | +| --- | --- | --- | --- | --- | --- | +| **LCD** | | | | | +| Data bus DB4 | PORTG pin 5 | Digital pin 4 | 4 | 11 | DB4 | +| Data bus DB5 | PORTE pin 3 | Digital pin 5 | 5 | 12 | DB5 | +| Data bus DB6 | PORTH pin 3 | Digital pin 6 | 6 | 13 | DB6 | +| Data bus DB7 | PORTH pin 4 | Digital pin 7 | 7 | 14 | DB7 | +| Select register RS | PORTH pin 5 | Digital pin 8 | 8 | 4 | RS | +| Start read/write E | PORTH pin 6 | Digital pin 9 | 9 | 6 | E | +| Backlight control | PORTB pin 4 | Digital pin 10 | 10 | 16 | - | +| Backlight 5V (via variable resistor ) | - | - | - | 3 | - | +| **Keypad** | | | | | +| Buttons (select, up, right, down and left) | | Analog pin 0 | 0 | - | +| Reset button | - | RESET | RESET | - | +| **Pass through** | | | | | +| Analog A1 .. A5 | | Analog pin 1 .. 5 | Analog pin 1 .. 5 | - | +| **Common** | | | | | +| 5V | - | 5V | VCC | 2 and 15 | Vcc | +| Ground (GND) | GND | GND | pin 1 | GND | GND | diff --git a/doc/Arduino-Mega-LCD1602-keypad-shield-wiring.png b/doc/Arduino-Mega-LCD1602-keypad-shield-wiring.png new file mode 100644 index 0000000..8e6c765 Binary files /dev/null and b/doc/Arduino-Mega-LCD1602-keypad-shield-wiring.png differ diff --git a/doc/Arduino-Mega-USB-UART-wiring.markdown b/doc/Arduino-Mega-USB-UART-wiring.markdown index 8bfb0f9..6d47b44 100644 --- a/doc/Arduino-Mega-USB-UART-wiring.markdown +++ b/doc/Arduino-Mega-USB-UART-wiring.markdown @@ -12,6 +12,6 @@ This wiring schema uses only Tx from Arduino and is suitable to be used as stand | Signal | ATMega2560 port and pin | Arduino Mega 2560 pin | USB UART converter pin | | --- | --- | --- | --- | -| Ground (GND) | - | GND | GND | -| Transmit data from Arduino (TxD) | PORTJ 1 (TXD3) | 14 (TX3) | TxD | +| Ground (GND) | GND | GND | GND | +| Transmit data from Arduino (TxD) | PORTJ pin 1 (TXD3) | Digital pin 14 (TX3) | TxD |