Sketch help? Several sensor inputs and outputs, use analog or digital pins?

@TrailerTrash: Your signature is a bit much. It is distracting when trying to read your posts.