@mrsyfo said in Expansion board with 5v drivers:

i think i have figured it out, the pwm pins on the breakboard of heater 7 are equivalent to PWM5 so im thinking that the correct code for me is the next one:

Z-Probe
M574 Z1 S2 ; Set endstops controlled by probe
M307 H7 A-1 C-1 D-1 ; Disable heater on PWM channel for BLTouch
M558 P9 H5 F120 T6000 ; Set Z probe type to bltouch and the dive height + speeds
G31 P500 X0 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
M557 X15:11 Y15:195 S20 ; Define mesh grid

am i right?

Yes you are right, and you need P7 in the M280 commands the deploy and retract the pin.