Motion Controlled Camera Using MESH SDK

by MESHprj in Circuits > Gadgets

1556 Views, 9 Favorites, 0 Comments

Motion Controlled Camera Using MESH SDK

Motion Controlled Camera Using MESH
meshhhh cat.jpg

Do you want to automate your camera to capture your pet's best moments while you are not home? The MESH Motion Sensor makes it possible for cameras that support SDK. For example, we have placed a MESH Motion Sensor next to cat food and cat toys to capture the moment the cat is eating or playing.

How does it work?

Using a camera which supports SDK will allow you to use the MESH SDK feature to import or export Java code using the MESH SDK page. The MESH Motion Sensor is "Detecting" the pet moving and translates this movement as a signal to the camera to capture photo within its range.

Materials

IMG_0794.jpg

Suggested:

  • 1x MESH Motion
  • Sony Camera Model (HDR-AS100V) or any other model that support SDK.
  • WiFi

As always, you can get MESH IoT blocks on Amazon at 5% off with discount code MAKERS00 as a thank you for checking out our Instructable and get more information about MESH IoT blocks here.

Launch MESH SDK to Connect MESH and Sony Camera

FK1IQEEJ3OPSEO6.MEDIUM.jpg

You'll use the MESH SDK to connect MESH to the Sony Camera

  1. To get started, visit https://meshprj.com/sdk/ and click "start using the MESH SDK"
  2. MESH SDK reference and support can be found here: https://meshprj.com/sdk/doc/

Create a New Tag for Sony Camera in the MESH SDK

F73ITGHJ3OPSEO7.MEDIUM.jpg
FQS6EOCJ3OPSEOB.MEDIUM.jpg

Once you've created an account for MESH SDK, you can then create a new custom tag RICOH THETA in the MESH app.

  1. In the MESH SDK, tap "Create New Tag" to create a new custom tag.
  2. Tap "Import"

Import Code to Create the SDK Custom Tag for Sony Camera

Screen Shot 0029-11-09 at 1.50.32 PM.png
  1. Download the code file below.
  2. Open the file and copy the code.
  3. Paste the code into the import section and click "Load" then "Ok"
  4. Make sure to save your custom tag settings before exiting from the SDK page to avoid losing inputted data.

Downloads

Create the Recipe in the MESH App.

IMG_0152.PNG
IMG_0153.PNG

Select the Custom Tag (Camera Tag) That You Created

  1. Tap the "+" icon in the Custom section on the dashboard to add a custom tag.
  2. Select the Camera custom tag from the list. (The new tag will be added to the Custom section of the dashboard).
  3. Drag-and-drop the Camera tag into the recipe on the canvas and connect the Motion tag to the Camera tag.
  4. Adjust the functionalities of the Motion tag according to your preference.

Test, Run, and Enjoy!

IMG_0821 2.JPG
IMG_0807 2.JPG
IMG_0814 2.JPG