WEB-IO control of iMX233-OLinuXino-MAXI GPIOs from web


In the previous post I explained how to setup web server on iMX233-OLinuXino-MAXI now will explain how to control iMX233-OLinuXino resources through the web.

Clone WEB-IO from GitHub:

# mkdir web-io

# cd web-io

# git clone https://github.com/OLIMEX/olinuxino-web-io.git

Copy gpio into /etc/rc.d/

# cp -vf web-io/init/gpio /etc/rc.d/

Start the script

# /etc/rc.c/gpio start

Change the permission of i2c-o

# chmod 666 /dev/i2c-0

Copy web folder into /srv/http/

# cp -rvf web-io/web/io /srv/http/

Go to your browser and enter the IP-address of the board:

you will see the GPIOs web page and with mouse click you can change GPIO state

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 )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

%d bloggers like this: