input voltage drop after connect to voltage regulator LM7805cv
Using a voltage power regulator is not a right idea for voltage translation. According to the device internal diagram, it has effectively 47k of output impedance when it is OFF (output is HIGH), and 10-12 Ohms when active ON. When you load the 47k output with LM7805, it sucks all available current and voltage drops low.

The simplest way to get 5V pulses out of this device is to simply use ~33k resistor to ground (assuming 12V power supply). If you need more powerful signal, you can use, say, 2k resistor pull-up to 5V power rail of your MCU or whatever you are using to acquire the switch information.