Code Monkey home page Code Monkey logo

node-red-contrib-atgpio's Introduction

node-red-contrib-atgpio

A collection of Node-RED nodes to Configure ADVANTECH IIoT GPIO driver.

Notice that an Advantech IIoT Platform SDK have to be installed to make this node works correctly. Advantech IIoT Platform SDK download link is shown below:

Windows: https://github.com/Advantech-IIoT/Platform-SDK/tree/master/windows/bin

Linux: https://github.com/Advantech-IIoT/Platform-SDK/tree/master/linux/bin

Install

Use npm command to install this package locally in the Node-RED modules directory

npm install node-red-contrib-atgpio

or install it globally with the command

npm install node-red-contrib-atgpio -g

Nodes included in the package

GPIO Info : GPIO information node. Generates a msg.payload in JSON format including Pin number, Mode(In/Out), Value(High/Low) of each GPIO pin.

GPIO input : GPIO input node. Set the selected GPIO pin to input and then read the value from it.

GPIO output : GPIO output node. Set the selected GPIO pin to output and then write a value to it.


Example

demoflow

Please refer to demo.json for more detail.

Tested Platform

  • Windows 10 Enterprise LTSC with node.js 18.14.1

History

  • 3.0.1 - June 2023 : fix bugs in DIO device
  • 1.0.5 - October 2017 : Initial Release

License

Copyright 2023 ADVANTECH Corp. under the Apache 2.0 license.

node-red-contrib-atgpio's People

Contributors

yuchun-chen-adv avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.