Post by michaelr747 on Dec 22, 2019 21:02:59 GMT -8
Hello, I received my USB Power Control V2 in the mail, quick postage to .au . I first came across the USB controller on Amazon (see pic) and am wanting to do similar, that is, control a usb submersible pump via the usb controller which is connected directly to RPi3 USB - using python script. I have taken the time to read the pdf documents but am still unsure. At this stage I have connected up similar to pic-1 but the pump does not turn on. The code below is from another user and am wondering if it would be suitable.
import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) GPIO.setup(13,GPIO.OUT) GPIO.output(13,GPIO.HIGH)
Post by michaelr747 on Dec 23, 2019 22:06:40 GMT -8
Hi BP, Thanks for getting back to me so quickly. The photo in my previous post is a set up from a customer review on Amazon, I was unable to work out the wiring layout from the pic. Attached are (2) photos of my set up, appreciate any assistance working this out. Many thanks Michael