Giter Club home page Giter Club logo

sphero-bluemix-remotecontrol's Introduction

sphero-bluemix-remotecontrol

This project contains a web application that allows remote controlling a Sphero ball over the internet. Additionally a Sphero chariot is used which carries an iOS device. The iOS device can take series of pictures which are displayed in the web app. With these capabilities the ball and iOS device can be steered without having to see the actual devices.

alt text

In order to run this application an iOS device is needed and the Sphero Bluemix iOS app needs to be installed and configured. Please follow the instructions in the iOS project how to set up the iOS app and how to register devices with the IBM Internet of Things service in IBM Bluemix. Watch the videos to learn more.

Authors: Bryan Boyd (most code), Niklas Heidloff (minor tweaks)

Setup of the Node.js Application

The web application is a Node.js application which uses the IBM Internet of Things service. After the setup you should have your own application deployed to Bluemix similar to this example.

  1. Create a Bluemix Account. Sign up in Bluemix, or use an existing account.

  2. Download and install the Cloud-foundry CLI tool.

  3. In the Bluemix user interface create a new Node.js application and add the Internet of Things service to it. Copy the credentials.

  4. Download the application and change to that directory. Run "npm install".

  5. Modify the file public/drive/js/main.js. Replace the text in the screenshot with your org id, appKey and appToken from the previous step. Note that in a real production application you should not put the credentials in the JavaScript file.

  6. Edit the manifest file and change the application name to the name that you chose in the third step above, e.g. ibm-chariot-nik.

  7. Connect to Bluemix in the command line tool and invoke "cf push". After this you will be able to open the web app, e.g. http://ibm-chariot-nik.mybluemix.net.

sphero-bluemix-remotecontrol's People

Contributors

jsloyer avatar nheidloff avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.