With the Xpee board

On the XPee board, it is easy to connect the resistor and the light sensor: