Using lopy4 as beacons
-
Hello
How are you doing?
I am a new user of the pycoms modules. I am trying to make a beacon with a lopy4.
Has anyone already worked on such an idea?
I'm also open to suggestions about the procedure.
Thanks
-
@jcaron thanks and sorry for the delay
I’ll check it.
-
@Gratias-TCHEGNON it’s just a matter of configuring the module to start advertising the data you want. See https://docs.pycom.io/firmwareapi/pycom/network/bluetooth/#bluetoothset_advertisementnamenone-manufacturer_datanone-service_datanone-service_uuidnone for details.
But note this requires the module to remain active (i.e. not in deep sleep), which in turn means it cannot be battery powered (or it won’t last very long at all).
If you want a battery powered beacon you’ll probably have to look into other devices.
-
@jcaron
I want to do the beacon using BLE.
-
@Gratias-TCHEGNON A beacon using what technology? BLE? Something else?
Do you need it to be battery powered?