Electrical – voltage regulator giving lower output than expected

voltage-regulator

I asked this question on the IoT Stack Exchange, but was directed here.

I am pretty new to electrical components, but I have been a software developer for years and want to get into hardware and use it as a hobby around my house.

I recently acquired some motion lights and I thought that I would add an esp8266 to it so that I would be notified when motion is detected (when the light goes on).

So, I took the light apart, soldered a line onto the neutral wire (white) and one on ground (negative line of LED in the circuit), and measured it's voltage, which is 10.5 V when the light is off and 8v when the light is on. I need 3.3 V to power the esp8266 so I put in the LD33V voltage regulator like I have used in previous projects to go from 5 V to 3.3 V to power an esp8266.

However, when I do it this time, I get 1.47 V coming out of the VOUT and not 3.3 V. I've tried multiple LD33V regulators, and other voltage regulator models, and everytime the voltage is lower than 3.3 V.

I'm not sure why that would come out lower than 3.3 V if the input is well over that. Why would the regulator take out more than it should? I've searched the internet and not found an answer, so I am hoping that someone can explain why this occurs and how I can remedy that.

Best Answer

It appears that your neutral and ground have an "offset" voltage of about 1.8V DC. So, when you measure the output of the regulator, you only see about 1.5V.

There is definitely a serious problem when neutral and ground are not at the same voltage level. It appears that your voltage converter is one of those cheap, non-isolated supplies and it is very dangerous to use in earth-grounded circuits. If you grab the lamp and your feet are wet, you could end up electrocuted!