Sections
You are here: Home Forum Max/MSP xbee and max - looking for value manually

xbee and max - looking for value manually

Up to Max/MSP

xbee and max - looking for value manually

Posted by Claude Frenette at August 19. 2008

Hi,

In MAX, sending "/analogin/0/value" to the mc.usb object report the actual value on the analogin 0. What is the command to report the actual value of a sensor plug in the analogin 0 of the xbee pro module?

Thanks

Claude

Re: xbee and max - looking for value manually

Posted by Liam Staskawicz at August 20. 2008
The easiest way with the XBees over OSC is to turn on Xbee autosend and then grab the appropriate value out of an io packet. See the io16 info at http://www.makingthings.com/ref/firmware/html/group___x_bee_o_s_c.html for more details.

Re: xbee and max - looking for value manually

Posted by Claude Frenette at August 20. 2008

Hi Liam,

Thanks for this answer. I already did an object in max to do that task base on the mc.analogin. Is quite simple. I was hoping a way to look at one value at the time and use metro to controll bandwith just like the mc.analogin.

thanks.

Claude

Re: xbee and max - looking for value manually

Posted by Liam Staskawicz at August 21. 2008
Hi Claude - it doesn't work quite the same way with the XBee modules. As I understand it, there's not a way to query the inputs on the XBee modules. You can only configure them to send values to you at a certain frequency. If you really only want to see the values at a certain time, you could of course use a gate object in Max to specify when to let them through.
Powered by Ploneboard
Document Actions