Pingsensor and Xbee

Anyone can let me know how to make as below?
I don't know much about this techniques,,, so i need you guys helps.
Thanks :slight_smile: