Phase 1

Interface with Optical sensor on  switch 5