# MacRay-ToF-WXx Wi-Fi Time-of-Flight Sensor

URL: https://www.macnman.com/docs/product/wifi/sensors/level-sensors/macray-tof-x-series
Section: Datasheets › Wifi › Sensors › Level Sensors

# MacRay-ToF-WXx Wi-Fi Time-of-Flight Sensor Datasheet

## Product Overview

MacRay-ToF-WXx is a high‑precision **Wi‑Fi–based Time‑of‑Flight (ToF) sensor** designed for **indoor people counting, occupancy analytics, and zone monitoring applications** within Wi‑Fi–enabled environments. Using short‑range 3D depth sensing with millimeter‑level accuracy, it enables real‑time space utilization insights, facility automation, and safety monitoring without relying on cameras or capturing personal identity data.

The sensor uses **advanced ToF distance mapping and motion detection algorithms** to detect human presence, count bidirectional movement across defined boundaries, monitor zone activity, and generate accurate occupancy metrics. Its privacy‑first design ensures compliance with workplace and public‑space privacy requirements.

MacRay-ToF-WXx features a **power‑operated design with inbuilt backup battery**, ensuring uninterrupted operation during short power interruptions. It communicates directly over **standard Wi‑Fi networks (2.4 GHz / 5 GHz)** to **on‑premise servers, building management systems, or cloud platforms** using industry‑standard IP protocols such as **MQTT, HTTP, and HTTPS**, without the need for gateways or long‑range wireless infrastructure.

With support for **entry/exit counting, room occupancy limits, restricted‑zone alerts, and automation triggers**, MacRay-ToF-WXx transforms physical movement data into actionable insights for **smart buildings, offices, hospitals, retail spaces, industrial facilities, and campuses**, enabling improved space efficiency, energy optimization, and operational safety.

| ![MacRay-ToF-WXx Wi-Fi Time-of-Flight sensor 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) |

<div class="faint-line"></div>

## Download Center

<div className="icon-card-grid">
  <a href="/docs/downloads/macray-tof-wxx-wifi-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-ToF-WXx</p>
    </div>
  </a>
</div>

<div class="faint-line"></div>

## Key Features

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

<div className="reusable-feature-card">
  <strong>People Counting & Occupancy Detection</strong>
  Accurate bidirectional people counting and real-time occupancy analytics using privacy-safe ToF sensing.
</div>

<div className="reusable-feature-card">
  <strong>Time-of-Flight 3D Depth Sensing</strong>
  Millimeter-level short-range distance and depth measurement for precise zone monitoring and entry/exit detection.
</div>

<div className="reusable-feature-card">
  <strong>Privacy-First Design</strong>
  No images, video, or personally identifiable data captured, making it ideal for sensitive indoor environments.
</div>

<div className="reusable-feature-card">
  <strong>Wi-Fi Based Connectivity</strong>
  Direct communication over standard Wi-Fi networks (2.4 GHz / 5 GHz) without gateways or long-range infrastructure.
</div>

<div className="reusable-feature-card">
  <strong>Real-Time Events & Automation Triggers</strong>
  Supports occupancy limits, restricted-zone alerts, and automation triggers for HVAC, lighting, and access control.
</div>

<div className="reusable-feature-card">
  <strong>Power-Operated with Backup Battery</strong>
  Continuous operation with inbuilt backup battery support during short power interruptions.
</div>

<div className="reusable-feature-card">
  <strong>Compact Ceiling & Wall Mount Design</strong>
  Optimized form factor for doors, corridors, rooms, and zone-focused indoor installations.
</div>

<div className="reusable-feature-card">
  <strong>Standard IP Protocol Support</strong>
  Supports MQTT, HTTP, and HTTPS for seamless integration with BMS, dashboards, and cloud platforms.
</div>

<div className="reusable-feature-card">
  <strong>Secure Wireless Communication</strong>
  WPA2 / WPA3 Wi-Fi security with TLS-encrypted data transmission.
</div>

<div className="reusable-feature-card">
  <strong>Local Configuration via BLE</strong>
  Fast provisioning, diagnostics, and configuration using the Macnman Maya mobile application.
</div>

</div>
<div class="faint-line"></div>

## Suited Applications

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

  <div className="reusable-feature-card">
    <strong>People Counting at Entry & Exit Points</strong>
    Accurate bidirectional people counting at doors, corridors, turnstiles, and access-controlled entry points using privacy-safe ToF sensing.
  </div>

  <div className="reusable-feature-card">
    <strong>Room & Zone Occupancy Monitoring</strong>
    Real-time occupancy tracking for offices, meeting rooms, classrooms, hospital wards, and conference areas to optimize space usage.
  </div>

  <div className="reusable-feature-card">
    <strong>Smart Buildings & Facility Management</strong>
    Occupancy-driven automation for HVAC, lighting, and ventilation systems within Wi‑Fi–enabled buildings and campuses.
  </div>

  <div className="reusable-feature-card">
    <strong>Retail Footfall & Queue Analytics</strong>
    Customer movement analysis, queue length monitoring, and zone engagement insights for retail stores and shopping spaces.
  </div>

  <div className="reusable-feature-card">
    <strong>Hospitals & Healthcare Facilities</strong>
    Privacy-safe monitoring of patient flow, waiting areas, and restricted zones without using cameras.
  </div>

  <div className="reusable-feature-card">
    <strong>Restricted & Secure Area Monitoring</strong>
    Detects unauthorized entry into server rooms, labs, storage areas, and sensitive operational zones.
  </div>

  <div className="reusable-feature-card">
    <strong>Warehouses & Industrial Indoor Areas</strong>
    Tracks workforce movement and zone activity inside warehouses and factories for safety compliance and operational visibility.
  </div>

  <div className="reusable-feature-card">
    <strong>Smart Campuses & Public Facilities</strong>
    Occupancy and movement analytics for airports, stations, educational campuses, and large public buildings.
  </div>
</div>

<div class="faint-line"></div>

## Technical Specifications
<div className="spec-block">
  <div className="spec-block-title">
    General <br /> Specifications
  </div>
  <div className="spec-block-details">
    <p className="label">Part Order Number</p>
    <p className="value">MacRay-ToF-WXx</p>
    <br />
    <p className="label">Product Brand</p>
    <p className="value">Macnman Technologies Pvt Ltd</p>
  </div>
</div>

<div class="faint-line"></div>

<div className="spec-block">
  <div className="spec-block-title">
    Time-of-Flight <br /> Measurement
  </div>
  <div className="spec-block-details">
<p className="label">Distance Range</p>
<p className="value">Long Range Mode: 4 cm to 400 cm *</p>
<p className="value">Short Range Mode: 4 cm to 130 cm *</p>
<br />
<p className="label">Sensors Grid Options</p>
<p className="value">2 X 2</p>
<p className="value">4 X 4</p>
<p className="value">8 X 8</p>
<br />
<p className="label">Accuracy</p>
<p className="value">±3% typical *</p>
<p className="value">&lt; ±5 mm (Indoor lighting conditions)</p>
<br />
<p className="label">Repeatability</p>
<p className="value">&lt; ±10 mm (under strong ambient light)</p>
<br />
<p className="label">Resolution</p>
<p className="value">Up to 1 mm</p>
<br />
<p className="label">Measurement Rate</p>
<p className="value">Up to 60 Hz (adjustable)</p>
<br />
<p className="label">Field of View (FoV)</p>
<p className="value">Programmable, up to 26° ~ 60°</p>
<br />
<p className="label">Ambient Light Immunity</p>
<p className="value">Up to 100k Lux (sunlight)</p>
<br />
<p className="label">Wavelength</p>
<p className="value">940 nm (IR, eye-safe & invisible)</p>
<br />
<p className="label">Response Time</p>
<p className="value">&lt; 25 ms (typical)</p>
<br />
<p className="label">Target Reflectivity Tolerance</p>
<p className="value">Reliable performance on dark, light, & low-reflective surfaces</p>
  </div>
</div>

<div class="faint-line"></div>

<div className="spec-block">
  <div className="spec-block-title">
    Wireless <br /> Communication
  </div>
  <div className="spec-block-details">
    <p className="label">Wi‑Fi Standards</p>
    <p className="value">IEEE 802.11 b/g/n/ac</p>
    <br />

    <p className="label">Frequency Bands</p>
    <p className="value">2.4 GHz & 5 GHz (Dual‑Band)</p>
    <br />

    <p className="label">Operating Modes</p>
    <p className="value">Station Mode (Client)</p>
    <p className="value">Access Point Mode (Configuration)</p>
    <br />

    <p className="label">Network Protocols</p>
    <p className="value"> MQTT, HTTP, HTTPS</p>
    <br />

    <p className="label">Security</p>
    <p className="value">WPA2‑PSK / WPA3</p>
    <p className="value">TLS / SSL Encrypted Communication</p>
    <br />

    <p className="label">IP Configuration</p>
    <p className="value">DHCP / Static IP</p>
    <br />

    <p className="label">Typical Indoor Range</p>
    <p className="value">Up to 100 m (environment dependent)</p>
    <br />
  </div>
</div>

<div class="faint-line"></div>

<div className="spec-block">
  <div className="spec-block-title">
    LED <br /> Status
  </div>
  <div className="spec-block-details">
    <p className="label">LED Type</p>
    <p className="value">1 Internal Multi-Color LED</p>
    <br />
    <p className="label">Solid Blue</p>
    <p className="value">Device is connected with Maya App</p>
    <br />
    <p className="label">Flashing Blue</p>
    <p className="value">OTA (Over-the-Air) update in progress</p>
    <br />
    <p className="label">Slow Blinking Green</p>
    <p className="value">Attempting to connect to the network</p>    
    <br />
    <p className="label">Single Red Blink</p>
    <p className="value">A confirmed parameter of MacSync is being modified</p>
    <br />

  </div>
</div>

<div class="faint-line"></div>

<div className="spec-block">
  <div className="spec-block-title">
    Device <br /> Configuration
  </div>
  <div className="spec-block-details">
    <p className="label">Configuration</p>
    <p className="value">Via Macnman Maya Android App</p>
    <br />
    <p className="label">Uplink Modes</p>
    <p className="value">Time Based / Threshold Based / Sampling Based</p>
    <br />
    <p className="label">Stored Records*</p>
    <p className="value">30,000 Records</p>
    <br />
    <p className="label">Remote Configuration</p>
    <p className="value">JSON Format Data - from server</p>    
    <br />
  </div>
</div>

<div class="faint-line"></div>

<div className="spec-block">
  <div className="spec-block-title">
    Supported <br /> Cloud & Platforms
  </div>
  <div className="spec-block-details">
    <p className="label">Deployment Models</p>
    <p className="value">On-Premise Servers</p>
    <p className="value">Private Cloud Deployments</p>
    <p className="value">Public Cloud Platforms</p>
    <br />

    <p className="label">IoT Cloud Platforms</p>
    <p className="value">AWS IoT Core</p>
    <p className="value">Microsoft Azure IoT Hub</p>
    <p className="value">Google Cloud (via MQTT / HTTPS)</p>
    <p className="value">Custom IoT Platforms</p>
    <br />

    <p className="label">Integration Methods</p>
    <p className="value">MQTT Brokers</p>
    <p className="value">REST / HTTPS APIs</p>
    <p className="value">Webhooks</p>
    <br />

    <p className="label">Enterprise Systems</p>
    <p className="value">SCADA Systems</p>
    <p className="value">BMS / IBMS Platforms</p>
    <p className="value">Data Lakes & Analytics Engines</p>
  </div>
</div>

<div class="faint-line"></div>

<div className="spec-block">
  <div className="spec-block-title">
    Physical <br /> Characteristics
  </div>
  <div className="spec-block-details">
    <p className="label">Power Supply</p>
    <p className="value">9-36 V DC</p>
    <br />
    <p className="label">Operating Temperature</p>
    <p className="value">-40°C to +80°C</p>
    <br />
    <p className="label">Humidity Range</p>
    <p className="value">0% to 100% RH (non-condensing)</p>
    <br />
    <p className="label">Ingress Protection</p>
    <p className="value">IP65 standard (IP67 optional variant)</p>    
    <br />
    <p className="label">Housing Material</p>
    <p className="value">Glass field Nylon</p>    
    <br />
    <p className="label">Color</p>
    <p className="value">Matte White</p>    
    <br />
    <p className="label">Weight</p>
    <p className="value">~110g</p>    
    <br />
    <p className="label">Mounting Options</p>
    <p className="value">Pole Mounting / Wall Mounting</p>    
    <br />
  </div>
</div>

<div class="faint-line"></div>

<div className="spec-block">
  <div className="spec-block-title">
    Electrical <br /> Characteristics
  </div>
  <div className="spec-block-details">
    <p className="label">Input Voltage Range</p>
    <p className="value">9-36 V DC (External Supply)</p>
    <br />
    <p className="label">Power Consumption</p>
    <p className="value">~100 µA in sleep mode</p>
    <p className="value">~150 mA during transmission</p>
    <br />
    <p className="label">Input Impedance</p>
    <p className="value">>10 MΩ for voltage inputs</p>
    <br />
  </div>
</div>

<div class="faint-line"></div>

<div className="spec-block">
  <div className="spec-block-title">
    Communication <br /> Options
  </div>
  <div className="spec-block-details">
    <p className="label">BLE Connectivity</p>
    <p className="value">For local configuration and diagnostics via Maya App</p>
    <br />
    <p className="label">Cloud Protocols</p>
    <p className="value">MQTT / HTTPS </p>
    <br />
    <p className="label">Serial Interface</p>
    <p className="value">RS485 Modbus RTU support (optional)</p>
    <br />
  </div>
</div>

<div class="faint-line"></div>

<div className="spec-block">
  <div className="spec-block-title">
    Certifications & <br /> Compliance
  </div>
  <div className="spec-block-details">
    <p className="label">WPC</p>
    <p className="value">Compliant</p>
    <br />
    <p className="label">RoHS</p>
    <p className="value">Conforms to RoHS directive</p>
    <br />
  </div>
</div>

<div class="faint-line"></div>

<div className="spec-block">
  <div className="spec-block-title">
    Security & <br /> Encryption
  </div>
  <div className="spec-block-details">
    <p className="label">Data Encryption</p>
    <p className="value">AES-256 end-to-end encryption</p>
    <br />
    <p className="label">Authentication</p>
    <p className="value">OTAA activation modes</p>
    <br />
    <p className="label">Firmware Protection</p>
    <p className="value">Secure boot and signed OTA updates</p>
    <br />
  </div>
</div>

## MacRay-ToF-WXx Variants
<table className="parameter-table">
  <thead>
    <tr>
      <th>Variant Name</th>
      <th>Sensor Grid Pattern</th>
      <th>Coverage</th>
      <th>Recommended Use</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>MacRay-ToF-LX2-PO</td>
      <td>2 × 2 (4‑point ToF)</td>
      <td>Narrow zone detection</td>
      <td>Doorway people counting / Access control</td>
    </tr>
    <tr>
      <td>MacRay-ToF-LX4-PO</td>
      <td>4 × 4 (16‑point ToF)</td>
      <td>Medium area coverage</td>
      <td>Room occupancy analytics / Facility automation</td>
    </tr>
    <tr>
      <td>MacRay-ToF-LX8-PO</td>
      <td>8 × 8 (64‑point ToF)</td>
      <td>Wider coverage with higher precision</td>
      <td>Zone activity mapping / Retail & smart workspace analytics</td>
    </tr>
  </tbody>
</table>

<!-- 
<table className="spec-table">
  <thead>
    <tr>
      <th colSpan="2" className="spec-title">Wireless Transmission</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Technology</td>
      <td>LoRaWAN® (v1.0.4), Macnman MacTalk Protocol</td>
    </tr>
    <tr>
      <td>Antenna</td>
      <td>Internal high-efficiency antenna</td>
    </tr>
    <tr>
      <td>Supported Bands</td>
      <td>IN865 / RU864 / EU868 / US915 / AU915 / KR920 / AS923-1/2/3/4</td>
    </tr>
    <tr>
      <td>Tx Power</td>
      <td>16 dBm @ 868 MHz &nbsp;&nbsp; 20 dBm @ 915 MHz &nbsp;&nbsp; 19 dBm @ 470 MHz</td>
    </tr>
    <tr>
      <td>Sensitivity</td>
      <td>-137 dBm @ 300 bps</td>
    </tr>
    <tr>
      <td>Activation</td>
      <td>OTAA / ABP</td>
    </tr>
    <tr>
      <td>LoRaWAN® Class</td>
      <td>Class A (default), Configurable to Class C via Maya</td>
    </tr>
  </tbody>
</table>

-->

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

![What's in the box: MacRay-ToF-WXx package contents](/img/lorawan/macray/macray-lorawan-what-is-in-the-box.svg)

**Accessories must be purchased separately & may :**
not be included in the box.

## MacRay-ToF-WXx Dimensions
![MacRay-ToF-WXx dimensions drawing](/img/lorawan/macray/macray-tof-sensor-dimensions-file.svg)

## Frequently Asked Questions

### What is the MacRay-ToF-WXx used for?

MacRay-ToF-WXx is a high-precision Wi-Fi Time-of-Flight sensor for indoor people counting, occupancy analytics and zone monitoring. Typical applications include People Counting at Entry & Exit Points, Room & Zone Occupancy Monitoring, Smart Buildings & Facility Management, Retail Footfall & Queue Analytics, Hospitals & Healthcare Facilities and Restricted & Secure Area Monitoring.

### What does the MacRay-ToF-WXx measure, and how accurately?

Measurement specifications of the MacRay-ToF-WXx:

- Time-of-Flight: range Long Range Mode: 4 cm to 400 cm *, Short Range Mode: 4 cm to 130 cm *, accuracy ±3% typical *, &lt; ±5 mm (Indoor lighting conditions), resolution Up to 1 mm.

### How does the MacRay-ToF-WXx connect and send data over Wi-Fi?

The MacRay-ToF-WXx connects over IEEE 802.11 b/g/n/ac Wi-Fi on 2.4 GHz & 5 GHz (Dual‑Band). Security: WPA2‑PSK / WPA3, TLS / SSL Encrypted Communication. IP configuration: DHCP / Static IP. It sends data using MQTT, HTTP, HTTPS. Typical indoor range is up to 100 m (environment dependent).

### How is the MacRay-ToF-WXx powered?

The MacRay-ToF-WXx is powered from 9-36 V DC (External Supply).

### What is the IP rating and operating temperature of the MacRay-ToF-WXx?

The MacRay-ToF-WXx has an ingress protection rating of IP65 standard (IP67 optional variant) and an operating temperature range of -40°C to +80°C. Operating humidity: 0% to 100% RH (non-condensing). Mounting options: Pole Mounting / Wall Mounting.

### How is the MacRay-ToF-WXx configured?

The MacRay-ToF-WXx is configured with the Macnman Maya Android app. Supported uplink modes: Time Based / Threshold Based / Sampling Based. It can also be configured remotely with JSON data sent from the server.

### Which cloud platforms does the MacRay-ToF-WXx work with?

The MacRay-ToF-WXx can send data to platforms including AWS IoT Core, Microsoft Azure IoT Hub, Google Cloud (via MQTT / HTTPS), Custom IoT Platforms. Deployment models: On-Premise Servers, Private Cloud Deployments, Public Cloud Platforms. Integration methods: MQTT Brokers, REST / HTTPS APIs, Webhooks.

## Related Products and Resources

- Related datasheets: [MacRay LToF LoRaWAN Time-of-Flight sensor](/product/lorawan/sensors/level-sensors/macray-ltof-lorawan-time-of-flight-sensor), [MacRay-WU4 Wi-Fi ultrasonic level sensor](/product/wifi/sensors/level-sensors/macray-lorawan-ultrasonic-sensor-sub-four-meter-gen-one)
- Help: [Warranty terms and conditions](/help/macnman-standard-warranty-terms-and-conditions) and [contact Macnman support](/help/help)
