A versatile Arduino library for the AMT630A OSD chip.
Project details
The AMT630A library simplifies working with the AMT630A chip, enabling seamless control of on-screen display features for composite-video LCD monitors. It offers an intuitive Arduino API for text and graphics manipulation, along with extensive functionality for managing OSD windows, bitmap resources, and even comes with a Python image converter to enhance the user experience.
The AMT630A OSD library is an Arduino/ESP32 integration tool designed to facilitate the control of the on-screen display (OSD) engine in AMT630A-based composite-video LCD monitor boards. This library allows for extensive manipulation of the OSD features through a straightforward API, streamlining the development of custom graphical interfaces for compatible displays.
This library can be easily integrated into Arduino IDE. Access the repository's documents on installation through the Arduino Library Manager or from ZIP files for straightforward implementation.
Here is a basic usage example demonstrating how to set up and render text on the display:
#include <AMT630A_OSD.h>
AMT630A_OSD display;
void setup() {
Serial.begin(115200);
if (!display.begin()) return;
if (!display.setFontMode(AMT630A_OSD::LargeFont)) return;
if (!display.configureWindow(0, 160, 44)) return;
display.setDisplayOrigin(0, 40, 40);
display.writeString(0, 0, 0, "HELLO", AMT630A_OSD::White);
display.setVisible(0, true);
display.forceUpdate();
}
void loop() {
display.service();
}
The library includes a Python-based bitmap converter, making it easy to transform images into a format compatible with the AMT630A's display system. This tool ensures that images are appropriately sized and colored for optimal rendering, promoting a seamless incorporation of visuals into projects.
For detailed documentation and API references, please consult the complete README file. Additionally, reference available examples to explore various functionalities and configurations.
Comments
0Start the conversation
Share the first comment.