pulseIn() returning values from 0-36 regardless of pulse length

Whoops - sorry about that! I'm a bit tight on time, so sorry about the late reply and not redrawing the diagram. I've updated the diagram as follows though, where E1 is connected to pin 2 from between the anode and pull-down resistor, and i switched E2 around after looking up the orientation and realizing i was just a bit of an idiot.

I saw another reply mentioning using an oscilloscope, and it's very possible that the signal isn't the constant DC i was expecting, but getting a whole oscilloscope is a bit out of my price range right now, so i'll have to wait another month and a half for university to start again to use theirs.