Jump to content
Sign in to follow this  
CyberT

How to use DO on Node-Red (tinkeros-gpio)

Recommended Posts

Dear Sir

We are testing Tinker Board 2 with Debian 10 V2.0.3 and Node-Red v2.2.2
and we found contrib-tinkeros-gpio on Node-Red can get GPIO input from Tinker Board 2
but error when send GPIO output as below picture.

If you have experience to solve this case, could you please share for me

image.png   IN OUT.png

DO setting.png

DO error.png

 

Refer GPIO input work

Input setting.png

Input work.png

Node-Red V.png

 

Share this post


Link to post
Share on other sites

Hi @CyberT:

     The config table's naming of asus gpio input and output node are for Tinker Board S. And, the packages are development by third party member(https://github.com/tinycore-hisanori/node-red-contrib-tinkeros-gpio). But, i think it is compatible with Tinker Board 2 about gpio pin number.

You can replace the attachment file to /home/linaro/.node-red/node-moduels/red-contrib-tinkeros-gpio/nrgpio.sh file and asus output node would work by add sudo permission for Tinker Board 2.

Please help to try and verify it. 

Thank a lot!

 

nrgpio.sh

  • Thanks 1

Share this post


Link to post
Share on other sites

Hi @yi-hsin_hung 
 

Thank you very much for your information and help to modify nrgpio.sh for me.
we stop node-red service and replace the nrgpio.sh (attachment file) to /home/linaro/.node-red/node-moduels/red-contrib-tinkeros-gpio/nrgpio.sh file
then start node-red service again and found asus output node can work properly on Thinker Board 2 
I think your nrgpio.sh file very helpful to make Thinker Board 2 control DO, DI with Node-Red easily.
 

Image1.PNG  

Image3.PNGImage4.PNG

Share this post


Link to post
Share on other sites

Hi 

I have the same issue with tinker edge R, I replaced the attached file but still GPIO don't work in nodered

Thanks in advance 

 

Edited by Mamoun

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...