[[Category:Ongoing_ProjectsClosed_Projects]]
== Goal ==
== Used componment ==
* 1 mbed NXP LPC1768 [http://mbed.org/handbook/mbed-Microcontroller]
* 2 RGB Led Matix (64x32) for display[[Led_Matrix_32x64]]* 1 ALix 2d13 for getting Nagios status and sending to MBED [http://www.pcengines.ch/alix2d13.htm]
== Hardware pieces listing (per matrix box)==
{| class="wikitable" style="text-align:centerleft;"
|+
|-
! scope=col | Description
! scope=col | Where to find
! scope=col | Unit Price
! scope=col | Link
|-
|5vdc 4A PSU
|Ebay
|$10.99|http://tinyurl.com/3w465kh|-|2|IDC Socket 16POS|Digikey N°ASC16H-ND|$1.93|http://tinyurl.com/3qxmgrp
|-
|1
|SUB25 male connecorCHASSIS ALUM 5 X 10 X 3|DigikeyN°377-1013-ND|$17.60|http://tinyurl.com/3bho3n6|- |2|CONN D-SUB PLUG 25POS GOLD|Digikey N°AMR25B-ND|$8.53|http://tinyurl.com/64e5wj7|-|2|D-SUB 25POS RECPT IDC GOLD|Digikey N°L17DBFRA25S-ND|$2.31|http://tinyurl.com/6l54f7t|-|1|EMI FILTER 115/250VAC 4/6A|Digikey N°603-1132-ND|$26.65 *|http://tinyurl.com/42vvrxo|-|1|Led Matrix 16X32 RGB|China|$150.-|[[Led_Matrix_32x64]]|-|TOTAL|||$230.-|
|-
|}
∗ Can be disassembled from Summit Extreme 48 Switch
== Perl script on ALIX ==
{
"action": "insert",
"id":01,
"text": "server1.domain.ch",
"position_x": 10,
"position_lenght": 78,
"scroll_speed": 255,
"scroll_index":0,
"red": 3,
"green": 0,
"blue": 2
}
</pre>
Sample
<pre>
{"action": "insert","id":1,"text": "server1.domain.ch","position_x": 0,"position_y": 0,"position_lenght": 78,"scroll_speed": 250,"scroll_index":0,"red": 3,"green": 0,"blue": 2}
{"action": "insert","id":2,"text": "WARNING","position_x": 86,"position_y": 0,"position_lenght": 42,"scroll_speed": 0,"scroll_index":0,"red": 3,"green": 0,"blue": 1}
{"action": "insert","id":3,"text": "server2.domain.ch","position_x": 10,"position_y": 8,"position_lenght": 78,"scroll_speed": 125,"scroll_index":0,"red": 3,"green": 2,"blue": 0}
{"action": "insert","id":4,"text": "OK","position_x": 116,"position_y": 8,"position_lenght":12 ,"scroll_speed": 0,"scroll_index":0,"red": 0,"green": 3,"blue": 0}
{"action": "insert","id":5,"text": "server3.domain.ch","position_x": 1,"position_y": 16,"position_lenght": 78,"scroll_speed": 50,"scroll_index":0,"red": 3,"green": 0,"blue": 0}
{"action": "insert","id":6,"text": "UNKNOWN","position_x": 86,"position_y": 16,"position_lenght": 42,"scroll_speed": 0,"scroll_index":0,"red": 3,"green": 3,"blue": 0}
{"action": "insert","id":7,"text": "server4.domain.ch","position_x":1,"position_y": 24,"position_lenght": 78,"scroll_speed": 5,"scroll_index":0,"red": 0,"green": 0,"blue": 3}
{"action": "insert","id":8,"text": "WARNING","position_x": 86,"position_y": 24,"position_lenght": 46,"scroll_speed": 0,"scroll_index":0,"red": 1,"green": 1,"blue": 1}
</pre>
<pre>
To delete default text (as root):
echo '{"action": "delete","id":0}' > /dev/ttyACM0
</pre>
<pre>
To insert text (as root)
echo '{"action": "insert","id":1,"text": "server1.domain.ch","position_x": 1,"position_y": 1,"position_lenght": 127,"scroll_speed": 20,"scroll_index":0,"red": 3,"green": 0,"blue": 1}' > /dev/ttyACM0
</pre>
{| class="wikitable" style="text-align:centerleft;"
|+
|-
|id
|integer
|id of data to insert,modify,delete
|-
|text
Special thank to FIXME members who helped me with programmation and electronic stuff.
Specialy to :
* Simon for hadware hardware design and mbed code improvement.
* Mathieu for discovering LED Matrix and explainition of how it work.
* Jean-Baptist,Raphael,Marc for there help with my newbies programmation questions.
* Florian for his help ideas for leds PWM
== Project Owner ==
*Fred
== Current status Todo List ==* Make the perl script* Make the box for LED matrix* Make a PCB to connect Mbed* Finish the Mbed code
== Issues ==
* The mbed code need to be optimized for memory issues
== Pictures ==