Can't get expected readings using PulseIn command

What do you mean by this? A photo of your wiring might help.