×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Relays.....

  • Posts: 74
  • Thank you received: 1

Relays..... was created by Terry

Hi, I want to connect relay card to my raspi. I started with indi_usbrelay2_roof, which uses HID connection. It worked fine then the driver stops recognising the card. Tried a complete rebuild etc, but no change. The relay card works fine through windows and using crelay on linux. I also have 2 sainsmart usb cards. Both of these run under crelay as well. Is there any way of makong thes run under indi? Crelay site-https://github.com/ondrej1024/crelay. the command that is used is crelay [-s <serial number>] -i | [<relay number>] [ON|OFF]. Is there a way of calling this command from within indi/ekos?
Thanks Terry
The following user(s) said Thank You: Andrew
4 years 4 months ago #46197

Please Log in or Create an account to join the conversation.

  • Posts: 2255
  • Thank you received: 223

Replied by Gonzothegreat on topic Relays.....

Hi Terry,

Look into my roof driver and modify the code to use the "crelay" command. Also make sure you do wire up the relays correctly... only 1 should be active at a time,
3 years 6 months ago #61064

Please Log in or Create an account to join the conversation.

Time to create page: 0.331 seconds