Relay integration
#2
(08-15-2016, 06:08 PM)vigor Wrote: Any leads how to integrate Pine64 with a relay switch, to turn things on and off from a script ? Linux version is fine, no Android required. 
I would need both wiring diagrams and software, any leads appreciated.
Looking to automate a thing in garage.

As I recall from programming on Arduino, relays are super simple just require a GPIO pin to be set to high or low and the relay responds accordingly.  I think that the first question that you need to ask is how to control a GPIO pin on the Pine64.  I have not done this, but I am sure that many have and so I would start by searching the forums on that.

Regarding the wiring, as I recall, it needs ground at GPIO pin and power.  It is really quite simple to wire and there are many examples on the Internet.

Update:
I am not sure what language you are using, but here is a good thread talking about a Python library. http://forum.pine64.org/showthread.php?tid=723
  Reply


Messages In This Thread
Relay integration - by vigor - 08-15-2016, 06:08 PM
RE: Relay integration - by jl_678 - 08-17-2016, 03:48 PM
RE: Relay integration - by MarkHaysHarris777 - 08-17-2016, 04:22 PM
RE: Relay integration - by vigor - 08-21-2016, 09:37 PM
RE: Relay integration - by pfeerick - 08-22-2016, 03:27 AM
RE: Relay integration - by MarkHaysHarris777 - 08-22-2016, 07:40 PM
RE: Relay integration - by vigor - 08-22-2016, 08:41 PM
RE: Relay integration - by MarkHaysHarris777 - 08-22-2016, 09:21 PM
RE: Relay integration - by Boring - 08-22-2016, 10:11 PM
RE: Relay integration - by MarkHaysHarris777 - 08-22-2016, 10:20 PM
RE: Relay integration - by Boring - 08-23-2016, 12:35 AM
RE: Relay integration - by pfeerick - 08-23-2016, 06:11 AM
RE: Relay integration - by MarkHaysHarris777 - 08-23-2016, 12:50 AM
RE: Relay integration - by MarkHaysHarris777 - 08-23-2016, 06:57 AM
RE: Relay integration - by vigor - 08-25-2016, 01:17 AM
RE: Relay integration - by MarkHaysHarris777 - 08-25-2016, 01:42 AM
RE: Relay integration - by pfeerick - 08-25-2016, 06:53 AM
RE: Relay integration - by MarkHaysHarris777 - 08-25-2016, 11:07 AM
RE: Relay integration - by vigor - 08-25-2016, 03:30 PM
RE: Relay integration - by MarkHaysHarris777 - 08-25-2016, 08:35 PM
RE: Relay integration - by pfeerick - 08-25-2016, 09:48 PM
RE: Relay integration - by MarkHaysHarris777 - 08-25-2016, 09:58 PM
RE: Relay integration - by vigor - 09-04-2016, 03:25 PM
RE: Relay integration - by pfeerick - 09-05-2016, 12:27 AM
RE: Relay integration - by MarkHaysHarris777 - 09-04-2016, 09:00 PM
RE: Relay integration - by MarkHaysHarris777 - 09-05-2016, 11:33 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)