BlueMagic32 | Blackmagic Bluetooth Arduino Library

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline
User avatar

Csaba Nagy

  • Posts: 256
  • Joined: Sat Jul 13, 2013 7:01 pm
  • Location: AB, Canada

BlueMagic32 | Blackmagic Bluetooth Arduino Library

PostFri Nov 29, 2019 3:50 am

Since I’ve learned about the Bluetooth functionality of the Blackmagic Cameras earlier this year, I’ve sought to bring functional and interesting hardware/software implementations to these great cameras.

To help aid in the pursuit, I’ve been developing an easy-to-use Arduino library, to enable anyone to build their own Bluetooth controllers. From experienced programmers to newcomers, should be very flexible to use.

The library is still in development and will soon be available and I highly encourage people to extend/improve this library as they see fit when it becomes available. ( likely could use some under the hood improvements as It’s my first time developing C++ Library )

Here’s an early look at a really simple piece of demo code that can create a remote trigger with live timecode ( using a $15 development device ) and an example of an integration with a Samsung Gear VR Remote to control the camera. ( really cool possibilities with this as it has lots of buttons, a touchpad, gyroscope/accelerometer and is widely available and cost effective.)

Still working on adding an example or two, would love to hear what kind of examples you’d like to see included with the library and I’ll see If I can make those happen.

Last edited by Csaba Nagy on Wed Jan 22, 2020 1:14 am, edited 2 times in total.
Csaba Nagy
Filmmaker
BMPCC4K
Offline

Brendan Dower

Blackmagic Design

  • Posts: 17
  • Joined: Thu Oct 10, 2019 5:56 am
  • Real Name: Brendan Dower

Re: BlackMagic Bluetooth Arduino Library | Early look

PostSun Dec 01, 2019 11:30 pm

Excellent Job Csaba!
We always love to see examples of what developers create with our products!
Brendan Dower
Blackmagic Design Developer Support
Offline

Chris Maier

  • Posts: 21
  • Joined: Fri Sep 22, 2017 3:04 pm

Re: BlackMagic Bluetooth Arduino Library | Early look

PostMon Dec 02, 2019 4:39 pm

Hi Csaba,

great job indeed!
I am wondering why everyone is adding additional hardware to their circuits (e.g. M5StickC, WifiKit 32 or anything based on the ESP32 chip) to control the BMPCC.
Samsung VR remote or Tilta Nucleous Nano in another case.

I managed (with a ton of help!) to successfully add a cheap potentiometer to the board to control the aperture via Bluetooth.
Unfortunately I was still to busy to write better code to "debounce" the reading of the potentiometer.
I will be a long cold winter...
(The original controlling code was not written by myself! I am not sure if the kind developer is part of this community.)

I am really looking forward to see your library!
It would bet great to change the aperture via a rotary encoder instead of a potentiometer.
This might be more reliable.

I have just received my M5StickC today...

Thank you,
Chris
Offline

PauliJ

  • Posts: 1
  • Joined: Sun Dec 15, 2019 6:33 am
  • Real Name: Pauli Juppi

Re: BlackMagic Bluetooth Arduino Library | Early look

PostSun Dec 15, 2019 6:54 am

Hello Csaba!

I'm really excited about this! I tried to do a simple ble controller for pocket 4k a year ago but got stuck in the bonding problems with nFR52 Arduino board.
So I'd love to see examples for bonding and sending simple commands for REC/STOP and manual focus. That would be great!
If you need a beta tester, I'm happy to help :)
Thanks for the awesome work in advance!
Offline
User avatar

insorior

  • Posts: 8
  • Joined: Thu Sep 05, 2019 7:30 am
  • Location: Europe
  • Real Name: Vincent Monteil

Re: BlackMagic Bluetooth Arduino Library | Early look

PostThu Jan 09, 2020 12:53 pm

Csaba Nagy wrote:Since I’ve learned about the Bluetooth functionality of the Blackmagic Cameras earlier this year, I’ve sought to bring functional and interesting hardware/software implementations to these great cameras.

To help aid in the pursuit, I’ve been developing an easy-to-use Arduino library, to enable anyone to build their own Bluetooth controllers. From experienced programmers to newcomers, should be very flexible to use.

The library is still in development and will soon be available and I highly encourage people to extend/improve this library as they see fit when it becomes available. ( likely could use some under the hood improvements as It’s my first time developing C++ Library )

Here’s an early look at a really simple piece of demo code that can create a remote trigger with live timecode ( using a $15 development device ) and an example of an integration with a Samsung Gear VR Remote to control the camera. ( really cool possibilities with this as it has lots of buttons, a touchpad, gyroscope/accelerometer and is widely available and cost effective.)

Still working on adding an example or two, would love to hear what kind of examples you’d like to see included with the library and I’ll see If I can make those happen.

Offline
User avatar

Csaba Nagy

  • Posts: 256
  • Joined: Sat Jul 13, 2013 7:01 pm
  • Location: AB, Canada

Re: BlackMagic Bluetooth Arduino Library | Early look

PostWed Jan 22, 2020 1:10 am

Pleased to announce to release of the BlueMagic32 Library! BlueMagic32 is an Arduino Library for controlling Blackmagic Cameras over Bluetooth Low Energy using an ESP32 device.

Link to library: https://github.com/schoolpost/BlueMagic32

Create your own Bluetooth control hardware that can control parameters such as:
-Recording
-Focus
-Frame Rate
-ISO
-Shutter
-Whitebalance/Tint

Use the provided examples and create a basic remote trigger in under 10 minutes! Watch the video guide and see for yourself.



As with any version 1.0; bugs and other quirks to be expected also some features are not yet fully implemented so be patient as they will be added soon. Please track bugs/problems with the github issues tool.

Can’t wait to see what everyone makes! ;)
Csaba Nagy
Filmmaker
BMPCC4K

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 1 guest