-1

I searched the forum but didn't get a clear answer.

I have a "LED tinsel" powered by an USB plug. I tried connecting a 5V pin of my RasPi3 GPIO to the "+" pin of the USB plug, and a ground GPIO pin to the "-". It works. I tried connecting a 3.3V pin to the "+" (and ground to "-"). It works. But trying to power the tinsel by connecting a GPIO pin set to "OUT" to the "+" and a ground pin to the "-" doesn't works.

What am I missing ?

You can guess that I would like to activate/deactivate power of the tinsel from programming.

Thanks !

3 Answers3

1

When the GPIO pin is set to OUT mode, it can be in two states, LOW or HIGH. Have you put your pin into HIGH state? If yes, then it's possible that the GPIO doesn't provide enough current to power a LED tinsel.

A6EE
  • 73
  • 8
1

What you are missing is a specification: "How much current does your LED Tinsel require to operate?" Give us that info, and we can give you a definitive answer - without it, we have to guess - and that's a waste of everybody's time, no?

I Guess:

The GPIO pin can not supply enough power to drive your LED Tinsel. You can do some research on that. You might start by reading this Q&A.

Seamus
  • 23,558
  • 5
  • 42
  • 83
0

The solution was to set the OUT mode to HIGH !

goldilocks
  • 60,325
  • 17
  • 117
  • 234