Blue Melon
BlueSense

Products/BlueSense Pure Data/Bipolar stepper motor

From BlueMelon

This patch demonstrates the use of the BM7008 Bluesense stepper motor driver module from Pure Data.

bipolairstepper pd.gif

At first, you need the above objects to be able to establisch a connection between Pure Data and the BlueSense USB (wireless) router. Activate the metronoom. Then send the update message to detect the connected modules in the network. De found modules are being displayed in the PD screen.

The object in the middle represents the bipolar stepper motor control module. The first argument of the BlueSenseStepper module is the identification number (adress). Every BlueSense module has its own unique identifier. This id can be found on the module itself and is also available in the BlueSenseMaster table.

In Pure Data the right input of the object can be used to set the speed of the stepper motor. A positive value means clockwise rotation, a negative value means counter clockwise rotation.

The moduel can be configured by sending a "config" message. This message has 5 parameters.

  • The amount of current in miliAmpere. This value should be in the range of 1 to 1500.
  • Autostop: 1 --> The motor is automatically turned off when an endswitch is closed. 0 --> No automatic motor stop.
  • Halfstep: 1 --> The motor makes half steppes in stead of fullsteps. With this option it is possible to turn the motor more smooth. 0 --> The motor operates in fullstep mode (faster).
  • Wave drive: 1--> Wave drive enabled. This option can reduce the sound the motor produces. 0 --> Wave drive disabled.
  • Fast decay: 1 --> Fast decay enabled. 0 --> Slow decay.

Connect

BM2001.gifBipolar stepper motor
Connecting a bipolar stepper motor


Module

BM7008.gifBM7008 Bluesense stepper motor driver
control a bipolor stepper motor rated up to 1 Ampere
€ 79,-


         

 

This page was last modified 15:27, 13 August 2007.