XBee AT communication between PC and Arduino -


i need send data (an integer) arduino c program on pc. know connection fine, because x-ctu works perfectly. need in @ mode don't know how start.

if you're using xbee modules in @ mode, isn't different you'd have direct serial cable connection between arduino , pc. sample programs demonstrating serial communications both platforms.

having connection working x-ctu excellent starting point, since have confirmed radio modules communicating correctly.

on pc, might want @ open source xbee host library on github. includes sample program called "xbee_term" demonstrates simple serial terminal using xbee in @ mode. has layered api allow easy use of xbee modules in api mode -- need use if pc going communicate multiple arduino nodes running in @ mode.

as sending int, can use sprintf() format string send on wireless link, , strtol() convert int on pc end.


Comments

Popular posts from this blog

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -