I have some Problems connecting a Relay to the ardunio:
I Need to Switch a 12 V device with a relay, so first i have connected VCC and GND from the relay directly to the arduino.
Then i connect the 3rd pin to D8 (also tried analog pin) to the arduino.
Then i configured pimatic using homeduino by switching PIN 8
Everything went good so Long. I restarted pimatic, and tried to Switch the pin via pimatic.
And the first 2 tries where OK, but then i got “failed to open Serial port” and i have to restart the raspberry.
Any ideas what is wrong here ? I also tried to connect the relay via external 5V device, but still got the problem on the first 2 switches.