The giving of the half shekel was an atonement for the sale of Joseph. The sale of Joseph was a result of the hatred that the brothers had towards him. We rectify that by giving a half a coin that symbolizes that we are incomplete and only when we join and become one with another Jew can we be considered complete