My question has 2 parts,
First of all I cannot turn it on using gpio in my pi. I connected pin 2 (5v), pin 6 (GND), pin 3 (IN1), pin5 (IN2). I don't hear any audible click when I run the following script.
Code: Select all
#!/usr/bin/python import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) # init list with pin numbers pinList = [3, 5] # loop through pins and set mode and state to 'high' for i in pinList: GPIO.setup(i, GPIO.OUT) GPIO.output(i, GPIO.HIGH) # time to sleep between operations in the main loop SleepTimeL = 2 # main loop try: GPIO.output(3, GPIO.LOW) print "ONE" time.sleep(SleepTimeL); GPIO.output(5, GPIO.LOW) print "TWO" time.sleep(SleepTimeL); GPIO.cleanup() print "Good bye!" # End program cleanly with keyboard except KeyboardInterrupt: print " Quit" # Reset GPIO settings GPIO.cleanup()
Does anyone know how to connect wires on high voltage side. I am particularly curious about the 120v~250V connectors in the center which in the circuit connects to c1Isolated Power board. If I explain differently, each relay has 4 connectors on the High voltage side, 1NC, 1NO, 1Common and 1 120~240V. I am curious to know how this 120V is connected.
I greatly appreciate if any input from anyone aware of this kind of relays and how they can be connected to control 120V voltage.