I am trying to use an old phone charger with 5V DC output. I measured the output to be 6.4V.
It works for powering an ESP8266 through VIN but does not work to power an IR receiver I want to use.
The receiver works when I power it through a different source (5V or 3V and ground from an Arduino.) It also does not work when I use one of the pins of the ESP8266 which gives me 3.3V when I measure it. It is also not working when I use 5V from the Arduino and ground from the phone charger (or vice versa.) This last bit confuses me most because I assumed which ground I use does not make any difference but perhaps I lack some basic knowledge here.
Finally, when I try to measure the current across the Arduino V5 out and the phone charger ground, it gives me 7V AC, and some really low DC voltage. I am rather convinced I am clearly lacking some understanding here. Can anyone explain this behavior to me?
Finally, if there is an easy fix to this to get the IR receiver working, I would be more than interested.
EDIT: I finally got the IR receiver working. It actually works with both 6.4V and 3.3V but I went for 3.3V sourced directly from the LDO on the board. The problem I had before with this was that the GPIO I used to receive the signal is not working. I might have damaged it previously somehow. As far as I understand, the ESP8266 GPIOs can handle 5V and perhaps also 6.4V (?) input. The board I am using does not have a pin for 3.3V out so I soldered I wire directly to the LDO, which I am not sure is a good idea but it is working (perhaps there should be a capacitor in-between).