Arduino Xbee to Max

gwsounddsg's icon

Hey folks,

I am trying to have a sensor on an Arduino with an Xbee wirelessly send data to a Max patch. Every tutorial I've read online shows either 2 XBee's, or 1 Xbee connected to a cloud service. Is it possible to use just 1 XBee to send data to a Max computer on a static LAN?

Thanks
GW

enrico wiltsch's icon

Ethernet shield?
Or if you mean wireless, arduino fio? (It is an arduino with zigbee module shield and battery plug-in).

gwsounddsg's icon

It's an Arduino Uno with an XBee on an XBee shield.

Shield: https://www.sparkfun.com/products/12847

Christopher Overstreet's icon

you have to send the Xbee signal to another Xbee of the same type (series 1 or 2). There are shields with usb that plug into the computer (xbee explorer from sparkfun). Then you have to parse the data, using max serial object or something else, then if you still want to you can re-transmit the signal over your LAN using OSC or something.

gwsounddsg's icon

That's what I was hoping to overcome. Thanks for the info Chris.

Luke Woodbury's icon

How about just using OSC from a Wifi enabled Arduino? I've been using the Huzzah boards like so http://www.dotlib.org/blog/2018/1/16/feather-huzzah-32-osc-esp32

gwsounddsg's icon

Oooooo, I've never heard of those! I'll have to pick one up.

sandroid's icon

@Luke woodbury: have you managed to write to huzza-32 using max? your example only reads from it, doesn't it?