List of GoPro Hero 4 I2C Commands

The following tree (Fig. 1) represents all the I2C commands of GoPro Hero 4 camera. Actual I2C packets that the camera understands are in a binary form and further wrapped by packet size, useless constant header bytes, session numbers, etc. So we don't want to go into gory detail of the binary array but we explain human-readable strings that both MewPro Iliad and MewPro4 softwares also understand.

Command Tree

Click '+' to expand a branch and '-' to shrink.

Fig. 1

Usage

The commands listed above are translated into I2C binary arrays for Hero 4 camera by MewPro Iliad or MewPro4 softwares. Both Iliad and MewPro can receive these strings through their default UART port (aka Serial in Arduino's terminology) at 57600 baud. A command consists of hexadecimal characters preceded by either YY or ZZ and followed by a newline character \n. These commands can be sent from your PC's terminal or Arduino Monitor easily.

Each node of the tree corresponds a command byte that is denoted by using two hexadecimal digits (0-9 and/or A-F).

Example 1: Changing camera mode to multi-shot = "YY000101000102\n".
This command string is obtained by clicking These branch expansions respectively correspond to the following nodes (cf. Fig. 2).
Fig. 2
Example 2: Start recording in video mode = "YY00021B0000\n".
This command string is obtained by clicking These branch expansions respectively correspond to the following nodes
Example 3: Change video mode to 4K 30fps Wide = "YY0002030003010800\n".
This command string is obtained by clicking where resolution=0x01, fps=0x08, and fov=0x00.
These branch expansions respectively correspond to the following nodes
Example 4: Power off camera = "ZZ00030101\n".
This command string is obtained by clicking These branch expansions respectively correspond to the following nodes

Note

In order to improve readability the following strings, for example, share the same meaning for MewPro Iliad and/or MewPro4 softwares.

Useful Links


Orangkucing Lab © 2017. All Rights Reserved.
MewPro is a trademark registered in the Japan Patent Office.