This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf51822 to transmit beacon upon user signal

Hello

I plan to use two Bluefruit LE Micro devices that contain the nrf51822 as BLE beacons. I also plan to use a BLE receiver (on another arduino) to receive the beacons and also be the home automation hub. for my application, I need the BLE beacons to transmit very fast (about 20-50 times a second) and ONLY upon user request (since I want to synchronize them both not to transmit on the same time) so i need something like : wait 10 msec, ask beacon1 to transmit, wait 10 msec, ask beacon2 to transmit, wait 10 msec, ask beacon1 to transmit, and so on...

can this be done with nrf51822 ? what is the easiest way to achieve this?

Thanks a lot Okmi

Parents
  • FormerMember
    0 FormerMember

    In order to synchronize the beacons, they will have to be connected some how, either by wire or by a BLE connection.

    BLE connection between the beacons: When using S130, a device can have multiple roles simultaneously, a device can for instance be a central and/or peripheral together with broadcaster (advertising, beacon). In your case, one of the beacons can be master+broadcaster and the other can be a slave+broadcaster. The master beacon can for instance be triggered to start advertising upon a user request. If the master beacon starts to advertise, it will advertise for a given time (advertising timeout). When it has finished advertising, it can for instance write to a characteristic in the slave beacon, to trigger the slave beacon to start advertising.

    Is there a reason why the two beacons cannot advertise at the same time? It is not any problem for a central to detect multiple advertising devices at the same time.

Reply
  • FormerMember
    0 FormerMember

    In order to synchronize the beacons, they will have to be connected some how, either by wire or by a BLE connection.

    BLE connection between the beacons: When using S130, a device can have multiple roles simultaneously, a device can for instance be a central and/or peripheral together with broadcaster (advertising, beacon). In your case, one of the beacons can be master+broadcaster and the other can be a slave+broadcaster. The master beacon can for instance be triggered to start advertising upon a user request. If the master beacon starts to advertise, it will advertise for a given time (advertising timeout). When it has finished advertising, it can for instance write to a characteristic in the slave beacon, to trigger the slave beacon to start advertising.

    Is there a reason why the two beacons cannot advertise at the same time? It is not any problem for a central to detect multiple advertising devices at the same time.

Children
No Data
Related