{"product_id":"usb-power-switch-pro-kit-for-pico","title":"USB Power Switch Pro Kit for Pico","description":"\u003cp\u003eThis handy kit enables power to a USB device (Chromecast\/Raspberry Pi\/USB Fan\/USB light\/etc) to be turned on\/off by a Raspberry Pi Pico or Pico W!\u003c\/p\u003e\n\u003cp\u003eThe board can be used with either a Pico W for WiFi-enabled control or using a regular Pico when using sensors or button inputs. A great match for our squid button cables!\u003c\/p\u003e\n\u003cp\u003eExamples using CircuitPython are provided.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eNote: Requires soldering of Pico\/PicoW (not supplied) and USB Type-A socket (supplied but unsoldered).\u003c\/strong\u003e\u003c\/p\u003e\n\u003ch2\u003eConnectors\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eMicro USB* - Power input \/ USB Data connected to output USB Type-A Socket.\u003c\/li\u003e\n\u003cli\u003eMicro USB* (Pico) - Power input \/ USB Data connected to Pico.\u003c\/li\u003e\n\u003cli\u003e3-in 0.1\" pin header (GND\/GP13\/GP12).\u003c\/li\u003e\n\u003cli\u003e4-pin SH - I2C STEMMA QT\/Qwiic compatible (GND\/3v3\/GP26\/GP27).\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e[*] The micro USB ports are intentionally back to back to prevent both being connected at the same time.\u003c\/p\u003e\n\u003ch2\u003eExample usage\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eSimple push\/slide switch at the end of a (long) cable, using internal pull-up on the Pico\u003c\/li\u003e\n\u003cli\u003eInternal temperature sensor triggering a USB fan when reaching a temperature\u003c\/li\u003e\n\u003cli\u003eI2C CO2 sensor triggering a light\u003c\/li\u003e\n\u003cli\u003eWireless controlled Sleep function for Chromecast\/Monitor\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eYou can find example CircuitPython scripts on Github.\u003c\/p\u003e\n\u003ch2\u003ePins \u0026amp; power\u003c\/h2\u003e\n\u003cp\u003ePower for the output USB ports is controlled using GP2 (high=on), the other pins have been chosen to increase the usefulness of the board for those who may want to take advantage of the alternate functions.\u003c\/p\u003e\n\u003ctable width=\"450\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd width=\"87\"\u003e\u003cstrong\u003eGPxx\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"133\"\u003e\u003cstrong\u003ePort\u003c\/strong\u003e\u003c\/td\u003e\n\u003ctd width=\"230\"\u003e\u003cstrong\u003eFunctions\u003c\/strong\u003e\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eGP12\u003c\/td\u003e\n\u003ctd\u003e3-pin header\u003c\/td\u003e\n\u003ctd\u003eUART0 TX \/ I2C0 SDA \/ SPI1 RX\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eGP13\u003c\/td\u003e\n\u003ctd\u003e3-pin header\u003c\/td\u003e\n\u003ctd\u003eUART0 RX \/ I2C0 SCL \/ SPI1 CSn\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eGP26\u003c\/td\u003e\n\u003ctd\u003e4-pin SH\u003c\/td\u003e\n\u003ctd\u003eA0 \/ SPI1 SCK \/ I2C1 SDA\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eGP27\u003c\/td\u003e\n\u003ctd\u003e4-pin SH\u003c\/td\u003e\n\u003ctd\u003eA1 \/ SPI1 TX \/ I2C1 SCL\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003ch3\u003ePlease Note\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eFOR USE ONLY WITH 5 VOLT\u003c\/strong\u003e supplies and devices - Using anything else may damage your power supply\/charger\/USB devices and the USB Power Switch Pro board.\u003c\/li\u003e\n\u003cli\u003eUSB data lines are connected at all times to either Pico or Output USB port depending on which micro USB port is used.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eResources\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\nExamples (CircuitPython)\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"8086","offers":[{"title":"Default Title","offer_id":43643812642877,"sku":"qoc1789696499470","price":3.23,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0658\/9716\/8957\/files\/usb-power-switch-pro-kit-for-pico_1.jpg?v=1789696504","url":"https:\/\/laser-engraved-clasp.shop\/products\/usb-power-switch-pro-kit-for-pico","provider":"My Store","version":"1.0","type":"link"}