node-red-contrib-yarm

Node-RED nodes to talk via USB port with a YarmDev board and then to a remote Yarm node via ISM 868MHz

Main scope

The main scope of this project is to provide an easy way to use the Yarm modules as remote controlled nodes using a ISM 868MHz crypted link.

GitHub repository

Installation

Clone the git repository in your Linux PC:

git clone https://github.com/tanzilli/node-red-contrib-yarm.git

move inside the .node-red directory in your home:

cd ~/.node-red

create a symbolic link:

npm install ../node-red-contrib-yarm

and restart Node-RED:

sudo systemctl restart node-red

the new node yarm tx and yarm rx will be available on Node-RED palette list under function section.

Use

yarm tx input

msg.payload

{
    "address": (0...255),
    "cmd": "gpioset" | "gpioreset",
    "portid": (0..1),
    "msgid": (0...255)
}   

Serial out format

| address  | cmd     | portid   | msgid    |
|----------|---------|----------|----------|
| 0x01     | 0x01    | 0x01     | 0x01     |

0x00 gpioreset
0x01 gpioset

0x0 GPIO 0
0x1 GPIO 1

Links

Development links

Sergio Tanzilli (Autore - Progettista hw & sw - Imprenditore - Musicista dilettante, classe 1964)
Fondatore di Area SX srl, Acme Systems srl e del TanzoLab, si occupa dal 1974 di elettronica digitale, dal 1978 di microprocessori, dal 1992 di microcontroller, dal 1995 di Linux e pubblicazioni su Web, dal 2005 di progettazione, produzione e commercializzazione di schede Linux Embedded.
http://www.tanzilli.com - http://www.acmesystems.it - https://github.com/tanzilli - sergio@tanzilli.com