Go to file
Raphaël Vinot e0cbe48414 Initial version of processing over TCP stuff. Not really working. 2015-03-16 01:27:30 +01:00
PoC a life simulator on an 8x8 building (the life array is 12x8) 2013-08-08 22:43:38 +02:00
clients some more clients and test code for arduino 2015-02-21 17:47:04 +01:00
displayclient some more clients and test code for arduino 2015-02-21 17:47:04 +01:00
entec-driver - Information about DMX driver 2013-07-16 12:05:30 +02:00
frameserver new displayclient for arduino with ethernet shield and neopixels 2015-02-13 22:53:04 +01:00
ola-test cleaned up a few things 2011-05-12 20:58:32 +02:00
open-lighting-architecture added protobuf 2010-10-31 18:20:47 +01:00
tutorial - Structure clean-up, moved examples to understand C/C++ better out of the way 2013-07-22 15:12:08 +02:00
v2 Initial version of processing over TCP stuff. Not really working. 2015-03-16 01:27:30 +01:00
HACKING documented the frame format 2013-09-16 23:11:42 +02:00
LICENSE Initial commit 2015-02-08 22:00:49 +01:00
README.md new displayclient for arduino with ethernet shield and neopixels 2015-02-13 22:53:04 +01:00
casino.svg description of casino museum project in an svg file 2015-02-21 15:14:33 +01:00
frameserver.dia updated flow diagram 2010-11-15 18:29:23 +01:00
frameserver.png added frameserver diagrams 2010-11-11 14:54:09 +01:00
run-it-all1.sh new displayclient for arduino with ethernet shield and neopixels 2015-02-13 22:53:04 +01:00

README.md

Install dependencies

sudo apt-get install libboost-all-dev libncurses5-dev libglibmm-2.4-dev build-essential

setup

The system is set up of various parts. See frameserver.png

Latest setup is:

  • displayclient/html/ws_udp.js

A nodjs server => $ node displayclient/html/ws_udp.js This listens for UDP packets to show on a virtual building This server creates a webserver where a browser can connect to see a simulation of the building. => $ firefox/chromium displayclient/html/visionneuse.html

  • frameserver

A c++ program recieving UDP frames combining them to generate the final display

  • clients

Written in any language, creates UDP packets which are sent to the frameserver

Building configuration

The main configuration of the frameserver is done in <defines.h>

Main tuneables:

// where to send the UDP output of the frameserver
#define REMOTE_IP "127.0.0.1"
#define REMOTE_PORT 1234

// description of the frame this server understands
#define HASH "s2l\n8>18> "
// one byte number + 10 character hash plus newline
#define HEADEROFFSET 12

// 12 windows per floor, 8 floors, Value:Alpha
#define WIDTH 12
#define HEIGHT 8
// always has an alpha channel so for rgb it's 3+1=4
#define CHANNELS 4

// 8 segments per window (7 seg plus dot), 12 segments per floor, RGBA
#define SEGNUM 8
#define SEGWIDTH 12
#define SEGCHANNELS 4