I would like to control USB LED currently pluged into power socket from my Pi.

I understand that it is not possible to simply switch ON/OFF given USB port on Pi. So is there some way, I could modify the USB cable for example to then switch it ON and OFF via GPIO connection or something like that?


  • What type of USB LED? Is this just an LED light or something like the blinkstick with a microcontroller? Control how simply turn off and on via the Pi? – Steve Robillard Jul 4 '16 at 20:23
  • @SteveRobillard it's this one: gearbest.com/electronics-gadgets/pp_280338.html Yes just ON/OFF control, not brightness or other stuff – Filip Jul 4 '16 at 21:07
  • Any idea what the power requirements of your light are? – Mohammad Ali Jul 5 '16 at 6:54
  • Here budgetlightforum.com/node/37323 guy says he measured 0.25A, but I think this is the old version without switch on it. – Filip Jul 5 '16 at 8:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.