Multi-functional wall detector