# RS485/Analog Datalogger (MacSync) Data Sampling & Uploading

URL: https://www.macnman.com/docs/lorawan/datalogger-lorawan-macsync/maya_sampling_and_uploading_lorawan
Section: User Manual › Lorawan › Datalogger Lorawan Macsync

## Data Sampling & Upload Timings

![trigger uplinks](/img/mayascreens/sampling_data.svg)

## Data Sampling Frequency

**Sampling** allows the device to collect multiple sensor readings at user-defined intervals **without immediately sending them to the server**.

## How does Sampling & Upload works:
- **Set the sample count** (e.g., 12 samples).
- **Define the time gap** between each sample (e.g., every 5 minutes).
- The device will collect the specified number of samples locally.
- Once all samples are collected, the device will **send a single uplink** containing the aggregated data.

> This helps reduce network usage and power consumption while preserving detailed sensor trends.

## Related Resources

- Datasheet: [MacSync LX1 RS485 Modbus RTU and analog to LoRaWAN datalogger datasheet](/product/lorawan/dataloggers/rs485-analog-to-lorawan-converter-macsync-lx1)
- Start of this manual: [RS485/Analog Datalogger (MacSync) Introduction](/lorawan/datalogger-lorawan-macsync/macsync_rs485_lorawan_introduction)
- Help: [Contact Macnman support](/help/help)
