This is a library for connecting GoPro and Arduino BLE.
You can probably connect to other Arduino with BLE function.
Arduino | GoPro | ||
---|---|---|---|
M5StickC | x | Hero6 Black | x |
M5AtomLite | x | Hero9 | x |
- enableStatusResponse() has changed its name to enableQueryResponse().
- scanAsync() can specify a gopro ble name.
Command | Description |
---|---|
Set shutter | Shutter: on |
Set shutter | Shutter: off |
Sleep | Put camera to sleep |
System busy | Is the camera busy? |
battery percentage | Internal battery level (percent) |
In order to pair it with GoPro, you have to put it in the pairing waiting state by GoPro's operation and connect it. Once paired, you won't need to do it again.
- Put the GoPro in the same state as when connecting the app, waiting for pairing.
- Connect from Arduino
- Hero6
- Nothing is displayed on the GoPro, so please check the connection with the Arduino console.
- Hero9
- Once paired, the camera should beep and display “Connection Successful”.
- Hero6
GoProとペアリングするためにGoPro側の操作でペアリング待ち状態にして接続しなければなりません。一度ペアリングすると次からは必要なくなります。
- GoProをアプリを接続するときと同様にペアリング待ち状態にする
- Arduinoから接続する
- Hero6ではGoPro側では特に何も表示されないので、Arduinoのコンソールなどで接続の確認をしてください
- NimBLE-Arduino library
https://github.com/h2zero/NimBLE-Arduino
- M5StickC library