Skip to content
aahl
← Projects

Case study

E-Báscula

Mobile app for recording truck weights, able to calculate tare weight and connect to thermal printers and Bluetooth weight indicators to generate weighing documentation, aimed at the client's workers. The cattle app records cattle weighing using the ear tag identifier.

Role
Developer of the apps
Company / Context
Freelance, for a client.
Period
Nov 2024 — May 2025
Stack
Dart · Flutter · Drift · Bluetooth Classic · Bluetooth LE

Android · Flutter

(01) Context & problem

The client sells weight indicators to customers with cattle or cargo-related businesses. As an added value for their service, the apps were developed to speed up the cargo recording process and, for cattle ranchers, the recording of livestock entering and leaving, since weights that used to be written in notebooks could be recorded on the phone, and tickets could be printed when weights were recorded, so that physical evidence of the record also existed.

(02) My role

Developing the apps.

(03) Solution & key decisions

  • —Centralizing Bluetooth connection handling in a single controller so connections would not interrupt each other, since they shared the same adapter.
  • —A relational database with Drift so records can be deleted when needed and easily exported as CSV, since they are already structured data.
  • —A "customization" setting for the tickets printed when weights are recorded, mainly to add headers with the business name and other details.
  • —If weights were entered manually on the phone instead of using data received from the indicators, a record of that is kept on the tickets and in the database for later audits.
  • —A system to reprint tickets that could not be printed due to a connection failure or because the thermal printer ran out of paper.

(04) Technical challenge

Handling Classic and LE Bluetooth connections at the same time, since the indicators and printers differed in protocol. Using a controller that managed both connection types helped mitigate communication failures caused by the adapter being busy when sending data, or by data not being received because it was busy sending. In addition, the different data formats that printers and indicators required were a challenge, but standardizing them for easy handling solved it for the most part.

(05) Outcome

The weight recording process became simpler and more intuitive, and the process that used to require writing it on paper was modernized, moving to digital records with physical evidence that the procedure was carried out.

01 / 01