GithubHelp home page GithubHelp logo

rakesh-mohanta / build-brite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sarajo/build-brite

0.0 3.0 0.0 19.21 MB

This is a physical build indicator made with an arduino, a tri-color LED, and johnny-five

License: GNU General Public License v3.0

build-brite's Introduction

Build Brite

Build Brite is an arduino hack built on top of my repo build status code. It uses a tri-color LED and an Arduino to create a physical indicator that shines green when your project on GitHub is building, red when it is not, and blue when it is pending. You can use this to monitor a shared repository among a team so you don't have to stay right on top of emails to monitor for problems.

##Dependencies Build Brite is built in Node.js. You will need Node.js and npm then run "npm install" in order to install octonode, and johnny-five.

You also need an Arduino! Any arduino will do, as long as it can load Firmata.

A USB cable to attach your Arduino to your machine.

Lastly, a tri-color LED. I got mine at Radio Shack for $1.79

###Optional You may want to buy a breadboard and some resistors to make your end product less of a hack. The purpose of not doing so was to show how little you need to get started.

##Hardware Setup

example For instructions on doing this with a breadboard go here

Your LED should have four prongs. Those are diodes. The longest one is your anode(you may have a common cathode instead of an anode), and the other three are cathodes. Your anode will receive power, and ditribute it to your cathodes. You need to put the three cathodes in three pins on the arduino. Make sure they are pins that have pulse-width modulation. Pulse-width modulation means that varying amounts of power will be provided to your LED and that is what is needed to mix light colors into the color you are looking for.

After you insert your cathodes (usually pins 9, 10, and 11 on arduino) you need to get power to your anode. In the photo above I used a wire attached to the anode on the LED to do so. Put the wire in the 5v pin.

Lastly, hook the USB up to your arduino, and then to your computer.

You're ready to go! Time to move onto the software part.

##Software setup In order to authenticate to github, you need to create a token on your account, and replace the placeholder in Build Brite. It's important to authenticate as you need to be someone with push access to a repo to get its build status. Then, replace the placeholder text for your user name and the repository name.

That's it! You're ready to go!

Please fork and customize for your environment, OR, make it your own by adding components and sending a pull request.


This repository is dedicated to Jessica Lord for her hard and amazing work documenting Sheetsee.js.

build-brite's People

Contributors

sarajo avatar

Watchers

 avatar  avatar  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.