Gravity: I2C&UART 2.0 Inch IPS Color Serial Display

SKU: DFR0997

The Gravity 2.0-inch IPS color serial display is a versatile and innovative solution for enhancing the display capabilities of micro:bit, Arduino, and ESP32 projects. It supports MakeCode and Mind+ graphical programming, enabling users to display text, icons, animations, and controls effortlessly. With a rich library of images and dynamic widgets, including progress bars and charts, the display allows for stunning visual presentations. It supports four languages and includes an 8MB USB interface for custom icons, offering smooth performance and diverse design options. Ideal for data collection and measurement scenarios, this display simplifies programming by integrating LVGL effects within its chip, ensuring easy command execution with I2C and UART interfaces.

Overview of Gravity: 2.0” Mini Graphic Display
  • Docs
  • Tech Specs
  • 1. Example Codefor micro:bit

    This guide offers a detailed exploration of micro:bit programming using MakeCode, covering hardware connections, I2C communication, and display functions for a rich coding experience.

    2. Example Code for Arduino-Background Color or Image Display

    This article offers a complete guide for setting up and displaying background colors or images on an Arduino using I2C and UART communication modes, alongside sample code and wiring instructions.

    3. Example Code for Arduino-Text and Date/Time Display

    This article provides an in-depth tutorial on how to display text and date/time on an Arduino using both I2C and UART communication modes, complete with hardware preparation, software setup, wiring diagrams, and sample code.

    4. Example Code for Arduino-Icon Display

    This article serves as a comprehensive guide to displaying icons on Arduino using a color display module, offering insights into hardware and software setup, wiring connections, and sample code to display a range of icons and images effectively.

    5. Example Code for Arduino-Basic Graphics Display

    This article guides you through setting up and coding an Arduino-based graphics display using DFRobot's Color Display Module, with comprehensive instructions and example code for creating various basic shapes.

    6. Example Code for Arduino-Widget Display

    This article offers an in-depth guide with example codes for using Arduino with I2C & UART widget displays, covering hardware setup, software preparation, and detailed code samples for creating, modifying, and customizing various display controls such as progress bars, sliders, compasses, gauges, line meters, and charts.

    7. Example Code for Arduino-Weather Station

    This article offers example code and detailed instructions for creating a weather station using Arduino, with sensors for temperature, humidity, UV, and pressure, and an interactive display interface to visualize data dynamically.

    Reference

    The article is a comprehensive API guide detailing screen control functions such as drawing and managing shapes, images, and texts, compatible with multiple mainboards including Arduino and ESP series, ideal for developers seeking to enhance their projects.

    Specification

    Basic Specifications

    Specification Parameter
    Power Supply Voltage DC 3.3V~5V
    Static Power Consumption <70mA
    Power Interface PH2.0-4P Gravity interface
    Communication Method I2C/UART
    Communication Interface PH2.0-4P Gravity interface
    USB Drive Interface USB-C
    USB Drive Space 8MB
    Dimensions 62mm×42mm×10mm
    Mounting Hole Diameter 3.0mm

    Display Specifications

    Specification Parameter
    Size 2.0 inches
    Resolution 320×240
    Display Area 40.8×30.6mm
    Display Color 16-bit color depth (RGB565)
    Viewing Angle 80/80/80/80
    Brightness 250cd/㎡

    Pinout

    DFR0997-Function Description

    Interface Name Function Description
    Gravity Interface PH2.0-4P port, supports I2C and UART (interface voltage level: 3.3V~5V)
    DIP Switch Switches between I2C and UART communication modes, factory default is I2C mode
    USB-C Interface USB flash drive interface. When the Gravity interface is connected, this interface can also be used to view the contents of the USB flash drive. Note: This interface is only for USB flash drive functionality and cannot be used for programming.
    Power Indicator LED Blue LED indicator, indicates the power status
    RST Button Reset button, pressing it will clear the running program in the MCU
    BOOT Button Used only for firmware burning

    Was this article helpful?

    TOP