Blue Melon
BlueSense

Products/BlueSense Pure Data/Open collector outputs

From BlueMelon

This example demonstrates how the open collector output device can be used to switch external signals.

ocoutputpd.gif

First you need the area at the top to establish the connection between Pure Data 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 BlueSenseOCOutput objects represent the BM7002 Bluesense digital outputs 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.

The "open collector output" module has 16 outputs. In Pure Data you choose the eight outputs of the "A" side of the module by typing an A as second argument after BlueSenseOCOutput. By typing a B you choose the eight outputs of the "B" side of the module. An output can be switched on by inputting 1 on the corresponding input of the Pure Data object.

BM7002.gifBM7002 Bluesense digital outputs
16 open collector digital outputs (with PWM support)
€ 69,-


         

 

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