Livestock GPS Tags — Tracking Cattle for Estrus, Illness, and Theft in Kenya
Wearable collars with GPS and motion sensors detect when a cow is on heat, when she is sick, where she is, and whether she is being stolen. What the hardware...
Livestock GPS Tags — Tracking Cattle for Estrus, Illness, and Theft in Kenya
A dairy cow that is in heat for 18 hours and you only see her for 30 minutes at evening milking — that is the gap GPS-and-motion livestock tags close. Across pastoralist herds, the same tags catch the early signs of disease before any visible symptom, and trigger an alert when a cow's location wanders off the grazing area at 2am.
This post is about wearable livestock tags — what they cost, what they detect, and how much of the Kenyan herd-management problem they actually solve.
What a livestock tag is
A typical farm-IoT livestock tag is a small, sealed unit attached to a collar around the cow's neck or to a leg band. Inside:
- A GPS receiver (for location)
- An accelerometer (for movement and activity)
- A temperature sensor (for body temperature, in some tags)
- A LoRa radio (to send data back to your farm brain)
- A small battery — typically a LiPo cell, since 18650s are too bulky for a collar The tag wakes every few minutes, records its readings, transmits over LoRa, and goes back to sleep. Battery life is typically 1–3 years on a single charge with normal reporting.
The collar itself needs to be durable: leather, heavy-duty nylon, or rubberised. Avoid plastic — it cracks within months.
What the tag actually detects
1. Heat detection (estrus)
A cow on heat behaves differently — she mounts other cows, gets mounted, walks more, eats less. The accelerometer picks this up clearly.
Detection accuracy in field deployments:
| Detection method | Heats caught | False positives |
|---|---|---|
| Visual observation, 2× daily | 50–60% | Few |
| Visual observation, 4× daily | 70–80% | Few |
| Tail paint / kamar | 75–85% | Some |
| Accelerometer tag | 90–95% | Moderate (a vigorous calf can trigger) |
For a dairy farmer with 5+ cows, missing a heat means waiting 21 days for the next cycle — KES 3,000–8,000 in lost milk production. Catching one extra heat per year per cow typically pays back the tag cost within months.
2. Illness detection
Sick cows move less. They lie down more, walk shorter distances, ruminate differently. The tag spots this 12–48 hours before you would.
Practical alerts the system can raise:
- "Cow 14 has reduced activity for 36 hours — check her"
- "Body temperature above 39.5°C — possible mastitis or other infection"
- "Lying time has tripled over two days — possible lameness" Catching mastitis 24 hours earlier often means treatment with antibiotics costing KES 800 instead of losing a quarter or losing the cow.
3. Location and theft
GPS gives you a real-time location. For Kenyan pastoralist contexts, this is the primary value:
- "Cow 7 is more than 500m outside the normal grazing range"
- "Group of three cows is moving northeast at 3am" (theft signature)
- "Cow 22 has been stationary for 6 hours in a non-resting area" (injured or down) Locator tags have already become standard in some commercial dairy and pastoralist operations. The economics are simple: one prevented theft of one breeding cow (KES 80,000–250,000 in central Kenya beef breeds or premium dairy) pays for a year of tags on the entire herd.
4. Activity and grazing patterns
Over weeks, the tag builds a picture of:
- Total daily steps (cow 12 is walking 25% less than herd average — investigate)
- Grazing time (cow 5 grazes less than peers — possibly lower productivity)
- Resting patterns (changes can flag environmental issues — too hot, too crowded) This is data you can correlate with milk yield, body condition, and feed intake recorded at shira.farm. The combined record — sensor + manual logs — is far more powerful than either alone.
What the system looks like
Cow collar (LoRa tag) ─────► Farm brain (Pi 4) ─────► Your phone | | (WhatsApp alerts, | | live map view) | | GPS + accelerometer Database of all readings + temperature + rules (heat, illness, geofence)
Each cow transmits a small data packet every 5–15 minutes during the day, less frequently at night. The Pi at your homestead receives all of them via a single LoRa antenna mounted high (on the roof or a pole) for maximum range.
Realistic range for tag-to-brain LoRa:
- Open grazing land: 3–8 km
- Bushland with scattered trees: 1–4 km
- Hilly or forested terrain: 0.5–2 km For most smallholder Kenyan dairies, a single antenna covers the entire grazing area. For pastoralist setups with cows wandering 10+ km, a second LoRa gateway at a strategic ridge can extend coverage.
Cost per animal
Tags are the most expensive per-unit hardware in the farm-IoT toolbox. A typical fully-built tag costs USD 40–60 (KES 5,200–7,800) in components.
| Component | Cost (USD) |
|---|---|
| Microcontroller (ESP32 or similar) | 5 |
| GPS module | 8 |
| Accelerometer | 2 |
| Temperature sensor | 1 |
| LoRa radio + antenna | 5 |
| LiPo battery (2–4Ah) | 6 |
| Charge controller | 1 |
| Enclosure (cast resin or 3D-printed) | 3 |
| Collar / strap | 5 |
| Assembly time | (yours) |
| Total per tag | ~36 USD |
In bulk, well-engineered tags from professional suppliers run USD 50–80 each. There are commercial Kenyan and East African providers offering subscription-based dairy tags as a service, which include the hardware, software, and SIM connectivity — typically KES 200–600/cow/month all-in.
The DIY versus commercial decision:
| Path | Upfront cost (10 cows) | Ongoing | Best for |
|---|---|---|---|
| DIY build | KES 60,000–80,000 | Battery replacement every 2–3 years | Tech-comfortable farmers; small herds |
| Commercial subscription | KES 5,000 setup | KES 2,000–6,000/month | Larger herds; commercial dairies |
For pastoralists and small commercial dairy operations, the DIY route is cost-effective if you have the time to learn. Commercial subscriptions trade money for time and warranty.
Practical deployment considerations
Collar fit and welfare
- Two fingers should fit between collar and neck — looser causes chafing, tighter causes pressure sores
- Re-check fit every 3 months; cows gain and lose condition
- Position the tag so it is on the upper neck, not under the jaw
- Remove and inspect for collar damage at every routine handling
Charging
For an annual or biennial battery swap, plan to recall the tags during a routine handling event (dehorning, vaccination, dipping). One day to swap batteries on the whole herd, every 18–24 months.
Loss and damage
Expect 5–10% annual tag loss for free-ranging herds — animals catch tags on fences, mud, brush. Keep 10% spares on hand.
Battery in heat
LiPo batteries swell and degrade above 50°C internal temperature. A collar tag inside dark plastic in direct sun can hit 55°C. Mitigations:
- Use a white-coloured enclosure
- Position the GPS antenna away from the battery (less heat from electronics)
- Choose batteries rated for 60°C operation
Common failure modes
| Failure | Cause | Fix |
|---|---|---|
| Tag never reports | LoRa antenna shielded by cow body | Mount tag on top of collar, not against neck |
| GPS gives strange location | Indoors or in heavy bush, no sky view | Improves outdoors; accept some indoor noise |
| Battery dies in 3 months | Reporting too frequently | Reduce GPS frequency from 5 to 30 min in dashboard |
| False heat alerts | Calf playing on her | Filter accelerometer signal; calibrate per cow |
| Tag falls off | Collar broke or unbuckled | Replace collar; check fit |
Privacy and ethics — a small note
Some farmers are uncomfortable with constant cow surveillance — and tagging cattle is a more visible decision than placing soil sensors. A few practical points:
- The collar is not painful or chafing if fitted correctly
- Cows accept the collar within 1–2 days, similar to ear-tag adjustment
- The data is on your own farm brain, not in a global database — privacy stays yours
- The animal welfare argument cuts both ways: faster illness detection means less suffering
Toolkit and budget
What you need for a 10-cow herd:
- 10× tags (DIY or commercial)
- 1× LoRa gateway/antenna at the homestead
- 1× Raspberry Pi 4 if not already part of the farm brain
- Replacement collars (10% spares) DIY cost: KES 60,000–80,000 plus 30–40 hours of build time Commercial cost: KES 50,000–200,000 upfront (one-off) or KES 2,000–6,000/cow/month
Steps:
- Decide DIY versus subscription based on your time budget.
- If DIY: build one prototype tag, deploy on a friendly cow for one month, refine.
- Once one tag is proven, build the rest in a batch.
- Deploy in a single handling event with the whole herd.
- Configure rules (heat, illness, geofence) on the farm brain.
Time: 3–4 weekends for DIY end-to-end; 2 days for commercial setup.
What to do next
If you have lost cows to undetected heat, late-treated illness, or theft — livestock tags are the single highest-impact IoT investment for you. Start with one cow you can experiment on freely — a low-yielder or a non-pregnant heifer. Run the tag for a month before scaling.
The tag tells you something is happening. What you do with that signal still depends on good husbandry: noticing the alert, walking out to check, treating early. The data does not replace your eyes — it tells your eyes where to look first.
Pair the tag data with the herd record at shira.farm — insemination history, calving dates, vet visits, milk yield. Heat alerts make sense in the context of where each cow is in her cycle, and illness alerts mean more when you can see this morning's milk yield alongside.
See it in action
Tap this exact setup on our interactive visual guide — photorealistic farm scenes with clickable explainers showing what every device does, what it costs, and which Shira tier unlocks it.
Open the IoT Showcase