Blue Melon
BlueSense

Products/BlueSense Pure Data/Servo motor controller

From BlueMelon

This patch shows you how to use the BM7004 Bluesense servo controller module from within Pure Data.

servo pd.gif

First you need the components in the top area 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 area on the bottom contains the servo motor controller module. The first argument of the BlueSenseServo 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 servo module has eight outputs. In Pure Data these are represented by the eight inputs with which you can set the corresponding motor angle in eight bits accuracy. The offset message can be used to tweak the range of the servo motors (range 0-255).

BM7004.gifBM7004 Bluesense servo controller
8 servo motor PWM outputs
€ 79,-


         

 

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