So I have an Arduino Uno lying around and I could not think of any projects except for the ones bundled in the software.

I decided to build a traffic light instead, the catch is that instead of the normal timed change of LED's, I wanted to read the status of our continuous integration server (Jenkins).

Of all tutorials I found on the www, not a single one worked out of the box, so I decided to break it down to it's simplest form and take it from there.

Step 1: Required Items


  1. Arduino (I made use of the UNO V3 but any should work. {Please correct me if I'm wrong.})
  2. Bread Board
  3. Bread Board Jumper Cables
  4. LED's (Red, Yellow, Green)
  5. Resistors (180 Ohm is perfect. {Bands: Brown, Grey, Brown})


  1. PyCharm (by Jetbrains)
  2. Arduino

Please follow the individual applications install details as set out on their respective websites.

<p>Nice post!</p><p>My version with toy signal light and without python script:</p><p><a href="http://gretzki.name/wordpress/a-signal-light-for-your-jenkins-build-job/" rel="nofollow">http://gretzki.name/wordpress/a-signal-light-for-y...</a></p>
<p>I did same but with my java client, sources - https://code.google.com/p/arduino-ci-checker/</p>
<p>Wow! Never thought that someone would go on on this.</p><p>One thing I have to note/explain, I see in the Arduino file that you changes the &quot;if (incomingByte == 'g') { green()} where I had it as 'b'</p><p>The reason was that by default on Jenkins, that is set as Blue, hence the b. Initially, I also had it as 'g', but this started causing an error for some reason whenever we instated some plugins on Jenkins we used to use. Hopefully by now, that bug has been sorted out.</p><p>Have you tried building a breakout board to run the ATMega328 chip alone instead of making use of the entire arduino itself?</p><p>If you want to do that, let me know, I'll create another instructable showing how to do that. :)</p><p>Glad you built one though! (thumbs up!)</p>
<p>Hi, I haven't tried build arduino with ATMega328, is it difficult?</p>
<p>Hi, </p><p>Not at all. It's actually the default chip shipped with the Arduino Uno.</p><p>I have specs on how to build the breakout board but simply dont have time at the moment to put it on here...</p><p>I'll make a point of it to get on sometime...</p><p>Feel free to PM me if you have questions... I'll gladly assist where I can.</p>
<p>Hi! Thanks for your post. Made my version in a carton box from jewellery today. Planning to improve the soldering and to add beeper sound.</p>
<p>Nice and simple! </p><p>I like it. When I built the prototype of the breakout board, i simply used a electronics container bought from our local hardware stores. </p><p>Im not to keen on the current design and have not had time to improve it yet but I want to do some sort of desktop light tube effect. Small, simple but very eye catching without going for something that should be nailed to a wall.</p><p>The image is my current design.</p>
<p>My second version with lego-box =)</p>

About This Instructable


19 favorites

More by OrrinG: Jenkins CI Traffic Light
Add instructable to: