Date post: | 13-May-2015 |
Category: |
Technology |
Upload: | simone-chiaretta |
View: | 3,897 times |
Download: | 0 times |
OPENROVNODE.JS TAKES A DIVE INTO THE
OCEAN
/ Simone Chiaretta @simonech
WHAT IS OPENROVOpenROV is an open source robotic submarine
designed to make underwater exploration possible foreveryone.
By and .Eric Stackpole David Lang
HOW DOES IT LOOK LIKE
HOW DOES IT LOOK LIKE
THE GOALInvented to discover a hidden treasure in an underwater
cave.But also to:
Make underwater exploration accessible to everyoneVery low costExtensible
HIGH LEVEL VIEW
BROWSERPure HTML/JS with Knockout.js
BEAGLEBONENode.js with:ExpressSocket.ioSerialPortmjpg_streamer
ARDUINOControls Motors, Servos, Leds
OPENROV: HOW TOJust plug the ethernet cable, and browse to:
http://192.168.254.1:8080
NODE.JS ON THEBEAGLEBONE
If you use the default Angstrom distro, it just works.DEMO
BONESCRIPTArduino-like library to simplify physical computing on the
BeagleBoneGet the lib at https://github.com/jadonk/bonescript
HELLO WORLDrequire('bonescript');
setup = function () { pinMode(bone.USR3, OUTPUT);}
loop = function () { digitalWrite(bone.USR3, HIGH); delay(100); digitalWrite(bone.USR3, LOW); delay(100);}
SHOW ME THE CODEDEMO
CLIENTShows cameraReceives input from users (keyboard or joypad)Displays value from sensors
NODE.JSSpawns a new process for the camera captureCommunicates over socket.io with the browserHandles unpackaging/compilation/upload to the bSends commands to Arduino
ARDUINODrive the motorsTilts the servoLights the LEDsGathers values from sensors
FAKESEliminate dependencies on HW when testing or when
on Azure.
THE FUTUREComplete v1 featuresRefactor codeHandle automatic update of codeAllow extensibility, both HW and SW
MORE INFO - OpenROV community Site
- Get the codeTwitter:
- My BuildBlog
http://openrov.comhttps://github.com/OpenROV
@openrovhttp://dronesandrovs.wordpress.com
THANKSBY SIMONE CHIARETTA