Control Robotic Arm with Zio - Part 3

06/03/2019

 

 

This blog post is part of the Zio Robotics Series.

 

Introduction


In our previous blog, we posted Part 1 and 2 tutorial on how to control a Robotic Arm using Zio modules. Part 1 mostly concentrate on automatically controlling your Robotic Arm’s Claw to open and close and only utilizing one servo. Part 2 uses a Wireless PS2 Controller to control our Robotic Arm and utilizing all four servos.

In today’s tutorial, we will continue with the previous Robotic Arm setup Part 2 to build an App Controller that leverages on BLE Technology and control our Robotic Arm via that App interface.

 

 

You can check other series of the Tutorial below:

  1. Control Robotic Arm with Zio Part 1
  2. Control Robotic Arm with Zio Part 2
  3. Control Robotic Arm with Zio Part 3
  4. Control Robotic Arm with Zio Part 4

 


Table of Contents

  1. Project Overview
    • Difficulty Level
    • Helpful Resources
    • Hardware
    • Software
  2. Code
    • Installing Library
  3. App Controller Settings
    • App Download
    • App UI

 

 

 


1. Project Overview

 

Difficulty Level:

Zio Padawan

 

Helpful resources:

You should have a basic understanding of how to install Zio development boards. In this tutorial, we assume that your development board is already configured and is ready to be set up. If you haven’t configured your board yet check out our Zio Qwiic Start Guide tutorial below to get started:

 

 

Hardware:

 

Software:


Cables & Wires:

 

 

2. Robotic Arm Code

 

Installing Library

Download and install the following libraries and save it on your local Arduino IDE libraries folder:

 


To install the libraries open your Arduino IDE, go to Sketch tab, select Include Library -> Add .Zip Library. Select the above libraries to be included on your IDE.

 
Arduino has a handy guide on how to install libraries to your Arduino IDE. Check them out here!


Download the Code for the project here and open it using the Arduino IDE.


Upload and run your code to your Dev Board.

 


3. App Control Settings

 

App Download


1. Download the Adafruit Bluefruit LE app from Google Play store /iTunes App Store to your smartphone.

2. Open the App and Select Bluefruit52 to connect

 

 

3. Under the Modules tab Select Controller 

 

4. Once you’re in Controller settings select Control Pad under ‘Available Pins’.

 

 


App UI

 

Below are the control settings for using the BLE App Control Pad Controller to control your Robotic Arm.

 

 

 

 

Got questions or suggestions? Or just want to greet us? Drop us a comment below!

Leave a Comment