Skip to main content

Interface Board

The interface-board MCU manages external IO, power, and peripherals, and communicates with the core board over UART0. Its terminals provide PoE, Wiegand, alarm, and audio wiring.

Part numbers are for datasheet, driver, and debugging reference; follow the BOM and schematic for hardware changes.

The annotated photos are shown below:

NE503 Interface Board Annotation (Side 1)
NE503 Interface Board Annotation (Side 2)
NE503 External Terminal Block Annotation

Interface Overview

External Interfaces — Exposed on the device enclosure for user access:

#FunctionDescriptionCategory
1Alarm I/OAlarm input/outputProduct
2RS-485Serial communication busProduct

On-Board Resources — Implemented features:

#FunctionDescriptionCategory
3IR-CUT DriverDay/night filter switchingInternal
4Light Sensor DetectionADC ambient light samplingInternal
5IR Light Board DriverNear/Far-IR PWMInternal
6LENS DriverSPI lens driverInternal
7System LEDBlue status LEDInternal
8Temperature SensorADC temperature samplingInternal
9Bidirectional ResetSoC resets MCU / MCU resets Processor BoardInternal
10RTCVBAT power-fail retentionInternal

Internal Reserved Resources — Reserved features, not yet enabled:

#FunctionDescriptionCategory
11Radar Power EnablePB0 power controlInternal (Reserved)
12Dual-Light Board DriverWhite/Red LED PWMInternal (Reserved)
13Fan Driver12V fan enableInternal (Reserved)
14Heater12V heater enableInternal (Reserved)

Debug Interfaces — For development and debugging:

#FunctionDescriptionCategory
15ST-LINKSWD debug portDebug
16Debug UART1USART1Debug

External Interfaces

Alarm I/O

Alarm input/output on the device enclosure.

PinFunctionNote
PB13Alarm_IN0External alarm input 0
PB14Alarm_IN1External alarm input 1
PA8Alarm_OUT0Alarm output 0 (level output)
PA9Alarm_OUT1Alarm output 1 (multiplexed with USART1_TX)

Note: The MCU exposes 2 Alarm IN pins (PB13/PB14), but the product enclosure connector only routes out 1 Alarm IN.

RS-485

RS-485 serial communication on the device enclosure.

PinFunction
PC4RS485_TXD3 (Transmit)
PC5RS485_RXD3 (Receive)
PB1RS485_EN (Transceive enable)

On-Board Resources

IR-CUT

IR-CUT day/night filter driver.

PinFunctionNote
PB8IR_CUT_EN (IR-CUT driver enable)Supports auto / day / night three-mode switching

Light Sensor Detection

Photoresistor ADC sampling for ambient light threshold detection, driving automatic day/night mode switching.

PinFunctionNote
PA1PD_ADC (ADC1_IN1, photoresistor sampling)Ambient light threshold detection

Light Board Drivers

The interface board controls external light boards via PWM (independent physical modules connected via connectors).

IR Light Board (Near-IR/Far-IR):

PinFunction
PC9PWM_Far (Far-IR PWM)
PC8PWM_Near (Near-IR PWM)

LENS Driver (AN41908A-VBA)

The MCU SPI1 interface provides the control path for the installed lens module. The AN41908A-VBA entry on this page corresponds to the documented board-level driver device; the product offers AF Lens (44.5° HFOV) or Motorized Zoom (110° HFOV), while the actual lens capabilities, driver device, and firmware controls depend on the specific SKU/BOM. The SoC-side SPI CS1 is also connected to this driver path (default control path), while the MCU side handles lens homing and limit protection.

PinFunction
PA5SPI1_CLK (SPI clock)
PA6SPI1_MISO (SPI master in slave out)
PA7SPI1_MOSI (SPI master out slave in)
PA4SPI1_CS (SPI chip select)
PB3LENSPOWER_EN (Lens power enable)
PD6F_RST (Focus reset)
PD5Z_RST (Zoom reset)
PD4RSTB (Master reset)
PD3PLS2 (Step control 2)
PD2PLS1 (Step control 1)
PD1VD_FZ (Vertical drive Focus/Zoom)
PD0LS_FZ (Limit switch Focus/Zoom)

System LED

PinFunctionNote
PD9SYS-LED (System status LED)Blue, MCU direct control

Temperature Sensor (LMT87DCK)

PinFunction
PB2Temp_ADC (Temperature ADC sampling)

Main Board Reset

MCU controls core processing board reset via PD8. Conversely, the SoC can also reset the MCU via H_GPIO_18 (SN74LVC1G14DCK) (see Core Board).

PinFunction
PD8POWER_RST (Core processing board reset control)

RTC

MCU VBAT powered by external supercapacitor to maintain RTC operation, synchronized with core processing board system time.

FunctionDescription
RTC PowerVBAT with external supercapacitor
Time SyncMCU RTC synchronized with core processing board
Power-Fail RetentionSupercapacitor maintains RTC operation

Internal Reserved Resources

Radar Power Enable

MCU controls the radar module power switch.

PinFunction
PB0Radar_EN (Radar power enable)

Dual-Light Board Driver

PinFunction
PB4PWM_R (Red light PWM)
PB5PWM_W (White light PWM)
PB6R_CTL (Red light switch control)
PB7W_CTL (White light switch control)

Fan Driver

PinFunctionNote
PB9FAN_EN (Fan enable)12V

Heater

PinFunctionNote
PA15HEAT_EN (Heater enable)12V

Debug Interfaces

MCU SWD debug port for firmware flashing and online debugging.

PinFunction
PA14SWDCLK / BOOT0
PA13SWDIO

UART1 (Debug Serial Port)

PinFunctionNotes
PA10USART1_RX (Receive)
PA9USART1_TX (Transmit)Mutually exclusive with Alarm_OUT1, only one can be used at a time