Controller output changes from 0.5 to 0.8, when connecting to load

britto:
As per the logic I done in code, the controller output I should get is 0.5. I tested in open loop with multi Meter and got 0.5. But when I connect to load, and getting 0.8V. why this problem comes and how to correct it?

If the load is between the output and supply, say 5V, then that can be expected.
What is the load?
Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?
Thanks.. Tom.. :slight_smile: