Also I should be using pin 2 on serial as the input? and pin 5 to ground?