15

I have a data logger board with a SIM808 on it. It has Bluetooth 3.0 capability by the SIM808. The board itself implements a battery management system, capable of performing weight, humidity and temperature measurements and also can detect device displacements. All collected data is transferred by GPRS connection to a remote server.

The device itself can be installed into beehives, but it would not be cost effective to have a SIM card for hundreds of hives. So this will only act as a master, that have data logging capabilities as well beside the GPRS capability.

Thus, I am planning to implement slave boards without the SIM808 modules. So instead of the SIM808, a simple wireless communication unit is needed to enable local, wireless communication between the hives.

The master would query all the slaves for their data, and then it would transfer everything via GPRS.

It should look like this, only with a hundred hives:

enter image description here

Now the possibilities for local wireless communication:

  1. Bluetooth, as I said the master device already have Bluetooth 3.0. But I am not entirely sure that Bluetooth is the right way to query a hundred slave for 1 kBs of data.
  2. The master device has an I2C bus, so I can connect I2C compatible ZigBee or other RF module which could be added to the slave boards as well.

Collectable data from slaves won't exceed 1 kB/query.

So all in all can I stay at Bluetooth or should I add ZigBee for example to my devices or are there any other options?

Some more details:

  • range is max 30 meters
  • also as the devices are battery powered, a solution with low power consumption would be good
  • the master would run a query in every 15 mins

The main goal is to make the master able to query the slaves efficiently, and this should be done without modifying the PCB of the master. The two possibilities are Bluetooth 3.0, which is already available for the master, or other technologies that I can connect to the master board via the I2C bus of the on-board MCU. (I do not insist on using Bluetooth, it was the starting point because I already had a BT 3.0 by the SIM808.)

enter image description here

Bence Kaulics
  • 7,843
  • 8
  • 42
  • 90

3 Answers3

8

From the perspective of power usage, Bluetooth 3.0 does not seem like a viable choice, given your constraints.

Let us assume that you want to transmit data for 2 seconds every minute, and then sleep for the rest of the time. Given your range requirements of 30 metres, you will likely need to use a Class 1 Bluetooth Radio:

Class 1, primarily for industrial use cases, [have a range of up to] 100 metres (300 ft). Bluetooth Marketing qualifies that Class 1 range is in most cases 20–30 metres (66–98 ft)

I would imagine the lower range would occur in situations where there was not a clear path for the radio transmissions, and perhaps in challenging radio environments. Outside, I would imagine this is less of a problem.

So, assuming the above is true: you will be transmitting for 1/30th of an hour, at approximately 100mW during the transmission phase.

Hence, per hour, you will consume approximately 0.00333 Wh of energy. For comparison, a 'long-life' alkaline AA battery stores around 2.6 Wh of energy. Therefore, your battery would last about 30 days with Bluetooth 3.0, which isn't really bad, but could be a lot better.

These calculations are all very rough, but they should be in the ballpark if the assumptions are correct. EE Times suggests that 5% of the time transmitting is on the high end, and my estimate of 2 seconds / minute is roughly 3.33%.


Bluetooth Low Energy (BLE) might be more viable; this page suggests 10mW power for a 77m range, which would give a battery life closer to 1 year (325 days, more precisely!). However, this would require new hardware, which is, admittedly, a disadvantage.

As I mentioned in a comment, this sort of setup seems perfect for a mesh network, and that should reduce your range requirements significantly, since you won't have to transmit 30 metres to the hub, just 2 or 3 metres to the next beehive. In that case, you could probably get away with a much less powerful radio, which would save battery life.

It may be worth considering one of the mesh protocols such as ZigBee or the new BLE Mesh protocol, which would both suit your use-case well.

Aurora0001
  • 18,520
  • 13
  • 55
  • 169
6

I have document some aspect of BLE low power aspects as a response to What is the difference between Bluetooth Low Energy and Bluetooth BR/EDR in Park mode?. Here are is a suggestion.

Looks like a SIM808 has a serial interface. So I suggest integrate the SIM808 module with a Dual Mode Class 1 BLE such as KC-5170. I think you could use a single mode BLE too.

SIM808 Serial Interface

SIM808 Serial Interface

KC5170 Serial Interface

KC5170 Serial Interface

Configure above is a master device, with BLE Class 1 single mode devices as slave devices.

BLE Master Salve Proposal

I suggest using a BLE Class 1 Single module such as the BR-LE4.0-S2A. I believe an unlimited amount of slaves can be connected to the master (needs conformation)

Also below is simplified block diagram of BLE dual and single mode.

BLE 4.0 Configuration

BLE power consumption Graph

BLE Power Consumption Graph

I suggest reading references for additional details.

Update (1/22/2017): Base on the provided information not too sure the available GPIO's, SPI bit banging might be another option to connect to SPI based BLE module. A I2C base big banging tutorial is attached for you reference.

Another option is to use BLE SOC such as TI CC2640, which supports I2C. The compromise is the device is a class 2 device.

CC2640 BLE
Click on image for a larger version of the image.

References

Mahendra Gunawardena
  • 1,550
  • 11
  • 30
5

Alternatively it might be worth to consider wireless Hart (Highway Addressable Remote Transducer). This is a 2.4GHz ( license free frequency band) Smart mesh networking technology that uses 802.15.4 standard. WHart use direct-sequence spread spectrum technology and needs at minimum three main components. Namely wireless devices, gateway and network manager.

Wireless hart network

Click on image for a larger version of the image.

Additionally depending on the network, security manager, adapters, and handheld terminals can be added.

Dust network offers a SOC option and some of them have I2C interface. Attach below is a links to some of the datasheet. Unfortunately my knowledge on this technology is pretty limited thus warrant further research.

References

  1. LTP5901-IPM/LTP5902-IPM
  2. WirelessHART - How it works
Mahendra Gunawardena
  • 1,550
  • 11
  • 30