There’s a new app for iOS called Stepping In & Out that uses iBeacons to remind you when you move into or out of an area containing a beacon.
The source code is available on GitHub. It provides an example how to create an app using Swift that triggers when going into and out of zones. This can also be used for commercially oriented applications.
The W2 advertises iBeacon, Eddystone and acceleration. It’s rechargeable via USB and can be configured to provide continuous, button triggered or motion triggered advertising.
The acceleration sensor is the STMicroelectronics LIS3DH that’s configurable for scales of up to ±2g/±4g/±8g/±16g.
Bluetooth tags/beacons detect the position of people and assets. Software maps jobs, valuable tools, parts, sub-assemblies and people onto your floor plans or maps.
The main uses are:
Searching. Knowing the location of something such as a piece of equipment, parts, stock, pallets, a job or person without ringing round. Locating expensive, shared, equipment so fewer spare assets are required to cover an area.
Security. Alerting when people or assets enter or leave an area.
Protection. Detecting quantities such as temperature and humidity for sensitive items that can spoil.
Process Control. Knowing where things have been. Knowing what happened at a particular location. Knowing when measured values exceeded their expected range.
Bluetooth LE is particularly suitable because it is:
Real Time. Better than barcode scans and NFC tags where the data is only as up to date as the last successful manual scan.
Compatible. Bluetooth LE works with existing devices such as smartphones, tablets, laptops and desktops.
Inexpensive. Commodity hardware is more affordable than non-standard technologies such as ultra wideband (UWB).
The end result is reduced downtime, less time re-ordering or re-making things that have been lost, optimum productivity and better use of skilled staff doing their job rather than searching for assets and people.
Flutter is Google’s UI toolkit for building native applications for mobile, web, and desktop from a single codebase. There are plugins that add functionality to Flutter. One such plugin is the beacon_plugin that makes it easier to scan and range iBeacons on iOS and Android. The plugin is open source on GitHub.
Occasionally, our customers ask for things we didn’t expect, contradictory requirements or requests that require unusual solutions. Here are some examples:
We were once asked for the beacons we considered to be least attractive. The idea was that they were going to be rolled out into a busy public space and would otherwise easily get spotted and stolen. Small, black beacons turned out to be the solution.
We are often asked what’s the best beacon for Android (or iOS) development. There actually isn’t a best one as they all advertise similar data. Instead, the best beacons are those that can be easily turned on and off to test triggering.
Some people ask for mains powered beacons. We aren’t aware such products exist. Instead look at USB beacons that can be powered by USB mains adapters.
It’s often the case people want the longest possible battery life and the smallest possible beacon. These two factors are mutually exclusive because a large battery is required for a long battery life. It’s necessary to either decide which is the most important or compromise on both factors.
We are sometimes asked to recommend beacons that have the best iOS and/or Android SDK. In these cases the best SDK is no SDK.
These examples demonstrate what’s right for one project isn’t necessarily right for others. This is why we stock the widest beacon range in the World.
You might wonder whether USB beacons can be used to enable desktops/laptops or any USB device to receive beacon transmissions.
USB beacons don’t work this way and only use the USB connection for power. A few such as the Minew U1 have UART USB serial support that can be used to control the beacon but it still doesn’t detect beacons. It beacon only sends and doesn’t receive.
U1 UART Beacon
What you need is a ‘Sniffer’ such as the ABSniffer 528. It scans for Bluetooth devices and sends the data via USB to the device powering it.
ABSniffer 528
Alternatively, look for a standard Bluetooth dongle that that supports Bluetooth Low Energy (LE) and an associated programming API for ESP32, Raspberry Pi, Windows or Linux.
Beacons with an on off button are popular for product/app development because they allow testing of going into and out of range without actually physically doing so. They also allow the battery to be turned off to save power when the beacon isn’t being used for testing.
K21 With On-Off Button
However, don’t solely rely on the button for testing the beacons as they go out of and into range. Actually do some tests at the edge of the detection area. Determine how your app behaves as it continually sees the beacon appear and disappear, particularly on Android where, unlike iOS in background, the OS doesn’t impose a period that a beacon has to be out of range before it’s considered seen again. On iOS, also test at the edge of detection when the app is in background or not.
Another way of hiding beacons is to use a Faraday bag:
We often get asked the question which beacons are compatible with iOS and Android. All beacons, whether iBeacon, Eddystone or sensor beacons can be used with iOS and Android. The compatibility is achieved through the implementation of common Bluetooth standards on these mobile platforms.
However, there are some caveats:
Android only supported Bluetooth LE as of Android 4.3. Older devices can’t see Bluetooth beacons. Over 95% of users are on Android 4.3 or later so most people can see beacons.
Apple iOS doesn’t have background OS support for Eddystone triggering. While iOS apps can scan for, see and act on Eddystone beacons, the iOS operating system won’t create a notification to start up your app when there’s an Eddystone beacon in the vicinity.
Rather than beacons being compatible with iOS/Android, we find that there are more problems with particular Android devices not seeing beacons, when in background, due to some manufacturers killing background services.