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 Max MSP/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 maxmsp.gif

First you need the block on the top to establish the connection between Max MSP(tm) 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 Max MSP 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 15 of the 16 pins are used as PWMs. A1,A2,A3 can be connected to a three color led, just as A4,A5,A6 A7,A8,B1 B2,B3,B4 and B5,B6,B7. A1, A4, A7, B2, B5 must be connected to the red component of the corresponding leds. A2, A5, A8, B3 and B6 to the green component and A3, A6, B1, B4 and B7 to the blue component. The 'mood' generator can be used to generate random led colors. Refer to PWM explained for more info on pulse width modulation.


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


         

 

This page was last modified 10:26, 9 May 2006.