I am also trying to read analog and digital ports on unipi to collect sensor data from few sensors. I was also just wondering if we can do it in the same way like we do it on raspberry pi using a python script. I can see that even you wanted to do something like that. I have also gone through evok api but they seem to be specific models. I dont think using that we can directly read analog and digital I/Os on unipi. Can you please suggest any ideas if you were successful doing that?
dear @raedhammad, people should definitely know what they are going to face, but blaming our solution without knowing what went wrong...
As stated previously, please continue in the email communication so we have just one point where to talk so we can discuss all your issues there. We can then past the conversation here if other might want to read through.
@jiriletak Dobrý den, LED světla obecně se chovají kvůli integrovanému zroji tak, že špičkový proud při sepnutí může přesahova ti třicetinásobek proudu při běžném odběru. Rozhodně nedoporučujeme tedy takovétho zátěže připojovat přímo na RO našich jenotek a raději to řešit pomocí spínacích prvků k tomu určených. Naše RO jsou míněna jen jako ovládací, pro další silové spínací prvky.
Ok; took me quite some time, but I just did manage to read out the sensor values.
Leaving this here as future reference; the involved PIR sensor was the Jablotron JS-20 Largo. A small schematic was provided with the sensor out of the box, but the key find for me was that the sensor outputs also need to be wired up to the 12V power source; see adapted schematic and pictures.
Thanks a lot for the schematics, since they really made it possible for me to reverse-engineer the setup.
your calculations are in order. With the tests we did above, I am afraid you received a PLC with wrong calibration data. The calibration is a way how to ensure that when you set a desired voltage through Modbus registers, it will in fact set the correct voltage on the terminal connectors. The calibration process is one of many throughout the assembly of the unit. The calibration is done on our testbenches and it means you have to send the unit back to us. We sincerely do apologize for this.
Please send me ([email protected]) your number of order for this PLC and I will get back to you with further information.