Wireless sensors optimised into MAX

Anthony Brooks's icon

I have three 3D profile infrared sensors that I want to be received wireless into Max to map to MIDI etc - is there any 2017/18 best solution for this -
I plan to put a DIN connector for hardwire testing of MIDI on the sensor box also but really want the option of wireless noiseless good distance sensing. Thanks for any input - Tony

musinou's icon

What is your sensor?

Anthony Brooks's icon
diablodale's icon

Setting aside the OS question, what remains is a great number of unknowns. For example:

  • What data is output by the bespoke sensor and in what method/format? Meaning, what is its electrical interface, physical interface, protocol interface, etc.?

  • How fast does the above data appear on the output? How is it retrieved, polled, etc.?

  • What distance do you want/need between the sensor and the computer? It is on another continent? Different city? 2km away? 10m away? 30cm away?

I could go on, but I hope you get the inquiry space. Here is an example using the Kinect v2 sensor as an example...

I want to receive wireless data from a Kinect sensor into Max to map to MIDI. The sensor outputs data on a USB3 connector over USB3 superspeed 5Gbit/s. The sensor declares itself as a series of standard USB video devices for its RGB, IR, and Depth camera feeds. Each of those feeds provide new frames at approximately 30 frames/sec. The RGB feed is a bayer array, the IR is a 12-bit monochrome, etc. I want to receive this data at the same 30 frames/sec from 2km away. etc. etc.

With similar info for your bespoke sensor, we can provide some ideas. Though, I suspect you yourself are the source of this because your sensor is custom and therefore you control/define the interface to the sensor.

Rodrigo's icon

I've used and been quite happy with the x-OSC from x-io. Not super cheap, but easy to use (especially in Max), configurable from a browser, highres I/O etc...

Anthony Brooks's icon

Many thanks to all - the bespoke sensor was made for me by Vince de Franco - many years ago - Vince made the original D-Beam for Interactive Light/Roland devices (more recently working on Mandala drum), so I don't have the answers to the "unknowns" in line with the Kinect example given by Diablodale. But this response certainly made me understand that I know too little on this topic. Thanks for information also on x-OSC from x-io Rodrigo, I didn't know of them (even though I am from UK), so good to get that info and will certainly explore. I also have BLE BITalino board that may be worth exploring if will work....
Thanks again

gdsports's icon

It is possible to build a DIY 9DOF WiFi sensor using an ESP8266 board, 9DOF board, and Arduino OSC and 9DOF libraries.

diablodale's icon

If you have the time and patience you could try random tests. Using an arduino or maybe the x-OSC to probe, test, experience, look-at, nope that doesn't work, try the other idea, etc.

For example, here is a quick IR detect patch for Arduino
http://www.righto.com/2010/03/detecting-ir-beam-break-with-arduino-ir.html

and several pictures/posts on similar topics
https://tr.pinterest.com/explore/arduino-ir/

If you can see all the individual electronics on the sensor, you might be able to reverse-engineer it. You can read all the model/part numbers and then find online documentation for those parts. And with all that information together, you might be able to understand both how it works :-) and how to communicate with it.