Hello, I have a problem with the micro USB port, as a rule it should return electricity. The photo of the fan shows that such a thing is possible.
This is my question, how to connect the diode using the micro usb port on the phone so that it lights up, except that the diode has 2v and consumes a current of 20 mA + for this the appropriate resistor that I have already used.
I connected the diode to the first pin VCC + 5v VDC and the minus to pin 5 GND. I also tried to connect it the other way round, but with poor results.
Below, there is a table illustrating the microusb pins.
I hope I have described everything very well. I asked for help, I tested it on 2 phones, one Samsung galaxy s6 and my mother's other, I don't remember what she has.

This is my question, how to connect the diode using the micro usb port on the phone so that it lights up, except that the diode has 2v and consumes a current of 20 mA + for this the appropriate resistor that I have already used.
I connected the diode to the first pin VCC + 5v VDC and the minus to pin 5 GND. I also tried to connect it the other way round, but with poor results.
Below, there is a table illustrating the microusb pins.

I hope I have described everything very well. I asked for help, I tested it on 2 phones, one Samsung galaxy s6 and my mother's other, I don't remember what she has.