LCDShield

Full example code for this shield can be found here. Arduino users can find some sample code here.

Features

  • Shield designed to work with Arduino or compatible main boards. Standard shield size.
  • Onboard micro Secure Digital (SD) card slot.
  • Onboard DS1307 Real Time Clock (RTC) with backup battery holder.
  • Onboard DS18B20 temperature sensor.
  • Onboard light sensitive resistor.
  • Five button keypad.
  • Reset button.
  • 2 x 16 or 3 x 16 Liquid Crystal Display (LCD) - Hitachi HD44780 compatible chipset.
  • LCD backlight - brightness can be controlled by user software.

Board Dimensions : 69mm x 53 mm
Weight : 32g

Purchase

  • You can purchase this board from here.

Shield Pins

  • A0 : 5 button keypad data line. Easily detect button press using software ADC.
  • A1 : Light sensitive resistor output. Easily read environmental light conditions using software ADC.
  • A3 : DS18B20 temperature sensor output.
  • A4..A5 : DS1307 RTC I2C data lines.
  • D2 : Optional SD card detect.
  • D3 : LCD backlight control. User program can control brightness using Pulse Width Modulated (PWM) signal.
  • D4..D7 : LCD data lines.
  • D8..D9 : LCD RS and EN lines.
  • D10 : Chip Select (CS) - A logic one (high) on this pin will enable the SD card for reading or writing. A logic zero will disable the SD card. An optional breakable link is provided on the board which can be cut and a jumper soldered in its place. This is very useful if you have multiple shields with SD cards sharing the same CS line.
  • D11 : SD Card Data In (DI)
  • D12 : SD Card Data Out (DO)
  • D13 : SD Card Clock

Schematic

A schematic for this shield can be downloaded from here.

Arduino Code

The following Arduino code has been tested with this shield.