Clone wiki

ST7036 Display driver / Home

ST7036 LCD Driver

Driver Description

This is an implementation of the ST7036 LCD driver controller. Any LCD using such driver can be derived from this implementation. The driver has been implemented following the reference LCD API 1.0 by

The ST7036 class implements the generic ST7036 driver following the LCD API 1.0. An specialized class for the NHD-C0216BiZ-FSW LCD has been implemented. To avoid having too much memory being used, the methods of the ST7036 library are not virtual.

The LCD class, implements a pure abstract LCD API 1.0 class. For memory usage reasons, the ST7036 doesn't inherit from it. It is there so that it can be used during development to verify API compliance. For new drivers derived from the LCD API 1.0, while developing, inherit from the LCD class. When deploying simply remove the inheritance.

Supported LCDs

LCDs with the ST7036 should be supported as is with no modifications.

  • NHD‐C0220BiZ‐FSW‐FBW‐3V3M
  • NHD-C0220BiZ-FS(RGB)-FBW-3VM

LCDs with the ST7032i should also be supported even though I have not tested it, examples are:

  • NHD-C0216CiZ-FSW-FBW-3V3
  • NHD‐C0216CiZ‐FN‐FBW‐3V

Example project

The library is provided with a sample project that demonstrates the capability of the library. The example project, displays the light level being read by an LDR connected to an analog pin and displays the value both numerically and as a bar graph. The sample code, shows how to create custom characters, and how to use the various methods provided by the library.


Version 1.1.0 of the library in the download section is compliant with Arduino SDK v22. Version 1.2.0 of the library is Arduino v1.0 compliant.


The code is Copyright 2011 under the Creative Commons license 3.0: Attribution-ShareAlike CC BY-SA This software is furnished "as is", without technical support, and with no warranty, express or implied, as to its usefulness for any purpose.

You are free to use the code, modify and share it following the CC license 3.0 BY-SA.

Should you have any comments, improvements or queries, please fill free to drop me a line at:

Enjoy the library and let me know what you think.