UNPKG

node-red-contrib-ledmatrix

Version:

Contains the nodes used in TimeSquAir to use the LEDMatrix library

32 lines (31 loc) 3.43 kB
{ "name": "node-red-contrib-ledmatrix", "version": "1.0.9", "description": "Contains the nodes used in TimeSquAir to use the LEDMatrix library", "node-red": { "nodes": { "ledblank": "02-ledblank.js", "ledpicture": "02-ledpicture.js", "ledtext": "02-ledtext.js", "ledmatrix": "11-ledmatrix.js" } }, "keywords": [ "ledmatrix", "thethingbox", "timesquair" ], "dependencies": { "mustache": "2.1.2" }, "author": { "name": "http://www.digitalairways.com/" }, "license": "http://www.wtfpl.net", "readme": "\r\nContains the Node-RED nodes used in TimeSquAir to use the LEDMatrix library.\r\n\r\nThese nodes can be installed on top of the ThingBox but with additional advanced installs as described in the hzeller page.\r\n\r\n\r\n__TimeSquair__ ([http://TimeSquAir.io](http://TimeSquAir.io)) is an educational device built on top of __the Thingbox__ ([http://thethingbox.io](http://thethingbox.io)) that contains a LEDMatrix and a tag reader.\r\n\r\nThe __LEDMatrix lib__ is the software that allows the use of the matrix:\r\n\r\n[http://www.raspberrypi-spy.co.uk/2014/09/32x32-led-matrix-on-the-raspberry-pi/](http://www.raspberrypi-spy.co.uk/2014/09/32x32-led-matrix-on-the-raspberry-pi/)\r\n\r\n[https://github.com/hzeller/rpi-rgb-led-matrix](https://github.com/hzeller/rpi-rgb-led-matrix)\r\n\r\nThis page is only destinated to advanced users.\r\n\r\n# History\r\n\r\n- fixed bug: Nodes does not appear because of missing dependencies\r\n\r\n# Use\r\n\r\nBuild a flow by wiring:\r\n\r\n- a LEDBlank node at first\r\n- add pictures by wiring LEDPicture nodes\r\n- add texts by wiring LEDText nodes\r\n- end with the LEDMatric node to display the concatened result.\r\n\r\n\r\n# Install\r\n\r\n\r\nThis documents explains how to install the LEDMatrix software.\r\n \r\n## Install hzeller/rpi-rgb-led-matrix\r\n\r\nIs be already installed on the ThingBox. Use that to upgrade.\r\n\r\n\trm rpi-rgb-led-matrix-master/\r\n\twget https://github.com/hzeller/rpi-rgb-led-matrix/archive/master.zip\r\n\tunzip master.zip\r\n\trm master.zip\r\n\tcd rpi-rgb-led-matrix-master/\r\n\tmake\r\n\r\nTest:\r\n\r\n\t./led-matrix -r 16 -d -t 10 -D 1 runtext16.ppm\r\n\r\n\r\n\r\n## Install led-image-viewer\r\n\t\r\n\taptitude update\r\n\taptitude install libmagick++-dev -y\r\n\taptitude install libgraphicsmagick++1-dev -y\r\n\tmake led-image-viewer\r\n\r\nTest : \r\n\r\n\t./led-image-viewer img/time-display.jpg -r16\r\n\r\n\r\n## install imagemagick\r\n\r\n\tapt-get install imagemagick\r\n\t\r\nTest : \r\n\r\n\t/usr/bin/convert -size 300x16 xc:skyblue -fill white -stroke black -pointsize 14 -gravity center -draw \"text 0,0 'Hello'\" /root/draw_text.gif\r\n\taptitude install netpbm -y\r\n\r\nTest :\r\n\r\n\t/usr/bin/ppmmake black 200 16 > /root/temp.ppm\r\n\r\n\t/usr/bin/ppmlabel -size 10 -x 5 -y 12 -text \"hello there\" /root/temp.ppm > /root/temp2.ppm\r\n\r\n\t./rpi-rgb-led-matrix-master/led-matrix -r 16 -t 10 -D 1 /root/temp2.ppm\r\n\r\n\r\n## Install the Node-RED Nodes\r\n\r\n- Go to the Node-RED interface of a Thingbox\r\n- Use the menu \"import / Node\" and add \"node-red-contrib-ledmatrix\" in the edit box, then Ok, then reboot the Pi.\r\n\r\n", "readmeFilename": "readme.md", "_id": "node-red-contrib-ledmatrix@1.0.8", "scripts": {}, "_shasum": "76da582b397841a83e9b78dd428eb7cd2a3d511b", "_from": "node-red-contrib-ledmatrix@latest" }