Author Topic: Anyone know of anything like this?  (Read 3642 times)

Mike

  • Jackass In Charge
  • Posts: 11257
  • Karma: +168/-32
  • Ex Asshole - a better and more caring person.
Anyone know of anything like this?
« on: May 14, 2010, 02:44:34 PM »
I'm looking for something that has at least two rows of three colored leds.  Prefer green, yellow, and red for the lights.  USB powered/controlled would be great.  A speaker would be great also.

I'm setting up nagios for our network and I simply want to change the leds depending on the state of services and hosts.  Right now I'm configuring it to email us but let's be honest, sometimes we don't check our email regularly.

I have most of the materials at home to actually build this but I haven't dealt with USB communication enough to do the programming for it.

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

Rob

  • New improved. Now with added something...
  • Jackass In Charge
  • Posts: 5959
  • Karma: +86/-149
  • Approaching 60 from the wrong damn direction...
Re: Anyone know of anything like this?
« Reply #2 on: May 15, 2010, 03:29:26 AM »
If you wanted to self-build I could give you some help with the USB side of things.

Mike

  • Jackass In Charge
  • Posts: 11257
  • Karma: +168/-32
  • Ex Asshole - a better and more caring person.
Re: Anyone know of anything like this?
« Reply #3 on: May 15, 2010, 10:46:42 AM »
Hmmmm, that is tempting.  I can get the LEDs and USB connector/breakout board from sparkfun.  Already have a MCU that I'm familiar with.

Rob

  • New improved. Now with added something...
  • Jackass In Charge
  • Posts: 5959
  • Karma: +86/-149
  • Approaching 60 from the wrong damn direction...
Re: Anyone know of anything like this?
« Reply #4 on: May 15, 2010, 12:37:25 PM »
I was going to suggest this, or something similar. Takes a lot of the hard work away.


edit>> or this

Mike

  • Jackass In Charge
  • Posts: 11257
  • Karma: +168/-32
  • Ex Asshole - a better and more caring person.
Re: Anyone know of anything like this?
« Reply #5 on: May 15, 2010, 10:07:37 PM »
Cool.  Knew sparkfun had USB breakout boards, didn't realize the had one that dealt with the handshaking and shit.  UART is great as (IIRC) the MCU has ports you can use for that.

Hmmm, now I gotta go look to see if the MCU is 5V or 3.3V (or can do both).

Rob

  • New improved. Now with added something...
  • Jackass In Charge
  • Posts: 5959
  • Karma: +86/-149
  • Approaching 60 from the wrong damn direction...
Re: Anyone know of anything like this?
« Reply #6 on: May 16, 2010, 09:26:27 AM »
Cool.  Knew sparkfun had USB breakout boards, didn't realize the had one that dealt with the handshaking and shit.  UART is great as (IIRC) the MCU has ports you can use for that.

Hmmm, now I gotta go look to see if the MCU is 5V or 3.3V (or can do both).

That's not a problem either. IIRC the FTDI stuff can supply either, and if not just stuff an LDO in.

Mike

  • Jackass In Charge
  • Posts: 11257
  • Karma: +168/-32
  • Ex Asshole - a better and more caring person.
Re: Anyone know of anything like this?
« Reply #7 on: May 16, 2010, 06:45:59 PM »
I ordered the sparkfun part, some RGB LEDs, and some breakaway headers.  Now to dust off the shit and remember how to the component work :D

The sucky part is I don't have a power supply and oscilloscope.  The power supply won't be too big of a deal as I should be able to power that via USB.  Not sure how I'm gonna do the scope since I need to PWM the outputs for the LEDs.  Probably swing by Frys and/or radio shack and see what they've got.

Steve

  • This 49%er supports Romney
  • Just a Jackass
  • *
  • Posts: 16120
  • Karma: +31/-410
  • Mr. Mom
Re: Anyone know of anything like this?
« Reply #8 on: May 16, 2010, 06:50:32 PM »
radioshack has the kind you can clamp to your desk. usually around 20 bux
hey ethic if you and i were both courting lily allen..... oh wait, which one of us has a relationship that lasted more than the bus ride home?

Rob

  • New improved. Now with added something...
  • Jackass In Charge
  • Posts: 5959
  • Karma: +86/-149
  • Approaching 60 from the wrong damn direction...
Re: Anyone know of anything like this?
« Reply #9 on: May 17, 2010, 06:00:16 PM »
I need to PWM the outputs for the LEDs.

Why?

edit>> Oh, RGB LEDs. OK.

Mike

  • Jackass In Charge
  • Posts: 11257
  • Karma: +168/-32
  • Ex Asshole - a better and more caring person.
Re: Anyone know of anything like this?
« Reply #10 on: May 24, 2010, 11:17:54 PM »
So, I've slowly been getting parts/equipment in (I'm sure I'm on the watchlist now).  I'm having a hell of a time getting the RGB to produce a yellow.  Instead what I get is a yellowish light but a clearly visible red light on the side.  Oh and having to put almost 10k ohm resisters on the line just to tone down the brightness is kinda annoying