- On sale!
Product description: BBMagic Motion - Wireless PIR motion detector
The wireless PIR motion detectordetects movement of any object whose temperature is higher than absolute zero within a range of 120° over a distance of 4 / 5 m. It communicates viaBluetooth Low Energy (BLE).The module is RaspberryPicompatibleandis powered from 2.7 Vto 3.3 V.
The module is equipped with a PIR motion sensor.
BBMagic Motion - Wireless PIR motion detector
Pin | Description |
---|---|
1,8,20,22,23,24 |
The weight of the system. |
2 |
Configuration of radio transmission signaling:
|
3,4,5,6 |
Four active digital inputs, sampled each time just before data is sent. |
7,21 |
Supply voltage from 2.7 V to 3.6 V. |
21,22 |
Soldering pads for the CR2032 battery holder. Pin 21(+) and pin 22(-). |
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,14 |
Analogue-to-digital converter input ADC_1 and ADC_2. Allowable voltage range from 0 V to 1.8 V. Resolution of 1 mV. |
18,19 |
UART interface lines:
Allowable voltage range from 0 V to 5 V. |
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 to working withbbm_scanner appplication. |
Operation of BBMagic Motion module - Wireless PIR motion detector
When BBMagic Motion detects movement in the monitored area, it will immediately send information about the event to Raspberry Piusingthe Bluetooth communication interface, then it remains insensitive to the objects appearing for 10 seconds. After this time, monitoring will resume. The content of the buffer is defined in the file bbmagic_lib.h. For sample programs, seethe manufacturer's website.
bbmm_buf[BBMAGIC_DEVICE_TYPE] | Specify the type of module that sent the data. |
bbm_buf[BBM_MOTION_FLAGS] | Flags indicate object detection (oldest bit), a setflag BBM_MOTION_ALERT_MASK indicates object detection. |
bbm_buf[BBM_MOTION_V_SUP] | The current supply voltage of the module must be divided by 71 to obtain the voltage in volts. |
bbm_buf[BBM_MOTION_CHIP_TEMP]. | Chip temperature given in degrees Celsius (encoding U2). |
bbmm_buf[BBM_MOTION_LIGHT]. | Lighting level. Range from 0 to 255. |
bbmm_buf[BBM_MOTION_ADC_1_MSB]. bbm_buf[BBM_MOTION_ADC_1_LSB] |
Voltage level at input ADC_1 in mV, older and younger byte. |
bbm_buf[BBM_MOTION_ADC_2_MSB]. bbm_buf[BBM_MOTION_ADC_2_LSB] |
Voltage level at input ADC_2 in mV, older and younger byte. |
bbmm_buf[BBM_MOTION_WORKTIME_0]] | The operating time of the module since the last power-on, expressed in seconds. Youngest byte 0. |
bbmm_buf[BBM_MOTION_WORKTIME_1]. | The operating time of the module since the last power-on, expressed in seconds. Next byte 1. |
bbmm_buf[BBM_MOTION_WORKTIME_2]. | The operating time of the module since the last power-on, expressed in seconds.Next byte 2. |
bbmm_buf[BBM_MOTION_WORKTIME_3] | Module operating time since last power-on in seconds. Eldestbyte 3. |
bbmm_buf[BBM_MOTION_FIRM_0]] | The firmware version. Junior byte. |
bbm_buf[BBM_MOTION_FIRM_1] | Firmware version. Older byte. |
bbm_buf[BBMAGIC_DEVICE_ADDR_0] | Module address. Youngest byte 0 - 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. Another byte 4. |
bbm_buf[BBMAGIC_DEVICE_ADDR_5]. | Module address. Eldest byte 5 - MSB. |
bbm_buf[BBMAGIC_DEVICE_RSSI]. | Received radio signal power in dBm. |
Communication of BBMagic Motion module - Wireless PIR motion detector
The module communicates viaBluetooth Low Energy,the communication is encrypted and signed digitally with the AES-128 symmetrical block code. The device can communicate directly with Raspberry PiviaBluetooth Smart.
BBMagic Motion module - Wireless PIR motion detector.
Specification BBMagic Motion - Wireless PIR motion detector
- Power supply for the module:
- Directly: 2.7 V to 3.6 V
- Stabiliser: output 2.5 to 3.6 V
- Battery CR2032 - after soldering the handle
- Soldering place for photoresistor
- Monitoring of power supply voltage status
- PIR motion detector:
- Angle: 120°
- Range: approx. 4 / 5 m
- Light detector: pads for solder 10k photoresistor
- ADC transmitter: 0 V to 1.8 V
- Radio communication indicated by an LED
- Encrypted and digitally signed communication AES-128
- Dimensions: 46 x 22 mm
Useful links |