An iPad app which collects animal weights from a Bluetooth scale, and saves the data to a Google Firebase database for integration with BarTender experiment weights.
-
iPad M1 Air or better, of just about any capacity
-
a USB-C charger with cable to charge the iPad
-
Etekcity Nutrition Scale model # ESN00 (Bluetooth kitchen scale)
-
Stand for iPad, e.g. "AboveTEK Elegant Tablet Stand, Aluminum iPad Stand Holder"
-
Cart to hold iPad in stand, Bluetooth scale, lab notebook, and/or the cage of the animal being weighed
-
Macintosh with Xcode development to compile PointOfScale source
TODO: inset photo of ipad/scale/cart setup
The XCode project in GitHub includes the necessary Swift package dependency for https://github.com/firebase/firebase-ios-sdk , which should be fetched and loaded when the app is built.
In console -> "Project settings" -> "General" tab:
-
Under "Your Project" copy "Web Api Key" to enter in "Settings" of BarTender and PointOfScale apps.
-
create an iOS+ "Apple app" for PointOfScale, with Bundle ID com.bcybernetics.PointOfScale
-
In console -> "Authentication" -> "Sign-In Methods" tab: enable Email/Password
-
In console -> "Authentication" -> "Users" tab: add user with email and password
-
enter this email and password in "Settings" of the PointOfScale app.
-
copy GoogleService-Info.plist into PointOfScale project
At the moment, the easiest way distribute PointOfScale isto connect the iPad to the Mac used for development, and build the app with the iPad selected as the target. (The iPad may need to be registered as a development device in your Apple developer account.) This local deployment of the app should be usable for at least 90 days.
An app store version of PointOfScale should be available soon.