Low Power 2.4 Inch 128x64 ST7565 Serial LCD Display (HCMODU0245)

LCD, TFT, OLED, LED modules
Post Reply
admin
Site Admin
Posts: 867
Joined: Sun Aug 05, 2012 4:02 pm

Low Power 2.4 Inch 128x64 ST7565 Serial LCD Display (HCMODU0245)

Post by admin » Fri Mar 08, 2024 9:47 am

Image




This 2.4” LCD monochrome ultra-low power graphical display has a resolution of 128x64 pixels with a pixel colour of black on a transflective background.

For interfacing via a microcontroller the display uses an ST7565 serial controller consisting of a single clock and data pin for communication plus chip select and data/command pins for control. These pins plus power and reset are all available via a soldered 8 pin 0.1” header.

This display is ideal for low power battery applications and when in use draws <1mA of current, meaning it is even possible to directly power it via a GPIO pin of most microcontrollers.

For Arduino users this module is supported by our HCDisplay library. See bottom of this post for more information.


NOTES:
The module uses a transflective display which is best used in well lit/outdoor conditions. It does not include a backlight therefore it is not recommended for use in low light environments.

This is a 3.3V display. If using with a 5V microcontroller level shifters must be used.


Specification:
Product code: HCMODU0245
Supply voltage: 3.3V
Supply current: <1mA
Screen size: 2.4”
Display controller: ST7565
Interface: Serial SPI (clock, data, chip select, data/command select, reset)
Interface header: 8 pin 0.1” SIL header
Outer LCD size: 50mm x 36.5mm
Module size: 53mm x 45mm



Arduino Example:


Image


  1. /* File:    HCDisplay_Hello_World.ino
  2.  * Version: 1.0
  3.  *
  4.  * This is a simple sketch to demonstrate how to print text at specified locations
  5.  * on the display. The sketch also shows how to change font style and
  6.  * foreground/background colour.
  7.  *
  8.  * IMPORTANT: To use this sketch you must first select your display type
  9.  * by opening up the Options.txt file (found the HCDisplay library folder)
  10.  * in a text editor and uncommenting the line:
  11.  *
  12.  * #define ST7565
  13.  *
  14.  * Please see Lincence.txt file in the library folder for terms of use
  15.  */
  16.  
  17.  
  18. #include "HCDisplay.h"
  19.  
  20. // Default pins
  21. #define CE_PIN      A0
  22. #define DC_PIN      A1
  23. #define CLK_PIN     A2
  24. #define DIN_PIN     A3
  25. //#define RST_PIN   2  // Optional reset pin
  26.  
  27. HCDisplay HCDisplay;    //Creates an instance of the HCDisplay library
  28.  
  29. unsigned int MaxX, MaxY;
  30. boolean FGColour = 1;
  31.  
  32.  
  33.  
  34. void setup()
  35. {
  36.   // Initialise the display - Note HCMODU0246 must be reset after powering up!
  37.   HCDisplay.Init(DIN_PIN, CLK_PIN, CE_PIN, DC_PIN /*, RST_PIN*/);
  38.  
  39.   // Uncomment if screen contrast needs adjusting (contrast = 0 to 255)
  40.   // HCDisplay.Contrast(16);
  41.  
  42.   /* Get the screens X & Y resolution */
  43.   MaxX = HCDisplay.ResX() - 1;
  44.   MaxY = HCDisplay.ResY() - 1;
  45.  
  46.   /* Draw a boarder */
  47.   HCDisplay.Rect(0 , 0, MaxX, MaxY, OUTLINE, 1);
  48.   HCDisplay.Rect(0 + 3 , 0 + 3, MaxX - 3, MaxY - 3, OUTLINE, 1);
  49.  
  50.   /* Print some text */
  51.   HCDisplay.Pos(44,8);
  52.   HCDisplay.Print("Hobby");
  53.   HCDisplay.Pos(24,18);
  54.   HCDisplay.Print("Components");
  55.  
  56.   HCDisplay.Pos(32,30);
  57.   HCDisplay.Print("2.8\" LCD");
  58.  
  59.   /* Change the font */
  60.   HCDisplay.SetFont(MedProp_12ptFont);
  61. }
  62.  
  63.  
  64. void loop()
  65. {
  66.   /* Make some text flash by swapping the texts foreground and background colours */
  67.   HCDisplay.SetFG(FGColour);
  68.   HCDisplay.SetBG(!FGColour);
  69.   HCDisplay.Pos(8,42);
  70.   HCDisplay.Print("HCMODU0245");
  71.  
  72.   FGColour = !FGColour;
  73.  
  74.   delay(200);
  75. }



Image

HCDisplay Arduino library:

viewtopic.php?f=58&t=2827

Please ensure that have V1.2.0 or greater of the HCDisplay library installed.



Libraries, example code, and diagrams are provided as an additional free service by Hobby Components and are not sold as part of this product. We do no provide any guarantees or warranties as to their accuracy or fitness for purpose.

Descriptions and diagrams on this page are copyright Hobby Components Ltd and may not be reproduced without permission.

oldmaker
Posts: 12
Joined: Tue Aug 08, 2023 9:04 am

Re: Low Power 2.4 Inch 128x64 ST7565 Serial LCD Display (HCMODU0245)

Post by oldmaker » Thu Mar 14, 2024 5:32 pm

This is a nice display with low power consumption of about 660uA, and together with the HCDisplay library easy to use.

I have done a quick evaluation using the example given above.
The active screen area is less than the screen size and is 1.7"x1". giving a diagonal of 1.9"
I have also noticed when drawing circles they are elongated along the vertical axis.

Overall I prefer the 1.8" 128x64 ST7565 low power display which has the option of a backlight but is also transreflective and can be read in daylight without the backlight. It has an active screen size similar to the 2.4 inch display of 1.7" and can display undistorted circles. The supply current without backlight is about 550uA.

Overall both displays are a great addition to your selection of displays.

Post Reply

Return to “Display”