My RGB Lamp

Shows the operation of an RGB lamp using a digital LED strip. After activating the bluetooth, open the appliacation to control the lamp.
The program shows a hue palette divided into 30 rods: one for each LED from the strip.
Click and drag the mouse cursor to make your own patterns. Clicking on a rod while the spacebar is pressed removes the color (switch off this led).

Part list: wooden support (optional), RGB digitally-addressable LED strip (from Adafruit or Pololu…), microcontroller (arduino pro mini, for example), Bluetooth .OR. Xbee .OR. an USB wire. 

Below, you can find a demo video and the link to the git repository with all the code involved: software and firmware. Questions or suggestions are welcome

Utilizando una tira de 30 Leds RGB digital/indexable, un modem bluetooth, un microcontrolador (arduino pro mini) y un soporte de madera, me he fabricado mi propia lámpara RGB casera de sobremesa.

RGB

App & RGB Lamp.

Este tipo de tiras de led vienen preparadas, por uno de sus lados, con una cinta adhesiva facilitando enormemente su instalación. Estuve probando con varios diseños posibles de lámpara, y al final me decidí por este modelo. Una vez escogida la silueta, solo tenemos que buscar un trozo de madera, dibujarla y con cuidado proceder a su corte. Con un papel de lija completamos el trabajo.

sketchLAmp

Bocetos preliminares

Al final de la página encontraréis un enlace a Thingiverse donde encontraréis los planos de este diseño en particular, aunque no me cabe duda de que se os ocurren formas mejores y más bonitas de haceos la vuestra.  Si algún afortunado tiene una impresora 3D lo suficientemente grande para imprimir el soporte, también encontrará el modelo en 3D.

DesignSupport

Click to view the pdf version

Para controlarla he creado una pequeña aplicación que nos muestra en pantalla una paleta HUE dividia en 30 columnas: una por cada led de nuestra tira. A medida que nos desplazamos verticalmente en cada una de las barras se irán generando los diferentes colores de una rueda de color.

Hue App.

Hue App.

Clicando y arrastrando sobre este programa podremos ir creando nuestros propios patrones y diseños de iluminación. Si queremos eliminar el color de una de las barras (apagar ese Led) solo tenemos que pulsar la tecla “espacio” y pinchar sobre esa misma columna.

Podemos visualizar en tiempo real nuestras composiciones. Una vez decidido el patrón, tan solo tienes que desconectarte cerrando la aplicación: la lámpara conservará esa iluminación hasta que vuelva a ser actualizada nuevamente.

A continuación os dejo un video muy cortito de mi lámpara RGB en funcionamiento:

Shows the operation of an RGB light using a digital LED strip. After activating the bluetooth, open the app to control the lamp.
The program shows a hue palette divided into 30 rods: one for each LED from the strip.
Click and drag the mouse cursor to make your own patterns. Clicking on a rod while the spacebar is pressed removes the color (switch off this led).

Part list: wooden support, RGB digitally-addressable LED strip, microcontroller (arduino pro mini, for example), Bluetooth or USB wire.

Article in English about the RGB lamp by TechHive: http://goo.gl/Wi1Ls

MAF :)

  1. Becario

    Muy bonito y colorido

  2. Pingback: Arduino Blog » Blog Archive » An Arduino-controlled RGB lamp

  3. pablo

    Interesting ! I have a question abut the led power. Could change the led to have a more powerful light ? Could you suggest which one?
    I am thinking to use your RGB Lamp for studio photography.

    • Hi Pablo! Thanks for watching and your feedback. :)

      This led strip is only 5v powered and has a current rating about 1.5A.
      Really easy to powered directly from the microcontroller regulator, BUT, if you are looking for more professional applications you will need bigger led strips.

      There are a lot of really cheap and bigger than mine, 24v and 12v led strips in DealExtremme or Ebay from HK. More current rating provide more light intensity.
      By the other hand, you will need build a more poweful driver to controll this current.

  4. Pingback: An Arduino-controlled RGB lamp | Linux-Support.com

  5. Pingback: RGB Lamp — Arduino Passion

  6. Pingback: MAKE | Arduino-Controlled RGB Lamp

  7. Pingback: Arduino-Controlled RGB Lamp

  8. raer

    Which bluetooth module do you use and how? HC-05? I see no code for that in the GIT repository…

    • Bluetooth is detected as a common “serial port”. So I’ve not any special code for it.Processing Serial port library works fine with it. In Git is located all the code.

      Be sure you have linked your computer and your bluetooth device correctly the first time. (preferences>bluetooth>add new device> detect…) it’s really easy!

      I’ve several diferentes modules: bluesmirf is my favourite one.
      But I think, ZigBee radio are the best for comunication.

  9. Pingback: DIY RGB Lamp | A Maker's Dream Factory

  10. Pingback: Arduino-controlled RGB lamp / Cooking Hacks Blog

  11. Pingback: RGB Lamp with Wireless Controls « adafruit industries blog

  12. Darren

    Hi. With regards the Bluetooth module, you mentioned ZigBee which isn’t Bluetooth right, so how does your laptop talk to it via that? It’s the link between the two that could use some more explanation/clarification.

    Thanks for any extra information you can provide.

    • Hi Darren! Thanks for you comment.
      Yes, you can use radio Zigbee modem(Xbee) with the same firmware and software. In fact, bluetooth or xbee are treated like serial common ports, so there aren’t any differences between both.

      When you use a bluetooth device, you are linking with it using your internal bluetooth modem installed in your laptop, so you needn’t any external extra devices.
      However, if you want use a radio zigbee link, you need use a couple of modems: one for your laptop (connected with an USB adapter) and the other one installed in your project (robot, airplane, RGB lamp,…)

      Here, in my blog, you can find a nice picture showing this diagram. In this link, I used a GPS and a couple of Xbee radios to locate and print my current position in Google Earth wirelessly. https://madebyfrutos.wordpress.com/2011/07/11/posicionamiento-gps-sobre-google-earth/

      Finally, I beg you pardon for my poor english.

  13. Pingback: RGB Lamp | Hacking – DIY and Coding

  14. Pingback: 아두이노로 제어하는 RGB 램프 | Make: Korea

  15. MAPed

    Buenas, a ver si me puedes iluminar un poco acerca de la aplicación de escritorio, ¿con que librerías accedes al puerto serie en Mac OSX?

    Muy chula la interfaz : )

  16. Pingback: Connecting to Arduino using Processing and bluetooth (HC-05, HC06) | Hacking – DIY and Coding

  17. Awesome projects, this reminds me of one I released online (which is not connected to the computer), you can check on http://www.danielandrade.net/projects/open-hardware-moodlamp/ what do you think? :)

  18. Pingback: An Arduino-controlled RGB lamp -Arduino for Projects

Deja un comentario

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s

Seguir

Recibe cada nueva publicación en tu buzón de correo electrónico.

Únete a otros 43 seguidores

A %d blogueros les gusta esto: