• EOL

BBMagic PWM - wireless PWM signal regulator

Index: BBM-15516

Wireless PWM signal controller communicating in Bluetooth Low Energy (BLE) standard. It is equipped with 3 PWM channels which can be used as an LED controller, DC motor speed controller and servo controller. The module's power supply voltage ranges from 1.8 to 3.6 V. Compatible with Raspberry.

BBMagic PWM - wireless PWM signal regulator
€14.90
€12.11 tax excl.
Unavailable
Discontinued product
PayPal payment
Manufacturer: BBMagic

Attention!

The product has been discontinued. Check others products incategory.

Product description: BBMagic PWM - Wireless PWM signal controller

Wireless PWM signal controller communicating inBluetooth Low Energy (BLE) standard. It is equipped with3 PWM channelswhich can serve as anLEDdriver, a DC motor speed controller and a servo controller. Power supply voltage of the module isfrom 1.8 to 3.6 V. The device is compatible withRaspberry.

BBMagic PWM - bezprzewodowy regulator sygnału PWM

The PWM signal controller is controlled by the Raspberry via Bluetooth.

Operating modes of the BBMagic PWM module - wireless PWM signal controller

The module can work in different modes. The modes of operation can be divided into normal and inverted modes, which can then be divided into the mode with and without gamma correction.

BBMagic PWM - tryby pracy

Name Mode of operation Pin 6 status (INV_CONF) Pin condition 14 (GAMMA CORR)

1

Gamma corrected PWM mode unconnected unconnected

2

PWM mode without gamma correction unconnected connected to GND

3

Reverse PWM mode with gamma correction connected to GND unconnected

4

Reverse PWM mode without gamma correction connected to GND connected to GND

Communication of BBMagic PWM module - wireless PWM signal controller

The module communicates viaBluetooth Low Energy, the communication is encrypted and signed digitally with theAES-128symmetrical block code. The device can communicate directly with RaspberryPivia Bluetooth Smart.

BBMagic PWM - bezprzewodowy regulator sygnału PWM

Wireless PWM signal controller.

Operation of BBMagic PWM module - Wireless PWM signal controller

When the BBMagic PWM starts up, it sends out"ALIVE"information every 60 seconds. If the module receives a change request, it sends the message "ALIVE" immediately after the received adjustments have been made. The buffer content is defined in a filebbmagic_lib.h library version 2.0. Sample programs can be downloaded frommanufacturer's website.

bbm_buf[BBMAGIC_DEVICE_TYPE]. Specify the type of module that sent the data.
bbmm_buf[BBM_PWM_V_SUP] In order to obtain the voltage in volts, the voltage of the module must be divided by 71.
bbmm_buf[BBMAGIC_PWM_ADV_TIME]. The time after which the next "ALIVE" message is sent, to get the result in seconds multiply the value by 2.
bbmm_buf[BBM_PWM_CHIP_TEMP] The temperature of the chip is given in degrees Celsius. Saved using U2 encoding.
bbmm_buf[BBM_PWM_LIGHT]. Lighting level. Range from 0 to 255.
bbmm_buf[BBM_PWM_CH0] Current PWM signal filling value of channel 0. Range from 0 to 100.
bbmm_buf[BBM_PWM_CH1]. Current PWM signal filling value of channel 1. Range 0 to 100.
bbmm_buf[BBM_PWM_CH2]. Current PWM signal filling value of channel 2. Range 0 to 100

bbm_buf[BBM_PWM_ADC_1_MSB]

bbm_buf[BBM_PWM_ADC_1_LSB]

Voltage level at input ADC_1 in mV. Older and younger bit.

bbmm_buf[BBM_PWM_WORKTIME_0].

The operating time of the module since the last power-on, expressed in seconds. Youngest bit 0.

bbmm_buf[BBM_PWM_WORKTIME_1].

The operating time of the module since the last power-on, expressed in seconds. Next bit 1.

bbmm_buf[BBM_PWM_WORKTIME_2].

The operating time of the module since the last power-on, expressed in seconds. Next bit 2.

bbmm_buf[BBM_PWM_WORKTIME_3].

Module operating time since last power-on in seconds. Oldest bit 3.

bbm_buf[BBM_PWM_FIRM_0]

Module firmware version, younger bit.

bbm_buf[BBM_PWM_FIRM_1]

Module firmware version, older bit.

bbm_buf[BBMAGIC_DEVICE_ADDR_0]]

Module address, youngest bit - LSB.

bbm_buf[BBMAGIC_DEVICE_ADDR_1].

Module address, next byte 1.

bbm_buf[BBMAGIC_DEVICE_ADDR_2].

Module address, next byte 2.

bbm_buf[BBMAGIC_DEVICE_ADDR_3].

Module address, next byte 3.

bbm_buf[BBMAGIC_DEVICE_ADDR_4].

Module address, next byte 4.

bbm_buf[BBMAGIC_DEVICE_ADDR_5].

Module address, oldest byte 5 - MSB.

bbm_buf[BBMAGIC_DEVICE_RSSI].

Radio reception power in dBm.

Power supply for BBMagic PWM module - wireless PWM signal controller

There are 2 ways to power the BBMagic PWM module

  • From any power source with an output voltage of 1.8 to 3.6 V through the wire solder pads numbered 7(+) and 8(-).
  • Through the stabilizer it is connected to pads marked 10(+) and 22 / 23 / 24(-) in TO-92 housing.

The manufacturer has prepared ashort guideshowing how to choose the power supply and stabilizer.

The manufacturer has prepared the source code of the application allowing to process data from BBMagic modules.

They are available on the manufacturer's website in theDownloadtab, additionally prepared a short guide for working withbbm_scanner application.

Outputs of BBMagic PWM module - wireless PWM signal controller

BBMagic PWM - bezprzewodowy regulator sygnału PWM

Pin Description

1,8,20,22,23,24

The weight of the system.

2

Configuration of radio transmission signaling:

  • Connection to ground: The built-in red LED indicates radio transmission.
  • No connection: the LED is switched off. The signalling pulses appear on pin 15. Alternatively, the LED can be connected with a serial resistor to pin 15 and 16. It is recommended to use a resistor between 1 kΩ and 4.7 kΩ.

3,4,5

PWM signal outputs.

6

INV_CONF configuration input:

  • Not enabled: PWM mode.
  • Connected: Inverse PWM mode.

7,21

Power inputs, supply voltage from 1.8 V to 3.6 V. The current consumption of the unit is 12 mA.

7,8,9

The pads are used to solder the stabilizer, in order to supply the module with higher voltage.

10

Power input for stabilizer with reverse polarity protection.
11,12 Soldering pads for 10 kΩ photoresistor.

13

ADC input. Voltage from 0 to 1.8 V. Resolution of 1 mV.

14

GAMMA CORR configuration input:

  • not enabled: gamma correction enabled.
  • connected to ground: gamma correction off.

15,16

Pads for connecting an LED with a serial resistor:

  • Pin 15 anode with resistor.
  • Pin 16 cathode with resistor.

17

START CONF configuration input

  • Connected to ground or pin 16: When power is turned on for 15 minutes, the PWM outputs are turned on.
  • Not connected: When power is turned on, the PWM outputs are off.

18,19

UART interface lines:

  • Pin 18 - TX.
  • Pin 19 - RX.
Permissible voltage range from 0 V to 5 V.

Specification BBMagic PWM - Wireless PWM signal controller

  • Power supply for the module:
    • Directly: 1.8 V to 3.6 V
    • Stabiliser: output from 2.5 V to 3.6 V
  • Three PWM channels with a choice of gamma correction
  • PWM signal phase configuration - PNP and NPN transistor controllable
  • Monitoring the state of the supply voltage
  • Light detector: pads for solder 10k photoresistor
  • ADC transmitter: 0 V to 1.8 V
  • Chip temperature measurement
  • Radio communication indicated by an LED
  • Encrypted and digitally signed communication

Voltage to 1.8 V
Voltage from 3.3 V
Package width 2.7 cm
Package height 4.6 cm
Package depth 0.7 cm
Package weight 0.005 kg

Be the first to ask a question about this product!

Customers who bought this product also bought:

Products from the same category: