How to connect Xbee module (series 1) with wild thumper controller

Iam trying to connect Xbee module (series 1) with wild thumper controller using (pins D0,D1)

i have used XBEE explorer from sparkfun to regulate 5V from wild thumper controller to 3.3V to operate the xbee module

but i need to now how to set XBEE explorer at programming mode to upload my code ,then how to set it at xbee mode to work as a reciver from my joystick ??

My connections :

Vcc at XBEE explorer     >>  middle pin at wild thumper conroller

GND at XBEE explorer   >>  outside pin at wild humper controller

DIN   at XBEE explorer   >> D0 pin (towards the processor) at wild thumper controller

DOUT at XBEE explorer  >> D1 pin (towards the processor) at wild thumper controller

DSCF0318.jpg

DSCF0372.jpg