Assistance needed for sensor integration of MIO module.

Show the world your Revolution Pi project!
Post Reply
Ajinkya09
Posts: 12
Joined: 11 Jan 2024, 06:27
Answers: 0

Assistance needed for sensor integration of MIO module.

Post by Ajinkya09 »

Dear support team,

I am working on a project involving sensor integration with MIO module for real time data monitoring from Node RED. could you provide guidance on MIO integration with python on revpi, and is any specific libraries in python for communicate input, output pin?? or directly mention pin number in python code.
User avatar
dirk
KUNBUS
Posts: 1948
Joined: 15 Dec 2016, 13:19
Answers: 4

Re: Assistance needed for sensor integration of MIO module.

Post by dirk »

Very interesting about your project.
When you write real-time data, I have a bit of a stomachache because you have to determine performance-dependent data empirically yourself.
In other words, you have to find out your own pain threshold in terms of latency.

It's best if you split the application 2 things into Node-RED and everything else.
But to work with Node-RED, you have to do "everything else" first ;)

The most helpful is the tutorial on how you can put the MIO Module into operation.
https://kunbus-gmbh.atlassian.net/servi ... 3052863645

The process image is at the heart of application development.
From there, you can access your data via all programs from the userspace.

Create an Exec Node and access the data as under the shell, e.g. via "piTest -1 -q -r MyVariable".
Here is the documentation on how to create the application
https://revolutionpi.com/tutorials/crea ... pplication

[edit]
Alternatively there is this project node-red-contrib-revpi-nodes which is already on the RevPi available
https://flows.nodered.org/node/node-red ... evpi-nodes
Post Reply