Educational board for simple experiments witn Arduino
The board includes a text LCD 16 * 2, two buttons, a squeaker, a thermistor and a photoresistor.
The display is connected using a 4-bit scheme, as in the examples of the Arduino IDE.
(Examples of the LiquidCrystal library).
Text LCD 16*2 pins
Pin | Designation | Description |
1 | GND | Ground |
2 | Vcc | Power Supply (3,3—5 V) |
3 | Vo | Contrast |
4 | RS | Register Select |
5 | R/W | Read/Write mode |
6 | E | Enable (data strobe) |
7 | DB0 | Data Bus (8-bit mode)(the least significant bit in 8-bit mode) |
8 | DB1 | Data Bus (8-bit mode) |
9 | DB2 | Data Bus (8-bit mode) |
10 | DB3 | Data Bus (8-bit mode) |
11 | DB4 | Data Bus (8 and 4-bit mode)(the least significant bit in 4-bit mode) |
12 | DB5 | Data Bus (8 and 4-bit mode) |
13 | DB6 | Data Bus (8 and 4-bit mode) |
14 | DB7 | Data Bus (8 and 4-bit mode) |
15 | +LED | + LED |
16 | –LED | – LED |
LCD connection to Arduino UNO
LCD pin | Designation | Arduino Uno pin |
1 | GND | GND |
2 | Vcc | 5V |
3 | Vo | GND |
4 | RS | 12 |
5 | R/W | GND |
6 | E | 11 |
7 | DB0 | — |
8 | DB1 | — |
9 | DB2 | — |
10 | DB3 | — |
11 | DB4 | 5 |
12 | DB5 | 4 |
13 | DB6 | 3 |
14 | DB7 | 2 |
15 | Vcc | 5V |
16 | GND | GND |
LCD wiring diagram
Additional buttons and sensors
Designation | Arduino Uno pin |
Button 1 | 6 |
Button 2 | 7 |
Piezo-buzzer | 8 |
Thermistor | A0 (and pull-up 10 kOhm resistor to +5V) |
Photoresistor | A1 (and pull-up 10 kOhm resistor to +5V) |
Wiring diagram for buttons and sensors
|