photocell and potentiometer examples