====== Buildwatch ====== {{template>:project:infobox| name=Buildwatch| image=:buildwatch-logo-small.png?200| founder=[[user:jirka-v]]| interested=| sw=-| hw=-| status=done }} ~~META: status = done &relation firstimage = :project:buildwatch-logo-small.png ~~ Purpose of the project is to create a device that shows status of the last build performed on continuous integration server. This sort of devices is called "extreme feedback device" and while many such devices can be found on the web (lava lamps, lights with batman-sign, ambient orbs, water fountains,...) they all seemed to be complicated or expensive. **another extreme feedback devices:** * DIYOrb [[https://weblogs.java.net/blog/kohsuke/archive/2006/11/diyorb_my_own_e.html]] - probably most close to the intended device * The ONOZ! Lamp [[http://schneide.wordpress.com/2008/10/27/extreme-feedback-device-xfd-the-onoz-lamp/]] **requirements:** * show at least 3 colors (everything OK, failing tests, compilation errors) * glowing effect when tests are failing or compilation error occurs - nobody can take color blindness as excuse then. * device cannot be connected to the network directly but can be attached to Windows PC that may run 24/7. * make it simple (and not expensive) **realization:** Device is connected to the PC that periodically runs powershell script. Script gets build results from Jenkins CI via REST API and sends signal to the arduino. **hw:** * 1x arduino nano * 1x translucent container (I used small food box) * 2x mini breadboard * 2x green LED [[http://www.gme.cz/led-kulate-pouzdro/led-4-8mm-pure-green-700-150-p511-697/]] * 2x red LED [[http://www.gme.cz/led-kulate-pouzdro/led-4-8mm-red-400-150-p511-745/]] * 2x yellow LED [[http://www.gme.cz/led-kulate-pouzdro/led-4-8mm-yellow-400-150-p511-746/]] * 4x 150R resistor * 2x 100R resistor * 2x choc-ice stick * paper for lamp shade * scotch tape * wires **Note:** I tried LEDs with higner luminous intensity (100000 mcd) and narrower viewing angle (15°) but overall result is better with weaker LEDs (400 mcd) that have wider viewing angle (150°). {{:project:buildwatch-schema.png?400|}} {{:project:buildwatch-breadboard.png?400|}} **sw:** https://github.com/jiri-vinarek/buildwatch **thx:** Thanks to [[user:stick]], [[user:Nephirus]] and [[user:Mrkva]] for hints {{:project:inner-device.png?200|}} {{:project:inner-device2.png?200|}} {{:project:paper-inner-shade.png?200|}} {{:project:final.png?200|}} {{:project:green.png?200|}} {{:project:yellow.png?200|}} {{:project:red.png?200|}}