interfacing a sensor

You do not need A1 if you use that circuit I posted. Just connect it up like the schematic tells you to.