Project:Notification Board

From London Hackspace Wiki
Jump to navigation Jump to search

Project maintained by Solexious, contact via IRC or charlesyarnold@gmail.com

Summary

102424263.jpg

This is the board that will hang in the space.

It will send visual and audible notifications to the space, and also publish notifications to the network, temperature, movement etc

Currently v0.2

Phases

  • Phase 1: Allow messages to be displayed on the LED board from IRC.
  • Phase 2: Add sounds when the message changes.
  • Phase 3: Add strobe beacons.
  • Phase 4: Daemon the arduino and allow connection via MQTT, add idle messages.
  • Phase 5: Add temperature, light level and PIR sensors.
  • Phase 6: Add i-wire, inc i-buttons.

Code

Arduino Code: [1]
Arduino Lib: [2]
IRC Script: [3]

Change Log

v0.2

  • Include full ascii support
  • Add initText
  • Remove update speed delay

v0.1

  • Initial proof of concept
  • Limit to a-z A-Z and 0-9

Protocol Specification

Sending a message

Currently, messages are sent directly over serial.

They are upto 21 char's long, and can only be from regular ascii. The message is terminated with a line return.

This is a test msg\n

Proposed new protocol

There are 2 types of message:

  • Idle - for rolling messages, i.e. temprature, currently playing song, number of irc users
  • Alert - for one time shown messages, allows sounds

Idle

To format an idle message for transmitting to the arduino, you need to know the following:

  • Idle message slot [1-5] - (see list below for reserving a slot)
  • Time sensitive? [1-0] - If you need to bump the idle message to be the next shown, i.e. currently playing song changes
  • Text of message [up to 21 chars]


Examples: (Substituting STX, ETB and EOT for their respective ascii chars.)

So to send, Temprature: 21.5, you would send:

STX1ETB0ETBTemprature: 21.5EOT


Or to send, Iron Maiden - Prowler, time sensitive:

STX2ETB1ETBIron Maiden - ProwlerEOT

Feature Requests

  • Dynamic font loading
  • Individual pixel mapping