RELATE, Embedded Interactive Group (EIS), Computing Department, Lancaster University

Relate sensing platform

The goal of the Relate software toolkit is to provide a fast and simple set-up for developers of Relate based applications. It can also be used for developments extending the Relate core functionality, especially the Relate location system. The software is divided into two basic categories: Software for Relate embedded systems and devices, and software for PC based devices. The embedded software deals with detection, position estimation and calculation, and with wireless network communication. The PC based software deals with PC based application - e.g. for visualization - with simulation, debugging and with analyzing the Relate embedded systems.

Download the introduction document (PDF).

Tutorial

This document describes how to use the host control software - the RELATE Console - to interact with a network of RELATE Bricks.

Download the tutorial (PDF).

Download the Doxygen documentation for the firmware modules (ZIP).

Download the Doxygen documentation for the blackboard system (ZIP).

Relate software

RELATE Brick

Here we provide the RELATE Brick firmware, either as a precompiled HEX file or as source code.

Download precompiled Brick firmware (HEX).

Download Brick firmware source code (ZIP).

RELATE Console

The RELATE Console runs on a host PC and allows you to control RELATE Bricks, for instance taking measurements or recording results in a database. It has been tested under GNU/Linux and Cygwin/Windows.

This tool was particularly useful during several data collections that were run in partnership with the wearIT@work project and the Paris Firebrigade.

Download Console source code (ZIP).

Interactive Python Relate Shell

This Python shell, based on iPython, includes tools for controlling Relate devices and visualising Relate data in a scriptable environment.

Download the Relate shell (ZIP).

Ubicomp 2007 demo

The demo presented at Ubicomp 2007 in Innsbruck, Austria, consists of a Java application which displays a GUI on a heads-up-display, bricks deployed in a trail on the ground and a special brick attached to the user (either integrated into a boot or attached around the ankle). The GUI displays information to guide the user along the trail.

(Download available soon.)

Mapalyzer

The Mapalyzer implements a map creating location algorithm providing relative positioning to support indoor-navigation running on RELATE sensor nodes. We envision the use of the concept for navigation of fire fighters in buildings.

Download Mapalyzer demo (ZIP).

Particle toolkit

This software was not produced as part of Relate although many improvements were made to the initial code during the course of the project. These tools are provided here because they are essential to working with Relate devices. Visit the TecO website for more information about development on the Particle platform.

USB Bridge

The USB Bridge enables a PC to communicate with the Bricks over RF. A small program on the host PC receives RF packets from the bridge and forwards them over a network socket.

Download precompiled USB Bridge firmware (HEX).

Download USB Bridge firmware source code (ZIP).

Download USB Bridge host software source code (ZIP).

X-Bridge

The XBridge also enables a PC to communicate with the Bricks. It connects to the Ethernet network.

Download precompiled XBridge firmware (HEX).

Download XBridge firmware source code (ZIP).

Particle libraries

All the host software provided here requires Particle headers and libraries. These are provided by the libparticle package. All the software embedded in the Particles themselves requires libraries from the Particle Base System, also provided here.

Download libparticle (ZIP).

Download Particle Base System source code (ZIP).

Particle Analyzer

The Particle Analyzer is used to visualise RF packets sent from RELATE Bricks. This requires either a USB Bridge or an XBridge (see below).

Download Particle Analyzer for Windows with Delphi source code (ZIP).

Download Java Particle Analyzer with source code (ZIP).

Simulator

MiXiM is a discrete-event simulator framework for rapid prototyping of algorithms targeting wireless networks developed in the context of the Relate project. More information available on the MiXiM project website.

Download the MiXiM demo (TAR.GZ).

Relate Interaction Toolkit

This collection of software - based on Relate hardware - explores how spatial information can improve the way people use mobile devices such as laptops or PDAs to interact with each other and with their surroundings.

Relate device firmware

This is the firmware for running the Relate Interaction Toolkit on Relate Dongles, Dots and Bricks. All these devices are compatible and will all take measurements to each other when they are in proximity.

Download firmware for Relate USB Dongle (HEX).

Download firmware for Relate Dot (HEX).

Download firmware for Relate Brick (HEX).

Download firmware source code (ZIP).

Interaction software toolkit

These Java packages can be used to develop applications which use relative spatial information from Relate devices running the above firmware.

Download Relate core classes (JAR).

Download Relate application classes (JAR).

Download Relate complete distribution classes (JAR).

Download Relate interaction toolkit documentation (ZIP).

The RelateGateways architecture can use Relate sensing devices to allow the user of a mobile device to interact with smart objects in their environment. Visit the website for more information and to download the software.

Relate has also been used to establish a secure channel between devices equipped with Relate dongles. Visit the OpenUAT website for more information and to download the demos: secure file transfer and chat, and IPSec made easy.

Non Linear Regression

This program implements a non-linear regression algorithm specially tailored to Relate. It takes a set of Relate measurements (distance and angle) as input and computes a best fit model of the position of each device after eliminating outliers. Only the binary version for Unix type systems is provided. Source is not available due to licensing issues..

Download the Relate non-linear regression (ZIP).