how to make proximity sensor with ir and bc547 transistor