I have a circuit to control my doorbell but Voltage on pin is too low

I see a push button (doorbell switch?) with a 330ohm resistor in series, connected between pin and ground.

Did you use INPUT_PULLUP in pinMode?
Leo..