↓ Skip to main content
  1. Posts/

Ambilight Home Step 4 (Installing and Configuring Boblight)

·
Rubén Infante Docio
Author
Rubén Infante Docio
Software engineer
Table of Contents
Good and cheap homemade ambilight - This article is part of a series.
Part 4: This Article

Although I’ve taken it easy, here is the fourth part of the tutorial to set up your homemade Ambilight . In this part we’re going to install Boblight, the](http://en.wikipedia.org/wiki/Linux “Linux”) Linux [library that allows you to convert a video that plays on the PC/Rasp into information for your Arduino.

  1. Installing Boblight
    #

    We’ll perform the following steps to download, compile, and install Boblight

    //Accedemos a home
    cd ~
    
    //Descargamos el repositorio
    svn checkout http://boblight.googlecode.com/svn/trunk/ boblight-read-only
    cd boblight-read-only/
    
    //Insertamos los siguientes comandos
    export CFLAGS="-fpic"
    export CXXFLAGS="-fpic"
    
    //Configuramos
    ./configure
    
    //No te preocupes si te salen dos warnings
    //Uno sobre --with-ola y otro sobre --with-ffmpeg
    //Funcionará después correctamente
    //Construimos con
    
        make
    //Instalamos con[sudo](http://en.wikipedia.org/wiki/Sudo "Sudo") make install
    
    //Ahora ejecutamos
    sudo ldconfig
    
    //Ya tenemos boblight instalado
  2. Setting up Boblight
    #

    //Pasamos la configuración necesaria a su lugar
    /////////////////////////////////////Arduino UNO
    ////No tengo arduino UNO por lo que tendrás que configurarla////manualmmente después
    
    sudo cp ~/boblight-read-only/arduino/duemilanove.conf /etc/boblight.conf
    sudo nano /etc/boblight.conf
    
    //Como paso inicial comenta la linea interface de tal forma que quede
    //Esto permitirá que nos conectemos desde otros dispositivos diferentes a localhost
    #interface       127.0.0.1
    [Ctrl](http://en.wikipedia.org/wiki/Control_key "Control key") + o y Ctrl + X
    
    /////////////////////////////////////Arduino MEGA////podéis descargaros desde como sigue un fichero preconfigurado
    
    cd $HOME
    wget https://talleradmin.com/ARCHIVOSMIOS/boblight.conf
    sudo cp ~/boblight.conf /etc/boblight.conf
    
    /////////////////////////////////////Para todos
    
    sudo nano /etc/boblight.conf
    //Comprobamos que el campo output en la sección device coincide con el puerto que sacamos anteriormente y sino lo editamos /dev/[nombre del puerto]
    Ctrl + o y después Ctrl + x

    \* In the file that we have just edited, we can change all the settings, you will see that red has 0.2 as a setting, since my leds for some reason predominated in the range. If this is not your case you can leave it at 1.0

  3. Boblight is installed and configured!
    #

  4. To avoid having to manually start boblight every time you restart your PC you can auto-boot it with the instructions of HERE I had these tutorials about Ambilight quite abandoned and many of you have asked me about them, so even if they don’t contain all the information I would like, I think they can be useful to you.

Good and cheap homemade ambilight - This article is part of a series.
Part 4: This Article

Related


Comentarios

  • seo in guk running man
    Modules included in his program, moszt of which can qualify students for an Online Advertising and marketing Certified Professional (OMCP) designation are: Inttroduction to Online Advertising and marketing, Internet Marketing Fundamentals, Search Engine Optimization (WEBSITE POSITIONING) Practitioner, Content material Advrtising and marketing, Social Media Practitioner, Cell Advertising and marketing Practitioner, Pay Per Click on (PPC) Practitioner, Conversion Optimization Practitioner, Net Analytics Practitioner, Show Advertising, E-mail Advertising and marketing and Non-compulsory Quick Programs.