I've been adding block detection around my layout in preparation for adding signalling and automation, so thought I'd go through what I've done and what I've learnt. Also, at the end, I've tried to demonstrate it all in action.