The output is DC, depends on the batteries voltage. But it is usually
6.4v. Well I tried the circuit with the zener diode. I get 5v at the output. But as soon as I place the microcontroller input pin, that voltage just sink to 1.4v and the controller do not read it. If I put the input pin directly on the output of the 7805 regulator (5v) then it reads it as 5v. I used a 150ohm resistor afterwards, that did not work. why is that ?