You can get these Omnima boards for the same price as a complete Edimax BR-6104K or Sweex LB000021 |
This router introduced me to embedded Linux |
The Bifferboard |
I have now managed to get a Bifferboard to host a website serving High Definition pictures from a Logitech QuickCam Pro 9000 Webcam
Some of my project notes and a picture here
The latest "distros" (14th Oct 07- see item 2 above) seem fairly stable and does everything listed below - ignore my others!
10 June 2011 |
The Feb
2006 Elektor Magazine introduced me to the Sweex LB000021 Broadband Router
.
They can be purchased cheaply from several sites
It is identical to the Edimax BR-6104K
router
for £15.
WHERE TO BUY |
The board has 5 Ethernet ports, 2 USB ports (if you can solder), 2 serial ports (both can be wired but only one easily), 11/13 LEDS, Flash RAM etc. It runs Linux - so clever people have learned to reprogram the firmware.
I guess there must be other
Elektor readers (like me) who enjoy building hardware projects and are also
keen to
1) use the firmwares
the experts have built to drive external circuits and
2) learn embedded Linux, scripting and c coding within the router
The Central Processor
is an ADM5120 "system on a chip" details
here- the
manual says |
The board used is sold in
many products under many brand names details are here
The Elektor article
is based on a project of J Domburg.
The current software uses Kamikaze by Midge
to whom very many thanks - (and you can also use that link to donate to Midge)
The idea is to -
1) add a USB storage device to the Sweex router
2) load firmware into the Sweex to make it boot from the USB device
3) then use the huge space available to run extra programs and control external
hardware from anywhere in the world.
The
specification
- The Internet Connected Hardware Controller |
|
Features now available 1)
The Sweex/Edimax router can boot from files on a USB memory stick (following
the model of the J Domburg project of Feb 2006). 8)
You can drive a standard LCD
display from the LED lines. 11) Drive an i2c data bus - or several at once. 12) Run PHP scripting applications. 13)
Play 8bit WAVE sound files using one LED line (pulse width modulation) or make it play tones
- see menu 17 |
Later 16) Fix the getty problem - change baud rate after compile |
The board offers a low cost system requiring just a few watts that can hold an internet connected web site that interacts with real world electronic hardware projects.
My
own interest is to use the device as a web enabled remote control and monitor
box.
I use a PC at present to control devices round the home while I am away. The
remote web page causes a DOS batch file to run in the cgi-bin of an Xitami server
on a Pentium PC.The batch file calls a Visual Basic program that then controls
devices via the parallel port. The trouble is - the PC takes lots of power and
crashes now and then and I reckon I should be able to run the functions in Linux
on the Sweex and with very little power.
You can run a tool chain on VMWare and format USB sticks into ext2 from within the VMWare environment (See menu item 16) - no need for a Linux PC now.
The
experts in Embedded Linux interested in this platform may be found here
:- but also see - If you are interested in using the router to control external hardware and are perhaps not yet expert in Linux then please email me with your ideas and, with your permission, I will add your contribution (or a link to your website) here. Also email me if you manage to build interesting router embedded
web pages to control the connected devices. We can develop the
functionality by adding C/basic/html/bash files to the
memory stick WITHOUT recompiling the kernel each time. If you have developed
firmware that meets any of the requirements PLEASE be generous and send
a copy to me (please do not assume that others can repeat the process
of building and using a tool chain!). |
If you
are Internet connected -(can you ping
www.google.co.uk ?) In a Telnet session type date If the time is wrong change the number in /etc/TZ - (just experiment!) |
Got
a problem getting started? - read these first! |
NB!
- I suggest you skip the historic versions below if you are keen to test
the working "Distro" and
control your hardware project from any web browser.
The latest and most tested version is at pull down
menu item 2 above A history of the development The J Domburg firmware publicised by Elektor Magazine uses my 1Gig Attache USB stick. Software on the memory stick contains a web page and I can see it from my LAN. The Elektor article explains how to wire up the second USB port. The article did not say that the first USB port also needs at least the 15K Ohm resistors between the USB CPU lines and earth for the J Domburg software to not go into a loop but to settle and offer a command prompt after booting up. You can then use a
terminal attached to the serial port (HyperTerminal on a PC is best) to
load new firmware and monitor the system. An anonymous email
contact of mine (to whom many thanks) has created two sets of files for
the USB stick that allow serial port control from a web page hosted on
the Sweex |
The
MAX232 RS232 circuits are as published in the references above. I now use a MAX 3232 (it runs on 3.3 volts) |
New to Linux? Not yet bought
a Sweex? Please try this "Sweex/Edimax Router as
a Web Server and External Hardware Controller SIMULATOR"
to experiment with real Linux feeding COM1 on your Linux PC - click
here
Please
email me
if this interests you - especially if you can offer firmware or hardware help.
I will write up anything I learn for the benefit of others trying to get started.
I will include your projects or links to them on these pages - all projects
are open to others to use and extend.
(I write
up my notes here because I find that after a week or two I forget what I did
and this server is more secure than my PC hard disk!
- I also benefit greatly from contacts who find this site via Google etc and
who email me with ideas.)
The content of this web site is provided in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.