Logistics & Transportation
Last mile delivery company, India
Updated

IoT Fleet Management Platform for a Logistics Company

Discuss a Similar Engineering Problem
IoT Fleet Management Platform for a Logistics Company
Overview

Project Overview

EmbedCrest delivered an end to end fleet management platform for a last mile delivery company, connecting a large delivery fleet across several Indian cities. Our embedded engineers designed custom vehicle telemetry hardware on the ESP32 S3 platform with LTE M connectivity, GPS, OBD II CAN bus diagnostics, IMU based driver behavior analysis and dual temperature sensors for cold chain monitoring. Our firmware engineers built the device firmware on ESP IDF with a parked sleep current design target under 15mA while keeping GPS warm start capability. The cloud backend on AWS IoT Core provides real time geofencing, predictive ETA calculation and automated compliance reporting. Our software team built both a React Native driver app and a React web dashboard for fleet managers, giving visibility into vehicle health, driver safety, route efficiency and cold chain integrity.

The Challenge

Business Problem

The client, a fast growing last mile delivery company managed a large delivery fleet across several Indian cities. Its existing fleet management relied on consumer grade GPS trackers with 30 second update intervals, providing no real time vehicle diagnostics, driver behavior monitoring or cold chain tracking for temperature sensitive pharmaceutical deliveries. Utilization was low, fuel costs kept rising, and pharmaceutical cold chain documentation was entirely manual.

Constraints

Technical Constraints

  • ESP32 S3 with a Quectel BG96 modem supporting LTE M and NB IoT fallback
  • GPS, 6 axis IMU, OBD II CAN bus and dual NTC temperature probes in one unit
  • Parked sleep current design target under 15mA while keeping GPS warm start
  • Patchy cellular coverage on rural routes, with 8 MB of flash designed to buffer up to 72 hours of telemetry
  • Tamper evident cold chain logs for WHO and CDSCO documentation requirements
  • Replacing consumer GPS trackers that reported only every 30 seconds
Architecture

Vehicle telematics to event driven AWS cloud

A telemetry unit in each vehicle collects GPS, CAN diagnostics, IMU events and cargo temperature, buffers data through coverage gaps and sends it over LTE M to an event driven AWS backend serving a driver app, fleet dashboard and ERP integrations.

  1. Step 1

    Vehicle telemetry unit

    ESP32 S3 with BG96 modem, u blox GPS, 6 axis IMU and OBD II CAN

  2. Step 2

    Device firmware

    ESP IDF tasks for GPS, CAN polling, IMU events, temperature logging and LTE M

  3. Step 3

    Connectivity

    MQTT QoS 1 over LTE M with NB IoT fallback and store and forward buffering

  4. Step 4

    Cloud backend

    AWS IoT Core, Lambda, DynamoDB and S3 with SageMaker ETA prediction

  5. Step 5

    Apps and dashboard

    React Native driver app and React web dashboard for fleet managers

  6. Step 6

    Integrations

    REST APIs and webhooks with connectors for SAP, Oracle and Tally ERP

Vehicle telematics to event driven AWS cloud
EmbedCrest Scope

What Our Team Delivered

  • Designed the vehicle telemetry unit hardware around the ESP32 S3 and Quectel BG96
  • Developed ESP IDF firmware with priority ordered tasks and low power parked sleep
  • Implemented store and forward buffering, driver event detection and tamper evident temperature logs
  • Built the event driven AWS backend with geofencing, route deviation detection and ETA prediction
  • Built the React Native driver app and the React fleet manager dashboard
  • Exposed REST APIs and webhooks for ERP and warehouse system integration
Approach

Engineering Approach

EmbedCrest developed an IoT fleet management platform with custom embedded hardware and cloud software. Our embedded hardware engineering team designed a compact vehicle telemetry unit based on the ESP32 S3 paired with a Quectel BG96 LTE M modem, integrating GPS, a 6 axis IMU for driver behavior analysis, an OBD II CAN bus interface for vehicle diagnostics, and dual temperature sensors for cold chain monitoring. The firmware ran on ESP IDF with a custom RTOS task architecture handling GPS acquisition, CAN bus polling, IMU sampling, temperature logging and LTE M communication in priority ordered time slices. Power optimization targeted under 15mA in parked sleep mode while keeping GPS warm start capability, with a design target of sub 3 second fixes when ignition is detected. The cloud platform ran on AWS with an event driven architecture using IoT Core, Lambda, DynamoDB and S3. Real time geofencing, route deviation detection and ETA prediction used a lightweight machine learning model running on AWS SageMaker. A React Native mobile app gave drivers real time navigation with dynamic route optimization, while a web dashboard gave fleet managers analytics including vehicle health scores, driver safety ratings, fuel efficiency trends and automated cold chain compliance reports for pharma customers.

Execution

Phases, Testing and Handover

  1. Hardware and firmware

    The telemetry unit was designed around the ESP32 S3 and BG96 modem, with ESP IDF tasks for GPS, CAN, IMU, temperature and LTE M in priority ordered time slices.

  2. Cloud platform

    An event driven AWS backend on IoT Core, Lambda, DynamoDB and S3 was built for geofencing, route deviation detection, ETA prediction and automated compliance reporting.

  3. Apps and integrations

    The driver app, fleet manager dashboard and REST and webhook interfaces were delivered, and the client integrated the platform with its SAP S/4HANA warehouse module.

  4. Rollout across cities

    Units were deployed across the client's fleet in six Indian cities, with store and forward buffering covering routes where LTE M coverage is unavailable.

Acceptance criteria

  • Complete trip records through coverage gaps, with a design target of 72 hours of buffered telemetry
  • Tamper evident cold chain logs and reports structured for WHO and CDSCO documentation requirements
  • Parked sleep current under the 15mA design target while keeping GPS warm start capability
  • Temperature excursion alerts designed to reach the driver app and fleet dashboard within 15 seconds

Dependencies

  • LTE M and NB IoT carrier networks across six Indian cities and rural routes
  • Vehicle OBD II CAN bus interfaces for diagnostics
  • The client's SAP S/4HANA warehouse management module, integrated by the client
Results

Measured Results

Measured results are published only after the client approves the figures together with their baseline, test conditions and measurement method. Ask us about outcomes during a call.

Artifacts

Engineering Evidence

  • System block diagram (shown on this page)
Lessons

Lessons and Limitations

  • Coverage gaps on rural routes make store and forward buffering and NB IoT fallback essential for complete trip records.
  • Low parked sleep current had to be balanced against keeping GPS warm start capability for fast fixes at ignition.
Tech Stack

Technologies Used

  • ESP32 S3
  • Quectel BG96 (LTE M)
  • ESP IDF
  • CAN bus (OBD II)
  • GPS (u blox M10)
  • AWS IoT Core
  • AWS Lambda
  • DynamoDB
  • React Native
  • React (web dashboard)
  • Python
  • AWS SageMaker

Have a similar engineering problem?

Share a short brief; an engineer replies within one business day. How engagements work

Discuss a Similar Engineering Problem
FAQs

Frequently Asked Questions

How does the telemetry unit handle areas with poor cellular coverage?

The device firmware implements a store and forward architecture with 8 MB of SPI flash configured as a circular buffer, designed to store up to 72 hours of telemetry data when LTE M coverage is unavailable. The BG96 modem supports both LTE M and NB IoT with automatic fallback, widening coverage across urban and rural routes. GPS positions are logged continuously regardless of cellular status, so trip records stay complete. When connectivity is restored, queued data is uploaded in compressed batches using MQTT QoS 1 to guarantee delivery.

How is driver behavior scoring calculated?

The onboard 6 axis IMU samples acceleration and gyroscope data at 100 Hz. The firmware runs real time event detection algorithms identifying hard braking events exceeding 0.45g, aggressive acceleration above 0.35g, sharp cornering above 0.3g lateral, and speeding based on GPS velocity correlated with road speed limits from the OpenStreetMap database. Each event is weighted and aggregated into a daily driver safety score. The cloud platform uses a rolling 30 day weighted average for trend analysis and identifies drivers who would benefit from targeted training.

What cold chain compliance features are included?

Dual NTC thermistor probes monitor cargo compartment temperature at 10 second intervals. The firmware generates tamper evident temperature logs with cryptographic checksums stored in flash and uploaded to the cloud. If temperature excursions exceed configurable thresholds, alerts are designed to reach the driver app and fleet manager dashboard within 15 seconds. The cloud platform generates compliance reports in PDF format structured for WHO and CDSCO cold chain documentation requirements.

Can the platform integrate with existing ERP and warehouse management systems?

Yes, the cloud backend exposes RESTful APIs and supports webhook notifications for integration with third party systems. We have prebuilt connectors for SAP, Oracle and Tally ERP, and the event driven architecture on AWS Lambda makes it straightforward to add new integrations. The client integrated the platform with its existing SAP S/4HANA warehouse management module.

Facing a Similar Engineering Problem?

Share a short brief; an engineer replies with questions, a suggested approach and next steps.

Discuss a Similar Engineering Problem