We need to count pigs moving through a chute that has a door. Each pig pushes the door open fairly slowly and then the door slams shut to prevent the pig from turning around. We want the "slam shut" part to trigger the counter +1. We will have a bluetooth enabled device with an accelerometer attached to the door.
Bluetooth device info : [url removed, login to view]
We need an Android app that interacts with this device via it's API using Bluetooth.
- This software will need to have a mechanism to connect to the Bluetooth device. We have multiple chutes and each chute will have it's own Android based tablet used to view the counter so the software needs to be configurable to each device and not hard coded to a specific one. The idea will be that we use a separate copy of this software on 4 separate android tablets that each monitor their own chute.
- The main display needs to simply be one big readout of the counter.
- We need a way to reset the counter to zero each morning,
- Each door may open/close with a different amount of force so we need some way to set a threshold on the accelerometer movement that signifies a trigger. We need this threshold something we can adjust using program. For example, we want to avoid the situation where the device triggers the counter as the pig pushes the door open, which isn't a very forceful act, but only triggers when the closes with a significant amount of force. This will let us fine-tune the counter for each chute.
8 freelancer bu iş için ortalamada 559$ teklif veriyor
I have developed apps using fragments/ViewPager, and multithreading with AsyncTask. Please check my Android apps in PlaySore https://play.google.com/store/apps/developer?id=emTap