Blue Melon
BlueSense

Products/BlueSense Pure Data/Rotary

From BlueMelon

rotary encoder.jpg Rotary encoders


The BM7001 Bluesense digital switch inputs module can be used to readout switches, rotary encoders and counters. The patch below demonstrates the use of rotary encoders. It is also possible to combine functions. Eg. have some inputs configured as switches, others as rotaries or counters.

First you need the top area to establish the connection between Max MSP(tm) and the BlueSense usb (wireless) router. Set the metronome interval to 2 ms or more and enable the metronome. You must send the update message to detect which modules are connected. The update message will also display which devices have been found. The object in the centre represents the digital input module. The first argument of the module is its identification number. Every BlueSense module has its own identification number which never changes. The id can be found on the module itself, and can also be found by checking the module table of the BlueSenseMaster component.


switchinput rotary pd.gif

The BM7001 can be used to keep track of the position of several rotary encoders. A rotary encoder uses up two inputs, so in total you can connect six rotary encoders to one module. In Pure Data you can read out a rotary encoder by configuring the module. Type "Rotary" as the second argument. The third argument determines which two inputs are used as a rotary encoder. As an example "BlueSenseSwitchInput Rotary A12" wil read a rotary connected to inputs A 1 and A 2, "BlueSenseSwitchInput Rotary B34" will read a rotary input from B3 and B4. The following options are possible: A12, A34, A56, B12, B34, B56


BM7001.gifBM7001 Bluesense digital switch inputs
12 schmitt trigger switch inputs, rotary support
€ 69,-


         

 

This page was last modified 11:07, 9 April 2006.