FireBeetle 2 Gravity: IO Shield

SKU: DFR0762

Specially designed for FireBeetle 2 series, this Gravity IO expansion shield offers various ports including digital, analog, I2C, UART, SPI, etc. Also, it comes with power input socket for connecting external power supply as well as EN pin for cutting off the power supply to main-board. The Gravity IO shield allows a convenient connection between DFRobot Gravity sensors and FireBeetle 2 series, no soldering required.

Front of DFRobot FireBeetle ESP32 with Gravity Expansion Shield and LEDs-DFRobot product sku:DFR0762 image.

Downloadable Resources

  • Tech Specs
  • Projects
  • Specification

    Feature Details
    Digital ports 12 groups (0~13 except 4 and 8)
    Analog ports 5 groups (A0~A4)
    I2C ports 3 groups (in parallel)
    UART ports 1 group (R=pin 0, T=pin 1)
    SPI ports 1 group (supports SD card module; SS connected to pin 6)
    SP ports 1 group (function varies by mainboard)
    GDI display interface DFRobot dedicated GDI (18pin-FPC cable, single-wire screen connection)
    External power supply Cable socket
    EN jumper wire Included
    Dimension 60 mm×25.4 mm/2.36×1.00"
    Fixed Hole Diameter 2.0 mm/0.08"

    Pinout

    The following instructions are only for the Arduino environment. If use it in other operating environment, please adjust the usage according to the schematics.

    Digital ports

    This IO expansion shield provides 12 groups of digital ports including 0~13 except 4 and 8, which can be used directly by IO number.

    Note: When ESP32 uses pins in the Arduino environment, you need to use Dx such as D0 instead of directly using IO number 0, or use IO number corresponding to the mainboard.

    DFR0762-Digital ports

    Analog ports

    This IO expansion shield provides 5 groups of analog ports including A0~A4, which can be used directly by IO number.

    DFR0762-Analog ports

    I2C ports

    This shield provides 3 groups of I2C ports in parallel.

    DFR0762-I2C ports

    UART ports

    This shield provides 1 group of UART ports. R corresponds to pin 0, T to pin 1. When using UART, please do not use pin 0 and pin 1.

    DFR0762-UART ports

    SPI ports

    This shield provides 1 group of SPI ports, supporting to use SD card module in-line, and SS is connected to pin 6.

    DFR0762-SPI ports

    SP pin

    The SP pin presents different functions on different mainboards, representing NC, RXD, TXD, A5 on M0, and I2C on ESP32-E.

    DFR0762-SP pin

    GDI display interface

    DFR0762-GDI display interface

    This interface is a DFRobot dedicated GDI, with 18pin-FPC cable connection and single wire connection to the screen, providing you with the simplest way to use the screen.

    The following is a list of pins used by the GDI interface

    FPC PINS Standard IO Expansion Shield Line Sequence
    VCC display power 3.3 V
    BLK display backlight 12/D13
    GND GND
    SCIK SPI clock 18/SCK
    MOSI SPI host output 23/MOSI
    MISO SPI host input 19/MISO
    DC data/command 25/D2
    RES reset 26/D3
    CS display chip select 14/D6
    SDCS SD card chip select 13/D7
    FCS font library chip select 0/D5
    TCS touch chip select 4/D12
    SCL I2C clock 22/SCL
    SDA I2C data 21/SDA
    INIT initialization 16/D11
    BUSY-TE anti-tear pin 17/D10
    X1 extensible pin 1 NC
    X2 extensible pin 2 NC

    Displays supporting GDI:

    For specific usage, please refer to: GDL display wiki: https://wiki.dfrobot.com/2.0_Inches_320_240_IPS_TFT_LCD_Display_with_MicroSD_Card_Breakout_SKU_DFR0664

    NOTE: Please do not reuse related pins. The GDI on the expansion shield only supports ESP32-E. If you need to use GDI for M0, please use the GDI integrated on the development board.

    Power socket and EN switch

    DFR0762-Power socket and EN switch

    Pin Function Description & Notes
    VIN 1. Connect to the VCC pin on the mainboard. 2. The terminal is suitable for connecting spiral batteries. Note: Do not connect the main controller to other power supplies or USB when an external power supply is connected to VIN
    GND Common ground
    EN Can be configured as the main controller switch. The main controller stops running when EN is connected to ground

    Was this article helpful?

    TOP