PiLite output

Send payload to serial output on /dev/ttyAMA0 at 9600 baud for Ciseco Pi-LITE lots of LEDs board.

Flow comes with "Hello World" injector, which can be replaced with any other payload source.

Requires serialport package to be installed before starting Node-RED

npm install serialport

Further background and details at http://blog.thestateofme.com/2013/12/30/pi-lite-with-node-red/

[{"id":"709199ac.8f6e68","type":"serial-port","serialport":"/dev/ttyAMA0","serialbaud":"9600","newline":"\\n","addchar":"false"},{"id":"79ac2e40.8653d","type":"inject","name":"","topic":"","payload":"Hello World","repeat":"","crontab":"","once":false,"x":96,"y":140,"z":"1da70e35.e258f2","wires":[["95caacb5.6a355"]]},{"id":"95caacb5.6a355","type":"serial out","name":"PiLite","serial":"709199ac.8f6e68","x":254,"y":140,"z":"1da70e35.e258f2","wires":[]}]

Flow Info

Created 11 years, 1 month ago
Updated 8 years, 11 months ago
Rating: not yet rated

Owner

Actions

Rate:

Node Types

Core
  • inject (x1)
Other
  • serial out (x1)
  • serial-port (x1)

Tags

  • PiLite
  • RPi
  • Pi
  • LED
  • serial
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option