Getting Started

Introduction

The controlling of the MI0283QT-Adapter v1 and v2 is different and the respective examples and libraries have to be used.

MI0283QT-Adapter v2: Commands, Firmware Update

Connection

See Pinout and Connection.

For an I2C connection of a MI0283QT-Adapter v2 on a mSD-Shield the SDA and SCL jumper on the mSD-Shield bottom side have to be closed/shorted.

Arduino

  • Arduino Library with Examples: Download

    • MI0283QT-Adapter v1 use GraphicsLib and MI0283QT9
    • MI0283QT-Adapter v2 or GLCD-Shield use GraphicsLib and DisplayI2C or DisplaySPI or DisplayUART
  • General Examples for MI0283QT-Adapter v2 or GLCD-Shield: Download

    • Download the respective .ino file and the file cmd.h
    • Copy everything to the same directory.
    • Open the .ino file with the Arduino IDE.
    • Open menu item Sketch -> Add file and choose cmd.h.

Raspberry Pi

I2C Example for MI0283QT-Adapter v2 or GLCD-Shield.

  • Activate I2C:

    $ sudo modprobe i2c_bcm2708 baudrate=100000
    $ sudo modprobe i2c-dev
    
  • Install i2c-tools:

    $ sudo apt-get update
    $ sudo apt-get install i2c-tools
    
  • Test I2C bus:

    $ sudo i2cdetect -y 1
    

    The Raspberry Pi hardware revision 1 boards connect I2C bus 0 (GPIO 0 + 1) and revision 2 boards connect I2C bus 1 (GPIO 2 + 3) to the GPIO connector.

  • Start the test program on the display:

    $ sudo i2cset -y 1 0x20 0x02