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.
Additionally we will need step-by-step directions on how to load the software onto our android tablets.
Android Software version on the tablets is 4.1.2
One additional note: The doors sometimes bounce when they close so I'll need to add a filed where we can set a delay so that when it triggers it ignores any new readings for X milliseconds. That way we can go in and say that after it is triggered ignore any readings for 500 milliseconds or 2000 milliseconds or whatever.
7 freelancers are bidding on average $618 for this job
I have developed apps using fragments/ViewPager, and multithreading with AsyncTask. Please check my Android apps in PlaySore [url removed, login to view]