|
Post by Eran on Jun 12, 2017 10:46:11 GMT -8
Hey guys,
Just got my new usb power control. I am new to the hardware world and i would like some assistance in connecting the board to my pi zero. My goal is to shutdown my WIFI until i give the commend to turn it on. I connected the GPIO pin 18 to the usb power control pin and then entered the commands to get high voltage out from that pin but nothing have happened. I have seen the instructions on the internet but still can't figure out what is wrong. this is my code:
import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) GPIO.setup(18,GPIO.OUT) GPIO.output(18,GPIO.HIGH)
|
|
|
Post by SDL on Jun 15, 2017 19:05:51 GMT -8
You need to make sure you have a common ground in the system. Make sure that the ground on the USB Power Control is connected to the Ground on the Raspberry Pi (using a Pi2Grover would do this for you).
No common ground - no signal will work.
BP
|
|
|
Post by SDL on Jun 15, 2017 19:07:51 GMT -8
Oh, and which USB Power Control do you have? Attach a picture. The original USB PowerControl required a > ~3.7 V on LIPOBATIN for it to trigger. Tough to do with a 3.3V GPIO pin directly from the Raspberry Pi.
We don't understand where you connected your GPIO 18 on the USB PowerControl.
BP
|
|
|
Post by Ari on Feb 25, 2020 14:22:50 GMT -8
Oh, and which USB Power Control do you have? Attach a picture. The original USB PowerControl required a > ~3.7 V on LIPOBATIN for it to trigger. Tough to do with a 3.3V GPIO pin directly from the Raspberry Pi. We don't understand where you connected your GPIO 18 on the USB PowerControl. BP Hi, I purchased the 0042-112116-01 on Amazon (this past week) and all the IOs appear to require the ~3.7V input (versus 3.3V). Did the changes ever get made to production? I would like to control the GROVE lines using the GPIO on my Raspberry Pi 4 to control the VBUS of downstream devices. Thanks, Ari
|
|
|
Post by SDL on Feb 25, 2020 17:02:03 GMT -8
Ari, The Grove inputs will respond correctly to 3.3V highs and lows. Make sure you have a common ground connected. They are 3.3V/5V compatible. The LIPOBATIN line requires ~3.7V and is designed to connect to LiPo batteries in general. You have the latest version of the UPB PowerControl Board. There is no version 3.0 of that board. Only version 2. Here is the product page with the specification link. shop.switchdoc.com/products/usb-powercontrol-board-v2-w-grove-control-usb-to-usb-solid-state-relay-for-raspberry-pi-and-arduinos-v2If you are trying to use the Grove connector inputs to shut the USB PowerControl board on and off, please pay special attention to the truth table for the Grove inputs in the specification. BP BP
|
|