black
b30 vss input high
b31 5volt output for sensors

You might got lucky both circuits should have protection for short to battery.