Blue Melon
BlueSense

Blue Melon v.o.f. overgenomen door eMbed Engineering B.V.

Blue Melon gaat samen verder met eMbed Engineering onder de vlag van eMbed Engineering! Met het samenvoegen van beide bedrijven is een stabiele en slagvaardige organisatie ontstaan die flexibel is en garant staat voor kwalitatief hoogwaardige producten. Ons uitgangspunt hierbij is dat we u nu nog beter van dienst kunnen zijn in het ontwikkelen van elektronica. Het samenvoegen van beide bedrijven heeft ook geleidt tot een uitbreiding van het portfolio en een enorme toename van competenties. Competenties die uiteen lopen van hardwareontwikkeling op chipniveau, tot higher level embedded software op basis van embedded Linux met internet connectiviteit. Hierdoor zijn we in staat om met parate kennis de meest uiteenlopende projecten in korte tijd tot een succes maken.

Vanaf begin december is eMbed Engineering te vinden op www.eMbed.nl. Op onze vernieuwde website kunt u naast informatie over eMbed Engineering als organisatie een selectie van ons portfolio vinden. We hopen u met dit bericht volledig te hebben geïnformeerd over de ontwikkelingen bij eMbed Engineering. Als u vragen hebt over de situatie of de ontwikkelingen, dan kunt u ons uiteraard bereiken via onze contactgegevens.

Deze website wordt niet meer bijgewerkt, bekijk de nieuwe website van eMbed Engineering!

Products/BlueSense Pure Data/PWM outputs

From BlueMelon


Required: V2.0 firmware for BM7002 Bluesense digital outputs

This firmware is available on newly purchased modules. The firmware will be available for existing modules soon through an update utility which is currently in development.


This example demonstrates how the open collector output device can be used to generate PWM (Pulse Width Modulation) signals. Such signals can be used for example to simulate analog outputs or to dim lights.

pwm puredata.gif

First you need the block on the top to establish the connection between Pure Data and the BlueSense USB (wireless) router.

The middle block contains 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. Normally these outputs are configured as either on or off. By typing PWM as the third argument however you can configure up to 16 pins as Pulse Width Modulation outputs. The PWM signal has a frequency of about 1 kHz which is enough to dim lights. The duty cycle of each PWM pin can be adjusted via the Pure Data object.

"BlueSenseOCOutput 912 PWM A" chooses a Open Collector Output module with id 912 and allows the adjustment of the duty cycles of the PWM signals on side A. If you set the duty cycle of a pin to zero, the corresponding PWMis deactivated.

In this example 3 of the 16 pins are used as PWMs. A1,A2,A3 can be connected to a three leds which can be dimmed indepentdently by using the sliders.

For more information on PWM refer to PWM explained.


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


         

 

This page was last modified 12:46, 27 April 2006.