Hello,
i want to control a linear actuator with my RevPi RO. My actuator extends with the RO being 1001, and detracts with 0110. It worked in the beginning, but now when i set my Outputs it only flickers and doesnt stay in the wanted configuration. This also happens without any load on the relays. I can set the outputs via sudo commands, but with my python code it only flickers, and gets hot after awhile.
Any help would be appreciated
Greetings Niklas
RevPi Ro
Re: RevPi Ro
Hello Niklas,
As a first step to diagnose the problem, I'd recommend testing the RO directly without using Python, by using piTest:
(adjust the variable names according to your PiCtory configuration)
You can also check the current status of your RO module with:
If the relay works properly with piTest commands, then the issue is likely in your Python code. In that case, you should review your code logic...
The fact that the module gets hot suggests there might be rapid switching occurring, which could damage the relays over time.
Let me know how the piTest approach works for you, and if needed, feel free to share your Python code so we can help identify the issue.
As a first step to diagnose the problem, I'd recommend testing the RO directly without using Python, by using piTest:
Code: Select all
piTest -w Output_X,1
piTest -w Output_X,0
You can also check the current status of your RO module with:
Code: Select all
piTest -C <RO-address>
The fact that the module gets hot suggests there might be rapid switching occurring, which could damage the relays over time.
Let me know how the piTest approach works for you, and if needed, feel free to share your Python code so we can help identify the issue.
Mit freundlichen Grüßen | Best regards | Muchas gracias
Ramiro Gsponer.
Ramiro Gsponer.