# MacRay LToF LoRaWAN Time-of-Flight Sensor

URL: https://www.macnman.com/docs/product/lorawan/sensors/level-sensors/macray-ltof-lorawan-time-of-flight-sensor
Section: Datasheets › Lorawan › Sensors › Level Sensors

# MacRay LToF LoRaWAN® Time-of-Flight Sensor Datasheet

## Product Overview

**MacRay LToF** is an industrial-grade **LoRaWAN® Time-of-Flight (ToF) sensor** engineered for high-accuracy occupancy monitoring, people counting, indoor analytics, distance measurement, and wireless laser sensing applications. Built using advanced infrared laser-based Time-of-Flight technology, the device delivers precise real-time spatial awareness and movement analytics for smart buildings, offices, warehouses, retail infrastructure, factories, hospitals, and Industrial IoT environments.

Designed specifically for privacy-safe indoor monitoring, the **MacRay LToF LoRaWAN® ToF sensor** performs accurate people counting, zone occupancy detection, movement tracking, and presence analytics without using cameras or capturing personal identity data. The sensor utilizes intelligent 3D depth mapping and laser distance measurement technology to detect motion patterns, room occupancy, entry/exit movement, and activity zones with millimeter-level precision.

The device supports **LoRaWAN® v1.0.4 Class A communication**, AES-128 encrypted wireless transmission, BLE-based configuration through the Macnman Maya App, and intelligent event-driven analytics for occupancy thresholds, restricted zone alerts, smart automation triggers, and facility utilization monitoring. Engineered with a power-operated architecture and industrial backup battery support, the MacRay LToF ensures uninterrupted monitoring even during intermittent power failures.

Whether deployed for smart office occupancy analytics, energy-efficient building automation, warehouse movement monitoring, retail footfall analysis, industrial safety monitoring, smart classroom utilization, or facility management intelligence, the **MacRay LToF wireless Time-of-Flight sensor** transforms physical movement into actionable real-time operational insights for connected smart infrastructure.

The **MacRay LToF industrial LoRaWAN® laser sensor** is fully compatible with major LoRaWAN® gateways and network servers including ChirpStack, The Things Stack, MQTT platforms, Orbiwise, and private industrial LoRaWAN® infrastructures — enabling seamless integration into SCADA systems, Industrial IoT dashboards, occupancy analytics platforms, and smart building ecosystems.

| ![macray tof indoor occupancy sensor with lorawan wireless communication front view](/img/lorawan/macray/macray-tof-sensor-front.webp) | ![ compact macray tof ceiling and wall mount people counting sensor for smart buildings](/img/lorawan/macray/macray-tof-sensor-mounting.webp) |
|--------------------------------|--------------------------------|
| ![privacy safe macray tof people counting device tracking movement and room occupancy analytics](/img/lorawan/macray/macray-tof-sensor-occupancy-detection.webp) | ![macray time of flight sensor grid pattern coverage for entry exit zone monitoring](/img/lorawan/macray/macray-tof-sensor-zone-coverage.webp) |

---

## Download Center

<div className="icon-card-grid">
  <a href="/docs/downloads/macray-ltof-xx-lorawan-time-of-flight-sensor-datasheet.pdf" 
  className="icon-card">
    <div className="icon">📂</div>  
    <div>
      <strong>Download Datasheet</strong>
      <p> Download the PDF Version of the Datasheet
.</p>
    </div>
  </a>
  <a href="https://github.com/MacnMan/LoRa_Module_SDK/tree/main/SDK/LoRaWAN_AT_Slave" 
  className="icon-card">
    <div className="icon">📝</div>
    <div>
      <strong>Decoders</strong>
      <p>Click here to view the decoders for MacRay LToF</p>
    </div>
  </a>
</div>

---

## Key Features

<div className="reusable-feature-grid">
<div className="reusable-feature-card">
  <strong>People Counting & Occupancy Detection</strong>
  Accurate indoor movement and presence analytics without using any camera or capturing identity.
</div>

<div className="reusable-feature-card">
  <strong>Time‑of‑Flight 3D Depth Sensing</strong>
  Millimeter‑level precision for short‑range zone monitoring and entry/exit counting.
</div>

<div className="reusable-feature-card">
  <strong>Privacy‑Safe Monitoring</strong>
  No images or personal data captured — ideal for offices, restrooms, hospitals and secured facilities.
</div>

<div className="reusable-feature-card">
  <strong>LoRaWAN® Wireless Connectivity</strong>
  Long‑range encrypted data transmission for large buildings and multi‑floor coverage.
</div>

<div className="reusable-feature-card">
  <strong>Events & Automation Triggers</strong>
  Threshold rules for room occupancy limits, restricted zone alerts and energy‑saving automation.
</div>

<div className="reusable-feature-card">
  <strong>Power‑Operated with Backup Battery</strong>
  Ensures uninterrupted operation during power outages for mission‑critical smart building deployments.
</div>

<div className="reusable-feature-card">
  <strong>Compact & Easy Ceiling/Wall Mounting</strong>
  Optimized for narrow beams and zone‑focused detection in corridors, doors and counting points.
</div>

<div className="reusable-feature-card">
  <strong>BLE for Rapid Setup</strong>
  Fast field provisioning and parameter configuration via Maya App.
</div>
</div>
---

## Applications

<div className="reusable-feature-grid">

<div className="reusable-feature-card">
  <strong>People Counting at Entry/Exit Points</strong>
  Accurate bidirectional movement tracking at doors, corridors, turnstiles, and access gates.
</div>

<div className="reusable-feature-card">
  <strong>Room Occupancy Monitoring</strong>
  Real-time space utilization for offices, meeting rooms, classrooms, hospitals, and hospitality areas.
</div>

<div className="reusable-feature-card">
  <strong>Smart Restroom & Facility Usage</strong>
  Privacy-safe presence detection for washrooms and closed private spaces without cameras.
</div>

<div className="reusable-feature-card">
  <strong>Restricted / Secure Zone Monitoring</strong>
  Alerts on unauthorized entry into production areas, server rooms, storage and safety zones.
</div>

<div className="reusable-feature-card">
  <strong>Retail & Store Analytics</strong>
  Shopper flow analysis, queue monitoring, and aisle engagement insights for sales optimization.
</div>

<div className="reusable-feature-card">
  <strong>Warehouse Workforce Movement</strong>
  Tracks operational activity for logistics planning and safety compliance inside industrial units.
</div>

<div className="reusable-feature-card">
  <strong>Energy Efficiency Automation</strong>
  Triggers HVAC and lighting systems based on occupancy for cost saving and sustainability.
</div>

<div className="reusable-feature-card">
  <strong>Smart Campus & Public Infrastructure</strong>
  People movement data for better resource planning, crowd control and facility management.
</div>

</div>

---
<div class="device-config-section">
  <div class="device-config-title">Time-of-Flight Measurement</div>
  <div class="device-config-table">

    <div class="device-config-row shaded">
      <div class="device-config-left">Distance Range</div>
      <div class="device-config-right">Long Range Mode: 4 cm to 400 cm</div>
    </div>

    <div class="device-config-row">
      <div class="device-config-left">Sensor Grid Options</div>
      <div class="device-config-right">2 × 2 / 4 × 4 / 8 × 8</div>
    </div>

    <div class="device-config-row shaded">
      <div class="device-config-left">Accuracy</div>
      <div class="device-config-right">±3% Typical</div>
    </div>

    <div class="device-config-row">
      <div class="device-config-left">Repeatability</div>
      <div class="device-config-right">&lt; ±10 mm</div>
    </div>

    <div class="device-config-row shaded">
      <div class="device-config-left">Resolution</div>
      <div class="device-config-right">Up to 1 mm</div>
    </div>

    <div class="device-config-row">
      <div class="device-config-left">Measurement Rate</div>
      <div class="device-config-right">Up to 60 Hz (Adjustable)</div>
    </div>

    <div class="device-config-row shaded">
      <div class="device-config-left">Field of View (FoV)</div>
      <div class="device-config-right">Programmable (26° to 60°)</div>
    </div>

    <div class="device-config-row">
      <div class="device-config-left">Ambient Light Immunity</div>
      <div class="device-config-right">Up to 100k Lux (Sunlight)</div>
    </div>

    <div class="device-config-row shaded">
      <div class="device-config-left">Wavelength</div>
      <div class="device-config-right">940 nm Infrared (Eye-Safe & Invisible)</div>
    </div>

    <div class="device-config-row">
      <div class="device-config-left">Response Time</div>
      <div class="device-config-right">&lt; 25 ms (Typical)</div>
    </div>

    <div class="device-config-row shaded">
      <div class="device-config-left">Target Reflectivity Tolerance</div>
      <div class="device-config-right">Reliable Performance on Dark, Light & Low-Reflective Surfaces</div>
    </div>

  </div>
</div>

--- 

<div class="device-config-section">
  <div class="device-config-title">Wireless Transmission</div>
  <div class="device-config-table">

    <div class="device-config-row shaded">
      <div class="device-config-left">Wireless Protocols</div>
      <div class="device-config-right">LoRaWAN® (v1.0.4), Macnman MacTalk Protocol</div>
    </div>

    <div class="device-config-row">
      <div class="device-config-left">Antenna</div>
      <div class="device-config-right">Internal high-efficiency antenna</div>
    </div>

    <div class="device-config-row shaded">
      <div class="device-config-left">Supported Bands</div>
      <div class="device-config-right">IN865 / RU864 / EU868 / US915 / AU915 </div>
    </div>

    <div class="device-config-row">
      <div class="device-config-left">Tx Power</div>
      <div class="device-config-right">23 dBm @ 865 MHz </div>
    </div>

    <div class="device-config-row shaded">
      <div class="device-config-left">Sensitivity</div>
      <div class="device-config-right">-137 dBm @ 300 bps</div>
    </div>

    <div class="device-config-row">
      <div class="device-config-left">Activation</div>
      <div class="device-config-right">OTAA</div>
    </div>

    <div class="device-config-row shaded">
      <div class="device-config-left">LoRaWAN® Class</div>
      <div class="device-config-right">Class A (Default), Configurable to Class C via Maya</div>
    </div>

    <div class="device-config-row">
      <div class="device-config-left">Supports Major LNS</div>
      <div class="device-config-right">Private LNS, ChirpStack, TTN, MQTT, Orbiwise, Netmore, and on-premise industrial LoRaWAN® deployments</div>
    </div>

  </div>
</div>

---

<div class="device-config-section">
  <div class="device-config-title">Device Management</div>
  <div class="device-config-table">

    <div class="device-config-row shaded">
      <div class="device-config-left">Configuration Method</div>
      <div class="device-config-right">Via Macnman Maya Android App</div>
    </div>

    <div class="device-config-row">
      <div class="device-config-left">Local Configuration</div>
      <div class="device-config-right">BLE-Based Local Configuration</div>
    </div>

    <div class="device-config-row shaded">
      <div class="device-config-left">Remote Configuration</div>
      <div class="device-config-right">Over-the-Air Configuration (Downlink Commands)</div>
    </div>

    <div class="device-config-row">
      <div class="device-config-left">Status LED</div>
      <div class="device-config-right">1 × Internal Multi-Color LED</div>
    </div>

  </div>
</div>

---

<div class="device-config-section">
  <div class="device-config-title">Server Data Reporting Modes</div>
  <div class="device-config-table">

    <div class="device-config-row shaded">
      <div class="device-config-left">Data Reporting Mode</div>
      <div class="device-config-right">Periodic / Event-based / Hybrid</div>
    </div>

    <div class="device-config-row">
      <div class="device-config-left">Transmission Interval</div>
      <div class="device-config-right">Independent uplink interval for optimized power consumption</div>
    </div>

    <div class="device-config-row shaded">
      <div class="device-config-left">Threshold-Based Alerts</div>
      <div class="device-config-right">Configurable occupancy, movement, and distance thresholds for intelligent event-triggered data transmission</div>
    </div>

    <div class="device-config-row">
      <div class="device-config-left">Sampling Interval</div>
      <div class="device-config-right">Configurable data acquisition interval (e.g., 1 min to 24 hours)</div>
    </div>

  </div>
</div>

---

<div class="device-config-section">
  <div class="device-config-title">Battery Performance ( X1 & X2 Models )</div>
  <div class="device-config-table">

    <div class="device-config-row shaded">
      <div class="device-config-left">Battery Type</div>
      <div class="device-config-right">Li-SOCl₂ Cell (8 Ah) Industrial grade</div>
    </div>

    <div class="device-config-row">
      <div class="device-config-left">Power Consumption</div>
      <div class="device-config-right">~100 µA in sleep mode / ~50 mA during transmission</div>
    </div>

    <div class="device-config-row shaded">
      <div class="device-config-left">5-Minute Reporting Interval</div>
      <div class="device-config-right">~1.5 Years (Estimated)</div>
    </div>

    <div class="device-config-row">
      <div class="device-config-left">15-Minute Reporting Interval</div>
      <div class="device-config-right">~3 Years (Estimated)</div>
    </div>

    <div class="device-config-row shaded">
      <div class="device-config-left">60-Minute Reporting Interval</div>
      <div class="device-config-right">~5+ Years (Estimated)</div>
    </div>

  </div>
</div>

---

<div class="device-config-section">
  <div class="device-config-title">Communication Options</div>
  <div class="device-config-table">

    <div class="device-config-row shaded">
      <div class="device-config-left">BLE Connectivity</div>
      <div class="device-config-right">For local configuration and diagnostics via Maya App</div>
    </div>

    <div class="device-config-row">
      <div class="device-config-left">Cloud Protocols</div>
      <div class="device-config-right">MQTT / HTTPS / TCP/IP (Gateway Dependent)</div>
    </div>

  </div>
</div>

---

<div class="device-config-section">
  <div class="device-config-title">Security & Encryption</div>
  <div class="device-config-table">

    <div class="device-config-row shaded">
      <div class="device-config-left">Data Encryption</div>
      <div class="device-config-right">AES-128 LoRaWAN® encryption</div>
    </div>

    <div class="device-config-row">
      <div class="device-config-left">Authentication</div>
      <div class="device-config-right">OTAA Device Activation</div>
    </div>

    <div class="device-config-row shaded">
      <div class="device-config-left">Firmware Protection</div>
      <div class="device-config-right">Secure boot and signed OTA updates</div>
    </div>

  </div>
</div>

--- 

<div class="device-config-section">
  <div class="device-config-title">LED Status</div>
  <div class="device-config-table">

    <div class="device-config-row shaded">
      <div class="device-config-left">LED Type</div>
      <div class="device-config-right">1 × Internal Multi-Color LED</div>
    </div>

    <div class="device-config-row">
      <div class="device-config-left">Solid Blue</div>
      <div class="device-config-right">Device connected to Maya App</div>
    </div>

    <div class="device-config-row shaded">
      <div class="device-config-left">Flashing Blue</div>
      <div class="device-config-right">OTA (Over-the-Air) update in progress</div>
    </div>

    <div class="device-config-row">
      <div class="device-config-left">Slow Blinking Green</div>
      <div class="device-config-right">Attempting to connect to the LoRaWAN® network</div>
    </div>

    <div class="device-config-row shaded">
      <div class="device-config-left">Single Red Blink</div>
      <div class="device-config-right">A device parameter is being modified</div>
    </div>

  </div>
</div>

---
<div class="device-config-section">
  <div class="device-config-title">Physical Characteristics</div>
  <div class="device-config-table">

    <div class="device-config-row">
      <div class="device-config-left">Operating Temperature</div>
      <div class="device-config-right">-40°C to +80°C</div>
    </div>

    <div class="device-config-row shaded">
      <div class="device-config-left">Humidity Range</div>
      <div class="device-config-right">0% to 100% RH (non-condensing)</div>
    </div>

    <div class="device-config-row">
      <div class="device-config-left">Ingress Protection</div>
      <div class="device-config-right">IP55 Standard</div>
    </div>

    <div class="device-config-row shaded">
      <div class="device-config-left">Housing Material</div>
      <div class="device-config-right">Glass Filled Nylon</div>
    </div>

    <div class="device-config-row">
      <div class="device-config-left">Color</div>
      <div class="device-config-right">Matte White</div>
    </div>

    <div class="device-config-row shaded">
      <div class="device-config-left">Weight</div>
      <div class="device-config-right">~110 g</div>
    </div>

    <div class="device-config-row">
      <div class="device-config-left">Mounting Options</div>
      <div class="device-config-right">Pole Mount / Wall Mount</div>
    </div>

  </div>
</div>

---

<div class="device-config-section">
  <div class="device-config-title">Certifications & Compliance</div>
  <div class="device-config-table">

    <div class="device-config-row shaded">
      <div class="device-config-left">WPC</div>
      <div class="device-config-right">Compliant</div>
    </div>

    <div class="device-config-row">
      <div class="device-config-left">RoHS</div>
      <div class="device-config-right">Conforms to RoHS directive</div>
    </div>

  </div>
</div>

---

## MacRay LToF Variants
<table className="parameter-table">
  <thead>
    <tr>
      <th>SKU</th>
      <th>Variant Name</th>
      <th>Power Source</th>
      <th>Communication</th>
      <th>Sensor Grid</th>
      <th>Ideal For</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>8203</td>
      <td>MacRay-L-ToF-BS-X1</td>
      <td>Battery (8 Ah)</td>
      <td>LoRaWAN®</td>
      <td>2 × 2 Grid</td>
      <td>Doorway people counting, occupancy detection, access control, and narrow-zone monitoring</td>
    </tr>
    <tr>
      <td>8204</td>
      <td>MacRay-B-ToF-BS-X1</td>
      <td>Battery (8 Ah)</td>
      <td>BLE</td>
      <td>2 × 2 Grid</td>
      <td>Local configuration, diagnostics, and occupancy monitoring using BLE connectivity</td>
    </tr>
    <tr>
      <td>8205</td>
      <td>MacRay-M-ToF-BS-X1</td>
      <td>Battery (8 Ah)</td>
      <td>MacTalk</td>
      <td>2 × 2 Grid</td>
      <td>MacTalk-based doorway occupancy monitoring and industrial automation</td>
    </tr>

    <tr>
      <td>8206</td>
      <td>MacRay-L-ToF-BS-X2</td>
      <td>Battery (8 Ah)</td>
      <td>LoRaWAN®</td>
      <td>4 × 4 Grid</td>
      <td>Room occupancy analytics, smart buildings, classrooms, offices, and facility monitoring</td>
    </tr>
    <tr>
      <td>8207</td>
      <td>MacRay-B-ToF-BS-X2</td>
      <td>Battery (8 Ah)</td>
      <td>BLE</td>
      <td>4 × 4 Grid</td>
      <td>Local room occupancy monitoring and commissioning via BLE</td>
    </tr>
    <tr>
      <td>8208</td>
      <td>MacRay-M-ToF-BS-X2</td>
      <td>Battery (8 Ah)</td>
      <td>MacTalk</td>
      <td>4 × 4 Grid</td>
      <td>MacTalk-enabled room occupancy analytics and industrial monitoring</td>
    </tr>

    <tr>
      <td>8209</td>
      <td>MacRay-L-ToF-PS-X3</td>
      <td>9–36 V DC</td>
      <td>LoRaWAN®</td>
      <td>8 × 8 Grid</td>
      <td>High-resolution people counting, zone analytics, retail footfall analysis, and smart workspace monitoring</td>
    </tr>
    <tr>
      <td>8210</td>
      <td>MacRay-M-ToF-PS-X3</td>
      <td>9–36 V DC</td>
      <td>MacTalk</td>
      <td>8 × 8 Grid</td>
      <td>High-resolution MacTalk deployments for advanced occupancy analytics and industrial automation</td>
    </tr>
  </tbody>
</table>

---

## What's in the Box?
Make sure box contains following items before installations

- MacRay LToF Xx Sensor 
- Mounting Clip
- User Manual
- Warranty Card
- IP68 Cable Extender *
- Mounting Screws 
- Power Adapters *

![![MacRay LToF LoRaWAN Time-of-Flight Sensor What's Included in the Box]](/img/lorawan/macray/macray-lorawan-what-is-in-the-box.svg)

**Accessories marked with (*) must be purchased separately and may not be included in the box.:**

## MacRay LToF Dimensions
The MacRay LToF Series features a compact industrial-grade enclosure with overall dimensions of **96 mm × 96 mm × 28 mm**, optimized for wall mounting, smart building deployments, occupancy analytics, people counting infrastructure, and space-constrained Industrial IoT environments.

![MacRay LToF LoRaWAN Time-of-Flight Sensor Mechanical Dimensions and Mounting Layout](/img/lorawan/macray/macray-tof-sensor-dimensions-file.svg)

## Frequently Asked Questions

### What is the MacRay LToF used for?

MacRay LToF is an industrial LoRaWAN Time-of-Flight sensor for occupancy monitoring, people counting, indoor analytics and laser distance measurement. Typical applications include People Counting at Entry/Exit Points, Room Occupancy Monitoring, Smart Restroom & Facility Usage, Restricted / Secure Zone Monitoring, Retail & Store Analytics and Warehouse Workforce Movement.

### What does the MacRay LToF measure, and how accurately?

Measurement specifications of the MacRay LToF:

- Time-of-Flight: range Long Range Mode: 4 cm to 400 cm, accuracy ±3% Typical, resolution Up to 1 mm.

### Which LoRaWAN frequency bands and network servers does the MacRay LToF support?

The MacRay LToF supports LoRaWAN® (v1.0.4) and the Macnman MacTalk Protocol on the IN865 / RU864 / EU868 / US915 / AU915 frequency bands. It joins the network by OTAA activation. It runs as Class A by default and can be set to Class C in the Maya app. Supported network servers: Private LNS, ChirpStack, TTN, MQTT, Orbiwise, Netmore, and on-premise industrial LoRaWAN® deployments.

### How long does the MacRay LToF battery last?

The battery-operated MacRay LToF runs on a 8 Ah industrial-grade Li-SOCl₂ cell. Estimated battery life is ~1.5 years at a 5-minute reporting interval, ~3 years at a 15-minute reporting interval and ~5+ years at a 60-minute reporting interval.

### What is the IP rating and operating temperature of the MacRay LToF?

The MacRay LToF has an ingress protection rating of IP55 Standard and an operating temperature range of -40°C to +80°C. Operating humidity: 0% to 100% RH (non-condensing). Mounting options: Pole Mount / Wall Mount.

### How is the MacRay LToF configured?

The MacRay LToF is configured with the Macnman Maya Android app over Bluetooth Low Energy (BLE). Settings can also be changed remotely with over-the-air downlink commands.

### What is included in the box with the MacRay LToF?

The box contains: MacRay LToF Xx Sensor, Mounting Clip, User Manual, Warranty Card and Mounting Screws. IP68 Cable Extender and Power Adapters are optional and may need to be purchased separately.

## Related Products and Resources

- User manual: [MacRay ToF sensor user manual](/lorawan/sensors-lorawan/macray-tof-v1/macsyncls_introduction)
- Setup guide: [Common LoRaWAN sensor settings in the Maya app](/lorawan/sensors-lorawan/common-lorawan-settings/maya_configuration_led_status_common)
- Compatible LoRaWAN gateways: [MacLink Gen-2 industrial outdoor LoRaWAN gateway](/product/lorawan/gateways/maclink-gen-two) and [Setu LX Series indoor LoRaWAN gateway](/product/lorawan/gateways/setu-x-one-datasheet)
- Related datasheets: [MacRay-ToF-WXx Wi-Fi Time-of-Flight sensor](/product/wifi/sensors/level-sensors/macray-tof-x-series), [MacSync LCS X1 LoRaWAN capacitive fuel level sensor](/product/lorawan/sensors/level-sensors/macsync-lcs-x-1-lorawan-capacitive-sensor), [MacRay LUS X1 LoRaWAN ultrasonic level sensor](/product/lorawan/sensors/level-sensors/macray-lorawan-ultrasonic-sensor-sub-four-meter-gen-one)
- Product page: [MacRay LToF on macnman.com](https://www.macnman.com/lorawan/sensors/lorawan-time-of-flight-sensor-macray-tof-gen-one)
- Help: [Warranty terms and conditions](/help/macnman-standard-warranty-terms-and-conditions) and [contact Macnman support](/help/help)
