Revisions
-
alecthegeek revised this gist
Nov 14, 2015 . 1 changed file with 3 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -27,7 +27,8 @@ internet connection this process takes about 20 minutes. On poor conference wifi you may be looking at over an hour to do this on the day which means you'll get less value out of the session. 1. Install the Git version control tool 2. Install [Arduino](https://www.arduino.cc/en/Main/Software) for your OS. If you have it installed, please update it to a recent 1.6.x version. 2. Install NodeJS. Note that there are problems with NodeJS 4.x - as such [use 0.12.7 for the moment](https://nodejs.org/dist/v0.12.7/). If you are using @@ -36,7 +37,7 @@ installed for use. 3. Test installation of `johnny-five`. You can do this using `npm install johnny-five`. If you get any errors, drop into the [Johnny Five Gitter](http://gitter.im/rwaldron/johnny-five) and we can get you sorted out. 4. Git clone this GIST into a new folder. For instance ` git clone https://gist.github.com/67af8f62774c20b6fed6.git buzzconfnodebots` 5. From a command line in the folder run `npm install` to get the dependencies 6. Make sure you have `./node_modules/.bin/` on your $PATH variable so you can run executable scripts local to the project. -
ajfisher revised this gist
Nov 13, 2015 . 1 changed file with 8 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -49,7 +49,14 @@ Bookmark this page in order to get any latest updates required before the sessio These are the things to do in the workshop (assume you've done the bits above). Install firmata using interchange ``` interchange install git+https://github.com/Makeblock-official/mbot_nodebots -a uno -p <port> --firmata=usb ``` Make the onboard LED attached to pin 13 blink using the code below save to a file called led.js in the root of your project folder. ``` var five = require("johnny-five"); -
ajfisher revised this gist
Nov 13, 2015 . 2 changed files with 26 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -44,3 +44,28 @@ run executable scripts local to the project. `node_modules/mbot_nodebots/drivers` (see [mBot readme for more](https://github.com/Makeblock-official/mbot_nodebots) ) Bookmark this page in order to get any latest updates required before the session. ## Workshop notes These are the things to do in the workshop (assume you've done the bits above). Make the onboard LED attached to pin 13 blink using the code below: ``` var five = require("johnny-five"); var board = new five.Board(); board.on("ready", function() { var led = five.Led({pin:13}); led.blink(1000); }); ``` Use the examples in `node_modules/mbot_nodebots/examples` to learn more about the capabilities of your robot. More examples are available at http://johnny-five.io This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -24,6 +24,7 @@ }, "homepage": "https://gist.github.com/67af8f62774c20b6fed6", "dependencies": { "johnny-five": "^0.9.10", "mbot_nodebots": "makeblock-official/mbot_nodebots", "nodebots-interchange": "^1.0.0-alpha" } -
ajfisher revised this gist
Nov 11, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -25,6 +25,6 @@ "homepage": "https://gist.github.com/67af8f62774c20b6fed6", "dependencies": { "mbot_nodebots": "makeblock-official/mbot_nodebots", "nodebots-interchange": "^1.0.0-alpha" } } -
ajfisher revised this gist
Nov 10, 2015 . 1 changed file with 28 additions and 28 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,30 +1,30 @@ { "name": "buzzconf-nodebots", "version": "0.2.2", "private": true, "description": "Files needed for Buzzconf workshop", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+ssh://git@gist.github.com/67af8f62774c20b6fed6.git" }, "keywords": [ "buzzconf", "johnny-five", "arduino", "mbot" ], "author": "Andrew Fisher <ajfisher.td@gmail.com>", "license": "MIT", "bugs": { "url": "https://gist.github.com/67af8f62774c20b6fed6" }, "homepage": "https://gist.github.com/67af8f62774c20b6fed6", "dependencies": { "mbot_nodebots": "makeblock-official/mbot_nodebots", "nodebots-interchange": "ajfisher/nodebots-interchange" } } -
ajfisher revised this gist
Nov 10, 2015 . 1 changed file with 8 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,7 +14,7 @@ And all of this can be done using JavaScript via NodeJS and Johnny Five. You will need the following: * a ticket to the workshop as this includes the cost of an mBot within it. You will be able to take this home with you after the session for more hacking. * A laptop with a recent desktop OS (Win, Mac, Linux all fine) * A sense of fun and desire to learn new things @@ -24,23 +24,23 @@ You will be able to take this home with you after the session for more hacking. Before you come to the workshop please ensure you've done the tasks below. On a good internet connection this process takes about 20 minutes. On poor conference wifi or 3G you may be looking at over an hour to do this on the day which means you'll get less value out of the session. 1. Install [Arduino](https://www.arduino.cc/en/Main/Software) for your OS. If you have it installed, please update it to a recent 1.6.x version. 2. Install NodeJS. Note that there are problems with NodeJS 4.x - as such [use 0.12.7 for the moment](https://nodejs.org/dist/v0.12.7/). If you are using v4 then please ensure you have and know how to use `nvm` and have 0.12.7 installed for use. 3. Test installation of `johnny-five`. You can do this using `npm install johnny-five`. If you get any errors, drop into the [Johnny Five Gitter](http://gitter.im/rwaldron/johnny-five) and we can get you sorted out. 4. Git clone this GIST into a new folder 5. From a command line in the folder run `npm install` to get the dependencies 6. Make sure you have `./node_modules/.bin/` on your $PATH variable so you can run executable scripts local to the project. 7. Install the drivers (Win / Mac only) for the mBot from `node_modules/mbot_nodebots/drivers` (see [mBot readme for more](https://github.com/Makeblock-official/mbot_nodebots) ) Bookmark this page in order to get any latest updates required before the session. -
ajfisher revised this gist
Nov 9, 2015 . 1 changed file with 28 additions and 27 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,29 +1,30 @@ { "name": "buzzconf-nodebots", "version": "0.2.1", "private": true, "description": "Files needed for Buzzconf workshop", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+ssh://git@gist.github.com/67af8f62774c20b6fed6.git" }, "keywords": [ "buzzconf", "johnny-five", "arduino", "mbot" ], "author": "Andrew Fisher <ajfisher.td@gmail.com>", "license": "MIT", "bugs": { "url": "https://gist.github.com/67af8f62774c20b6fed6" }, "homepage": "https://gist.github.com/67af8f62774c20b6fed6", "dependencies": { "mbot_nodebots": "makeblock-official/mbot_nodebots", "nodebots-interchange": "ajfisher/nodebots-interchange" } } -
ajfisher revised this gist
Nov 9, 2015 . 1 changed file with 10 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -30,12 +30,17 @@ value out of the session. 1. Install [Arduino](https://www.arduino.cc/en/Main/Software) for your OS. If you have it installed, please update it to a recent 1.6.x version. 2. Install NodeJS. Note that there are problems with NodeJS 4.x - as such [use 0.12.7 for the moment](https://nodejs.org/dist/v0.12.7/). If you are using v4 then please ensure you have and know how to use `nvm` and have 0.12.7 installed for use. 3. Test installation of `johnny-five`. You can do this using `npm install johnny-five`. If you get any errors, drop into the [Johnny Five Gitter](http://gitter.im/rwaldron/johnny-five) and we can get you sorted out. 4. Git clone this GIST into a new folder 5. From a command line in the folder run `npm install` to get the dependencies 6. Make sure you have `./node_modules/.bin/` on your $PATH variable so you can run executable scripts local to the project. 7. Install the drivers (Win / Mac only) for the mBot from `node_modules/mbot_nodebots/drivers` (see [mBot readme for more](https://github.com/Makeblock-official/mbot_nodebots) ) Bookmark this page in order to get any latest updates required before the session. -
ajfisher revised this gist
Nov 5, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ { "name": "buzzconf-nodebots", "version": "0.2.1", "description": "Files needed for Buzzconf workshop", "main": "index.js", "scripts": { -
ajfisher revised this gist
Nov 5, 2015 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -35,5 +35,7 @@ you have and know how to use `nvm` and have 0.12.7 installed for use. 3. Test installation of `johnny-five`. You can do this using `npm install johnny-five`. If you get any errors, drop into the [Johnny Five Gitter](http://gitter.im/rwaldron/johnny-five) and we can get you sorted out. 4. Git clone this GIST into a new folder 5. From a command line in the folder run `npm install` to get the dependencies 6. Install the drivers (Win / Mac only) for the mBot from `node_modules/mbot_nodebots/drivers` (see [mBot readme for more](https://github.com/Makeblock-official/mbot_nodebots) ) Bookmark this page in order to get any latest updates required before the session. -
ajfisher revised this gist
Nov 5, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ { "name": "buzzconf-nodebots", "version": "0.2.0", "description": "Files needed for Buzzconf workshop", "main": "index.js", "scripts": { -
ajfisher revised this gist
Nov 5, 2015 . 2 changed files with 31 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -34,6 +34,6 @@ please update it to a recent 1.6.x version. you have and know how to use `nvm` and have 0.12.7 installed for use. 3. Test installation of `johnny-five`. You can do this using `npm install johnny-five`. If you get any errors, drop into the [Johnny Five Gitter](http://gitter.im/rwaldron/johnny-five) and we can get you sorted out. 4. Git clone this GIST into a new folder Bookmark this page in order to get any latest updates required before the session. This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,29 @@ { "name": "buzzconf-nodebots", "version": "0.1.0", "description": "Files needed for Buzzconf workshop", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+ssh://git@gist.github.com/67af8f62774c20b6fed6.git" }, "keywords": [ "buzzconf", "johnny-five", "arduino", "mbot" ], "author": "Andrew Fisher <ajfisher.td@gmail.com>", "license": "MIT", "bugs": { "url": "https://gist.github.com/67af8f62774c20b6fed6" }, "homepage": "https://gist.github.com/67af8f62774c20b6fed6", "dependencies": { "mbot_nodebots": "makeblock-official/mbot_nodebots", "nodebots-interchange": "ajfisher/nodebots-interchange" } } -
ajfisher revised this gist
Nov 5, 2015 . 2 changed files with 21 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ The MIT License (MIT) Copyright (c) 2015 ajfisher 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. File renamed without changes. -
ajfisher revised this gist
Oct 28, 2015 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -27,13 +27,13 @@ internet connection this process takes about 20 minutes. On poor conference wifi you may be looking at over an hour to do this on the day which means you'll get less value out of the session. 1. Install [Arduino](https://www.arduino.cc/en/Main/Software) for your OS. If you have it installed, please update it to a recent 1.6.x version. 2. Install NodeJS. Note that there are problems with NodeJS 4.x - as such [use 0.12.7 for the moment](https://nodejs.org/dist/v0.12.7/). If you are using v4 then please ensure you have and know how to use `nvm` and have 0.12.7 installed for use. 3. Test installation of `johnny-five`. You can do this using `npm install johnny-five`. If you get any errors, drop into the [Johnny Five Gitter](http://gitter.im/rwaldron/johnny-five) and we can get you sorted out. 4. Make sure you have Git installed and in a new folder [git clone the mbot repo.](https://github.com/Makeblock-official/mbot_nodebots.git) Bookmark this page in order to get any latest updates required before the session. -
ajfisher revised this gist
Oct 28, 2015 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ # BuzzConf NodeBots workshop During this workshop we will be using [mbots from Makeblock](http://www.makeblock.cc/mbot/). These robots are quick to construct but can be used to do a variety of activites including: * Control remotely over bluetooth @@ -27,13 +27,13 @@ internet connection this process takes about 20 minutes. On poor conference wifi you may be looking at over an hour to do this on the day which means you'll get less value out of the session. 1. Install (Arduino)[https://www.arduino.cc/en/Main/Software] for your OS. If you have it installed, please update it to a recent 1.6.x version. 2. Install NodeJS. Note that there are problems with NodeJS 4.x - as such (use 0.12.7 for the moment)[https://nodejs.org/dist/v0.12.7/]. If you are using v4 then please ensure you have and know how to use `nvm` and have 0.12.7 installed for use. 3. Test installation of `johnny-five`. You can do this using `npm install johnny-five`. If you get any errors, drop into the (Johnny Five Gitter)[http://gitter.im/rwaldron/johnny-five] and we can get you sorted out. 4. Make sure you have Git installed and in a new folder (git clone the mbot repo.)[https://github.com/Makeblock-official/mbot_nodebots.git] Bookmark this page in order to get any latest updates required before the session. -
ajfisher revised this gist
Oct 28, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ # BuzzConf NodeBots workshop During this workshop we will be using [http://www.makeblock.cc/mbot/](mbots from Makeblock). These robots are quick to construct but can be used to do a variety of activites including: * Control remotely over bluetooth -
ajfisher revised this gist
Oct 28, 2015 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ # BuzzConf NodeBots workshop During this workshop we will be using (http://www.makeblock.cc/mbot/)[mbots from Makeblock]. These robots are quick to construct but can be used to do a variety of activites including: * Control remotely over bluetooth @@ -27,13 +27,13 @@ internet connection this process takes about 20 minutes. On poor conference wifi you may be looking at over an hour to do this on the day which means you'll get less value out of the session. 1. Install (https://www.arduino.cc/en/Main/Software)[Arduino] for your OS. If you have it installed, please update it to a recent 1.6.x version. 2. Install NodeJS. Note that there are problems with NodeJS 4.x - as such (https://nodejs.org/dist/v0.12.7/)[use 0.12.7 for the moment]. If you are using v4 then please ensure you have and know how to use `nvm` and have 0.12.7 installed for use. 3. Test installation of `johnny-five`. You can do this using `npm install johnny-five`. If you get any errors, drop into the (http://gitter.im/rwaldron/johnny-five)[Johnny Five Gitter] and we can get you sorted out. 4. Make sure you have Git installed and in a new folder (https://github.com/Makeblock-official/mbot_nodebots.git)[git clone the mbot repo.] Bookmark this page in order to get any latest updates required before the session. -
ajfisher revised this gist
Oct 28, 2015 . 1 changed file with 23 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # BuzzConf NodeBots workshop During this workshop we will be using [http://www.makeblock.cc/mbot/](mbots from Makeblock). These robots are quick to construct but can be used to do a variety of activites including: @@ -14,6 +14,26 @@ And all of this can be done using JavaScript via NodeJS and Johnny Five. You will need the following: * a ticket to the workshop as this includes the cost of an mBot within it. You will be able to take this home with you after the session for more hacking. * A laptop with a recent desktop OS (Win, Mac, Linux all fine) * A sense of fun and desire to learn new things * Some JavaScript knowledge ## Pre Workshop installation Before you come to the workshop please ensure you've done the tasks below. On a good internet connection this process takes about 20 minutes. On poor conference wifi or 3G you may be looking at over an hour to do this on the day which means you'll get less value out of the session. 1. Install [https://www.arduino.cc/en/Main/Software](Arduino) for your OS. If you have it installed, please update it to a recent 1.6.x version. 2. Install NodeJS. Note that there are problems with NodeJS 4.x - as such [https://nodejs.org/dist/v0.12.7/](use 0.12.7 for the moment). If you are using v4 then please ensure you have and know how to use `nvm` and have 0.12.7 installed for use. 3. Test installation of `johnny-five`. You can do this using `npm install johnny-five`. If you get any errors, drop into the [http://gitter.im/rwaldron/johnny-five](Johnny Five Gitter) and we can get you sorted out. 4. Make sure you have Git installed and in a new folder [https://github.com/Makeblock-official/mbot_nodebots.git](git clone the mbot repo.) Bookmark this page in order to get any latest updates required before the session. -
ajfisher created this gist
Oct 28, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ # BuzzConf NodeBost workshop During this workshop we will be using [http://www.makeblock.cc/mbot/](mbots from Makeblock). These robots are quick to construct but can be used to do a variety of activites including: * Control remotely over bluetooth * Use distance sensors for obstacle detection * Play a tune via a speaker * Detect lines and follow them And all of this can be done using JavaScript via NodeJS and Johnny Five. ## Workshop requirements You will need the following: * To have bought a ticket to the workshop as this includes the cost of an mBot within it. You will be able to take this home with you ## Pre Workshop installation