1. Home
  2. Docs
  3. SmartSampler2
  4. 2. Hardware Interfaces
  5. 2.1 Communication Ports
  6. Analog/UART

Analog/UART

Port pinning

PinFunctionPigtail wire color
1GNDwhite
2Analog/Pulse 1 / UART 1 TX (0 – 5 VDC)brown
3Analog/Pulse 2 / UART 2 RX (0 – 5 VDC)green
4Analog/Pulse 3 / UART 2 TX (0 – 5 VDC)yellow
5Analog/Pulse 4 / UART 3 RX (0 – 5 VDC)grey
6Analog/Pulse 5 / UART 3 TX (0 – 5 VDC)pink
7VIN, 5V or 3.3Vblue
8Analog/Pulse 6 / UART 1 RX (0 – 5 VDC)red

Analog / Digital Input – Signal Characteristics

The analog inputs are designed for robust 0–5 V signals and can be used in three ways:

  • Analog measurement
  • Digital / pulse detection
  • UART communication (logic-level)

An internal protection and filtering network improves noise immunity and protects the microcontroller input.


Supported Signal Levels

  • Input voltage range: 0–5 V DC
  • Signals are internally scaled and protected to safely interface with the microcontroller (3.3 V domain).

Pulse Detection (Digital Input Mode)

The analog inputs includes internal filtering to suppress noise and false triggers.
This makes it well suited for counting slow and medium-speed pulses from sensors, flow meters, reed switches, or logic outputs.

Recommended pulse frequency range

Pulse frequencyBehavior
0 – 1 kHzFully reliable, clean edges
1 – 2 kHzTypically reliable
> 2 kHzEdges become increasingly rounded; reliability depends on signal quality

Practical guidance

  • For guaranteed pulse counting, keep frequencies ≤ 1 kHz.
  • For higher frequencies, ensure:
    • Push-pull (actively driven) signal source
    • ≥ 50 % duty cycle if possible

Open-collector / open-drain sources may require lower frequencies due to slower edge rise times.


UART Communication via Analog Inputs

Analog channels can alternatively be configured as UART.
Because the input includes noise filtering, very high baud rates are intentionally not supported.

Reliable UART baud rates

Baud rateRecommendation
up to 38 400Fully reliable
57 600Typically reliable
115 200Possible under ideal conditions
> 115 200Not recommended

Notes on UART usage

  • Designed for robust field communication, not high-speed data streaming
  • Best used with:
    • Short cable lengths
    • Clean logic-level signals
    • Push-pull drivers

If higher baud rates are required, the other Serial interface (RS-232 / RS-485 ) are recommended.

How can we help?