several months ago i installed a BLTouch using the ramps board and repetier firmware.
Used BLTouch as Z-Min.
The first step is hardware connection:
wiring: 3-pin cable: brown-> GND, red -> 5V, Orange - servo pin of board2-pin cable: black -> GND, white -> Z_Min-Pin
configuration.h: I think, minimum is:
FEATURE_SERVO 1
SERVO0_PIN 5
SERVO0_NEUTRAL_POS -1 (other than yours)
Check commands to control BLTouch
(The two ups and downs after power on are just selftest, no control signal is necessary for this. But GND and 5V seems to be ok in your case if this happens)
M340
P0 S700: Probe
Start --> Needle down
M340
P0 S1500: Probe
End --> Needle up
M340
P0 S1800: Self test start --> needle up/ down in endless loop
Self test stop: for example M340
P0 S1500
M340
P0 S2200 : Alarm Release (Cancel Error status)
After Alarm Release (should be part of your start script you need a brake until Proe start is sent. For example I have:
M340
P0 S2200
G4 P310
M340 P0 S700
If the commands do not work, you need to check the servo pin at your board (must be an pwm signal). Can the board drive the 5V for the servo? (max 300mA)
Do you use BLTouch as Z-Min? If yes, the Z-Min settings are wrong. At my printer, if the BLTouch is in error state, sends 4,2V to Z-Min pin of board which means, that Z_Min is reached and Z-Homing stops.
Hope this helps!