A13-OLinuXino web server with MOD-RGB controlling RGB LED stripe over internet


Image

A13-OLinuXino have enough power to run real apache web server with php5, java script etc like any desktop linux computer.

With MOD-RGB connected to A13-OLinuXino UEXT you can control RGB LED stripe up to 5A per channel over fancy web interface from any device with web browser like your tablet or phone.

For instance you can make cool RGB LED lighting in your home and to control then with your phone, A13-OLinuXino can connect to many different MOD-RGB controllers as they are addressable, so you can connect many LED stripes to A13-OLinuXino web server and to controll them separately.

These are step by step instructions how to duplicate yourself:

Prepare A13-OLinuXino-WIFI for web serving:

Update repository
$apt-get update

Install apache and php
$apt-get install apache2 php5 libapache2-mod-php5

Open browser and type A13 board internal network IP address. For instance http://192.168.0.30 . You should get message “It Works”

Extract demo files into apache dir. For example /var/www/RGB

Compile i2c-tool
$gcc i2c-tool

Make executable
$chmod 777 a.out

Change permitions of i2c-bus
$chmod 777 /dev/i2c*

Now open index.html. You should see color picker. Move mouse. Enjoy🙂

5 Comments (+add yours?)

  1. Jeff
    Feb 26, 2013 @ 06:07:29

    Any reason you’re running Apache instead of lighttpd? It would seem like a much better choice in terms of resource usage on the A13.

    Reply

  2. Mikeloto
    Feb 27, 2013 @ 03:19:41

    And also can run with JDK8 the Tomcat Web Server with zkoss framework to make better things…….

    Multithread Workers on the server for any task, and JNI to hardware make magic !!

    Can-Bus -> Jni -> Tomcat -> Browser a couple of reliable domotic things…..

    Reply

  3. nielsbe
    Mar 09, 2013 @ 10:15:03

    Hi guys,
    What LED strips are used – and to what extent would each separate LED in a RGB strip be addressable ?

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: