GoPRO Shutter

GoPRO Shutter © LGPL

Make your own custom GoPRO shutter using a MKR1000 board, 3 buttons and 3 LEDs.

  • 14,921 views
  • 0 comments
  • 19 respects

Components and supplies

Apps and online services

About this project

Arduino GoPRO libraries

This tutorial relies on the use of the Arduino GoPRO libray that can be installed using the Arduino Library Manager.

This library allows the user to fully communicate with a GoPRO camera, but we will use only two very basic functions:

  • Turn ON and OFF the camera;
  • Start or stop the capture;

How it Works

The libraries relies on the fact that a connection between the camera (in AP mode) and the board exist.

The library has so the method GoPRO.begin(ssid, pass) to try a connection. This function in fact returns true if the connection is established false otherwise.

The sketch interacts with three buttons:

  • Connect/Disconnect (attached to A1);
  • Turn ON/OFF the camera (attached to A2);
  • Start/Stop Capture (attached to A3);

Pressing the buttons reflects to the status of the three LEDs in such a way:

  • Blue LED: when the connect button is pressed, the board tries to establish a connection with the camera. If the connection is successful, the LED will be turned ON. If pressed another time the connection will be stopped and the LED is turned OFF;
  • Green LED:when the turn ON/OFF button is pressed, the board sends the turnOn() command if the LED is OFF the turnOff() command otherwise;
  • Red LED:when the Start/Stop Capture button is pressed, the board sends the startCapture() command if the LED is OFF the stopCapture() command otherwise;

NB: Every command is sent only if the connection between the board and the camera is still active. This can be check using the method checkConnection() that returns true if the connection is active, false otherwise.

Code

Schematics

Breadboard layout
Goproshutter bb

Comments

Similar projects you might like

ESP8266 ESP-01 Webserver

by Robin

  • 100,367 views
  • 18 comments
  • 131 respects

You've Been Using a Button Wrong this Whole Time

Project tutorial by SMM2

  • 2,729 views
  • 1 comment
  • 3 respects

Musical Cube

Project showcase by Team FabLab of Legends

  • 1,446 views
  • 0 comments
  • 1 respect

Pick to Light Project 1 Serial

Project tutorial by PAJ

  • 471 views
  • 0 comments
  • 4 respects

Simple Programmable Robotic Arm

Project showcase by Ryan Chan

  • 52,372 views
  • 67 comments
  • 153 respects

GPS Datalogger, Spatial Analysis, and Azure IoT Hub.

Project tutorial by Shawn Cruise

  • 17,382 views
  • 4 comments
  • 64 respects
Add projectSign up / Login