ztiles logo



Over the course of the project, a large amount of code has been written in various languages for various purposes to do with the project. Some of that code might be of interest so its being posted here:

Microcontroller Code
The most important code for the project is the microcontroller code for the Cygnal 8051's used on each tile. This has gone through several versions in both C and Assember. All versions are available here, the latest work being in the Assembler directory.
The blobs subdirectory contains code to perform blob detection on ztiles data, including code for a "black-box" blob detector, using the serial port.

Linux Utility Code
On the PC side, quite a number of utilities have been writen for using the data received from the tiles - from displaying raw numbers received to the screen, "raw_comdata", to displaying visually the tiles and their pressure values on screen, "capture". The latter, as the name suggests, also saves the data to a file and the "parseData" and "createSnapshots" programs convert this to other more useful forms.
(Later utilities found here)

PD Patches and Externals
Some of the latest work done has been looking at the area of blob detection, whereby we match ellipses to contiguous areas of pressure on a z-tiles surface. Some of this work has been done in Pure-Data where we have written a number of externals to read and then process z-tiles data. "Test1.pd" patch reads from a stored z-tiles data file and runs blob detection and display on it. "Testblob.pd" is a simpler example, just matching a single blob on a single tile.