cylonjs.com Open in urlscan Pro
2606:4700:3037::6815:334c  Public Scan

Submitted URL: http://cylonjs.com/
Effective URL: https://cylonjs.com/
Submission: On October 24 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

Cylon
 * Docs
 * Platforms
 * Resources
 * Blog
 * Github


JAVASCRIPT ROBOTICS, BY YOUR COMMAND


NEXT GENERATION ROBOTICS FRAMEWORK WITH SUPPORT FOR 43 DIFFERENT PLATFORMS

Get Started





MEET THE CODE

Cylon.js is a JavaScript framework for robotics, physical computing, and the
Internet of Things. It makes it incredibly easy to command robots and devices.

All you need to get started is the cylon NPM module:

$ npm install cylon






THE "HELLO, WORLD" OF THINGS

This example will connect to an Arduino, and toggle an LED every one second.

var Cylon = require("cylon");

// Initialize the robot
Cylon.robot({
  // Change the port to the correct port for your Arduino.
  connections: {
    arduino: { adaptor: 'firmata', port: '/dev/ttyACM0' }
  },

  devices: {
    led: { driver: 'led', pin: 13 }
  },

  work: function(my) {
    every((1).second(), function() {
      my.led.toggle();
    });
  }
}).start();


To run it:

$ npm install cylon-firmata cylon-gpio cylon-i2c
$ node script.js


We've got lots more examples here to help you get started on your next IoT
project.


PLATFORM SUPPORT

Cylon.js has an extensible system for connecting to hardware devices. The
following robotics and physical computing systems, and software platforms, are
currently supported:

 * ARDrone

 * Arduino

 * Arduino YUN

 * Audio

 * Beaglebone Black

 * Bebop

 * BLE

 * Crazyflie

 * Digispark

 * Imp

 * Intel Galileo

 * Intel Edison

 * Intel IoT Analytics

 * Joystick

 * Keyboard

 * Leap Motion

 * M2X

 * MiP

 * MQTT

 * Nest

 * Neurosky

 * Octoblu

 * OpenCV

 * Particle

 * Pebble

 * Philips Hue

 * Pinoccio

 * PowerUp

 * Rapiro

 * Raspberry Pi

 * Salesforce

 * Speech

 * Sphero

 * Sphero BLE

 * Tessel

 * WICED Sense



Support for many devices that use General Purpose Input/Output (GPIO) have a
shared set of drivers provided using the cylon-gpio module:

 * Analog Sensor

 * Button

 * Continuous Servo

 * Direct Pin

 * IR Range Finder

 * LED

 * Makey Button

 * Maxbotix

 * Motor

 * Relay

 * RGB LED

 * Servo

   

Support for devices that use Inter-Integrated Circuit (I2C) have a shared set of
drivers provded using the cylon-i2c module:

 * BlinkM

 * BMP180

 * HMC6352 Compass

 * LCD

 * LIDAR-Lite

 * LSM9DS0G

 * LSM9DS0XM

 * MPL115A2

 * MPU6050

 * PCA9544a

 * PCA9685

   


USER CREATED PLATFORMS

In addition to our officially supported platforms, our wonderful users have
created the following platforms:

PARROT ROLLING SPIDER

PCDUINO

IBEACON

BELKIN WEMO

TELEGRAM

APC UPS

MYO

If you have another platform you would like to add, please send us a pull
request.


BROWSER & MOBILE SUPPORT

Cylon.js can be run directly in-browser, using the browserify NPM module. You
can also run it from within a Chrome connected app, or a PhoneGap mobile app.

For more info on browser support, and for help with different configurations,
you can find more info in our docs.


API

Cylon.js features an API plugin system which enables you to send commands,
stream real time data, and monitor the overall state of your robots. We
currently support the following API plugins:

 * http/https (REST)

 * socket.io

 * mqtt

 * and more coming soon!

The Cylon.js HTTP plugin, for instance, allows you to interact with your robots
over HTTP. You simply install the API plugin alongside Cylon.js with npm:

$ npm install cylon-api-http


Then, all you need to do is place the following command in your Cylon.js
program:

var Cylon = require("cylon");

Cylon.api('http');


Once your Cylon.js program is running, visit https://localhost:3000/ and you're
ready to control your robots from a web browser!

You can check out more information on the Cylon API in the docs here.


CLI



Cylon uses the Gort toolkit, so you can access important features from the
command line. You can scan, connect to devices, update firmware, and more! We
call it "RobotOps", a.k.a. "DevOps for Robotics".

Cylon also has it's own CLI tool to generate new modules, robots, and drivers.

You can check out the Cylon CLI docs here.


BE PART OF THE ROBOT EVOLUTION

 * Want updates on what we're working on? Follow us on Twitter.

 * Get involved with Cylon.js projects, ask questions, or stay up to date with
   the latest Cylon.js news on our mailing list!

 * If you'd like to find out more, check out our code on GitHub. You can also
   open a new issue if you need help, feel we can improve something, or have a
   feature suggestion.

 * If you want to talk to us, we can be found hanging out on IRC, #cylon on
   irc.freenode.net.


READY TO BUILD THE NEXT BIG THING WITH JAVASCRIPT?

Get Started

MULTIPLE SOLUTIONS

Cylon.js provides a simple, yet powerful way to create solutions that
incorporate multiple, different hardware devices at the same time.

ARTOO

Want to use Ruby on robots? Check out our sister project Artoo

View Project

GOBOT

Want to use the Go programming language to power your robots? Check out our
sister project Gobot

View Project

© Copyright 2012-2016

Top