Git Product home page Git Product logo

cylon-7bot's Introduction

Cylon 7bot

Cylon 7bot is a GUI and Javascript interface for controlling the 7bot robot arm. It's completely unofficial, so use at your own risk.

Screenshot

Installation

Part I: Installing firmware on your 7bot

  1. Download the Arduino IDE version 1.6 or greater.
  2. Install support for the Arduino Due by opening Tools -> Board -> Boards Manager and installing Arduino SAM Boards.
  3. Connect the 7bot to your computer via the USB cable.
  4. Select the Arduino Due board by clicking Tools -> Board -> Arduino Due (Programming Port).
  5. Install the firmware by opening File -> Examples -> Firmata -> StandardFirmata, and pressing the Upload button.

Part II: Installing Cylon 7bot on your computer

  1. Install Git and Node.js.

  2. Run the following commands in the terminal (the last line may take a while):

    git clone https://github.com/djbutler/cylon-7bot.git
    cd cylon-7bot
    npm install

Usage

For a super simple demo, run:

node simple-demo.js

The arm base should rotate back and forth between 45 and 135 degrees.

For a slightly more interesting demo, run:

node app.js

and in another terminal, run:

cd frontend/app
python -m SimpleHTTPServer

Then visit http://localhost:8000/ to see the app in action. You can control the angle of each joint by moving a slider.

Troubleshooting

You may have to change the serial port name, which is currently hard-coded in app.js. To find out the name of your serial port, one useful tool is Gort. Once you've installed Gort, you can run gort scan serial to get a list of your serial connections. Try a few until you find the right one!


The MIT License (MIT) Copyright (c) 2016 Daniel J Butler

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

cylon-7bot's People

Contributors

djbutler avatar

Watchers

Deepak Narayan avatar James Cloos 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.