In hardware, every feature costs bytes or battery

When the phone is out of range, the collar has to keep everything itself, in 2 MB, on a coin-sized battery. Storage, compression, radio and sensing all pull against each other.

On a laptop, when you run out of something you buy more. More storage, more memory, a bigger battery, a faster chip. On a collar that a dog wears all day, you can't. Every part has to be small and light enough for the dog not to care, and a battery the size of a coin has to go a long time between charges. So every feature we add takes something from somewhere else.

This is the part of hardware nobody warned me about. It's not one hard problem. It's a hundred small trade-offs, and each one pulls against the others.

The phone walks away

The collar doesn't talk to the internet. It sends its data over Bluetooth to the owner's phone, and the phone uploads it to our server. That works while the phone is nearby. But people go to work, leave the phone in another room, or walk the dog without it.

So the collar has to keep everything it records until the phone comes back. And that is where the first limit shows up.

No room for a 5 TB drive

The board we use has 2 MB of flash storage for this data. Not gigabytes. Megabytes. You can't put an SSD in a dog collar: there is no space, and it would eat the battery.

While the dog moves, the collar records a 2-second window of motion (26 readings a second from the motion sensor) about every 20 seconds, and each window takes 322 bytes. In practice that means the collar can hold about 34 hours of activity on its own. If the phone is gone longer than that, the oldest data gets overwritten by the newest. We chose that on purpose: a recent day is more useful than an old one.

Want 3 days? We could record less often, or keep less detail. But then we see less of the day, and we learned the hard way that a fixed sampling interval saw only 3.3% of the day.

Compression costs battery too

The obvious answer is: compress the data. But compression runs on the chip, and every bit of work on the chip uses battery.

A raw window is 624 bytes. We store only the first reading and then the small difference to each next one, which gets it to 322 bytes, about half. That trick is almost free for the chip. Stronger compression would save more space, but the chip would work harder and longer for every window, all day. Less storage on one side, more battery on the other.

The same story everywhere

Once you see it, you see it in every decision:

Finding the balance

There is no perfect setting. There is only the balance that fits what the collar is for: to learn what is normal for your dog, and notice when something changes. For that, we need the whole day, not every detail of it, and we need a collar the owner doesn't have to charge all the time.

Software taught me to add things. Hardware is teaching me to choose. Every feature has to pay for itself in bytes and in battery, and most of the work is deciding what we can live without.

Have a thought?

We build in public to learn. If you've solved this on nRF52 before, let us know.

Reply by email

Denys Zarubin

Founder, Spain

Investors

Request the deck

Join the
early list.

Prototype phase. Not certified. Not for sale. No payment required.

You’re on the list. We’ll email you when the collar is ready. In the meantime, download the free Fudini app.