Skip to main content

Sensor Extension Board

This guide describes how to use the NE301 sensor extension board to quickly set up sensor demos for various application scenarios.


1. Overview​

The NE301 platform provides standardized sensor expansion capabilities. The sensor extension board connects via a unified I2C bus, managed by an open-source driver layer. It supports plug-and-play operation and custom sensor integration, providing a flexible hardware foundation for application-specific requirements.

Open Architecture​

NE301 sensor expansion is built on standard hardware interfaces and open-source drivers, allowing developers to freely adapt and extend:

  • Standard I2C interface: I2C bus 1 with 7-bit addressing (0x03–0x77), compatible with mainstream I2C sensors
  • Standard SPI display: SPI6 interface driving ST7789VW TFT display (240Γ—240 RGB565) for real-time sensor data visualization
  • Open-source driver layer: Complete C driver code available on GitHub at Custom/Hal/SensorExt/, including I2C bus abstraction, sensor drivers, CLI debug commands, and TFT display output
  • Unified CLI command: The sexp command starts all sensor data acquisition and display with a single line

Expansion Capabilities​

MethodDescription
Plug and playSensor extension board pre-integrates 9 sensors, ready to use upon connection
Custom sensorsConnect any compatible sensor via I2C bus, write adapters referencing open-source drivers
Display outputBuilt-in TFT/OLED driver supports real-time sensor data text overlay and thermal imaging pseudo-color rendering
API integrationOpen-source C APIs (sht3x_init(), vl53l1x_get_result(), etc.) can be integrated into user applications

Supported Sensors​

SensorModelSpecificationsTypical Applications
Temperature/HumiditySHT3xTemperature Β±0.3Β°C, Humidity Β±2%RHEnvironmental monitoring, warehouse management, overheating protection
Ambient LightLTR-31xVisible + IR 16-bit detectionLighting control, day/night switching, intrusion detection
6-axis IMULSM6DSRAccelerometer + Gyroscope + TemperatureOrientation detection, vibration monitoring, fall detection
Short-range ToFVL53L1XLaser ranging 1.3m (short) / 4m (long)Proximity detection, gesture recognition, collision warning
Long-range LaserDTS6012Md-ToF, 18m range (12m@160Klux), 905nm, FOV<2Β°Remote target detection, distance monitoring, perimeter security
IR Thermal ImagingMLX9064232Γ—24 pixel temperature matrix, Β±1Β°C, FOV 110°×75Β° / 45°×35Β°Non-contact temperature measurement, thermal distribution detection, human presence detection
PIR Human DetectionNP624M-FDigital dual-element, RF interference resistant, 5ΞΌA, VIN:1.6~3.6VHuman motion detection, intrusion alarm, automatic lighting
mmWave RadarRKB1161LX124GHz, UART, 68ΞΌA power consumption, 20Γ—20Γ—1.0mmHuman detection, presence sensing, micro-motion detection
MEMS MicrophoneLMA3729T381-OY3SMEMS MTC, sensitivity -38dB, SNR=63dBVoice capture, sound detection, ambient audio monitoring

Supported Displays​

TypeSizeInterfaceResolutionColorDimensions (mm)
OLED0.96"I2C, 4PIN128Γ—64Blue24.7(L)Γ—27(W)Γ—11.3(T)
TFT1.14"SPI, IPS135Γ—24065K colors31.4Γ—28Γ—11.3
TFT1.54"SPI, IPS240Γ—240262K colors32(W)Γ—43.7(H)Γ—5.32(T)

2. Hardware Preparation and Assembly​

Required Hardware​

ComponentDescription
NE301 development boardPre-installed system firmware
Sensor extension boardPre-integrated 9 sensors
Display0.96" OLED / 1.14" TFT / 1.54" TFT (bundled with extension board, optional)
SpeakerHDK-302008ZA-3C13, 30Γ—20mm, 1.5W, 8Ξ©, 90dB (optional)
USB-C cableFor serial debugging and power supply
Debug toolSerial terminal (e.g., minicom, PuTTY)

Assembly Steps​

Step 1: Align the sensor extension board with the NE301 expansion connector and press to seat

NE301 with sensor extension boardSensor extension board close-up

Step 2: Connect the TFT display to the SPI6 interface on the extension board

Step 3: Connect NE301 via USB-C and open the serial terminal

Note: The TFT display and NAU881x audio codec share the SPI6 interface. They are mutually exclusive via resistor soldering configuration. To use audio functionality, switch to an audio-configured extension board.

After assembly, the NE301 should appear as follows:


3. Quick Start​

3.1 Scan I2C Bus​

After connecting the serial terminal, run the I2C scan command to verify all sensors are online:

AICAM> i2c_tool detect
Scanning I2C bus 1, address range 0x03-0x77
00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- 1a -- -- -- -- --
20: -- -- 22 -- -- -- -- -- -- 29 -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- 44 -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- 66 -- -- -- 6a -- -- -- -- --
70: -- -- -- -- -- -- -- --

Complete sensor list:

AddressSensorAddressSensor
0x1aNAU881x audio codec0x44SHT3x temperature/humidity
0x22LTR-31x ambient light0x51DTS6012M laser ranging
0x29VL53L1X ToF ranging0x66MLX90642 IR thermal imaging
0x6aLSM6DSR 6-axis IMU

All sensors share I2C bus 1. A missing sensor does not affect the operation of other sensors.

3.2 Start Sensor Data Acquisition​

Run the following command to start sensor data acquisition and TFT display:

AICAM> sexp start

This command will:

  • Initialize all sensors (I2C bus 1)
  • Start a 200ms periodic sensor reading thread
  • Display sensor data in real time on the TFT screen
  • The ir parameter enables infrared thermal imaging mode (no camera required)

Once started, the TFT display will show all sensor data in real time:

3.3 View Sensor Data​

The upper text area of the TFT screen displays real-time readings from each sensor:

SHT3x: 33.4 C 45.0%       ← Temperature/Humidity
ALS: 2255 IR: 63 ← Ambient light (visible + IR)
VL53:159 mm ← Short-range ToF ranging
DTS:N/A mm ← Long-range laser ranging
A: 16 -14 -991 mg ← Accelerometer (3-axis)
G: 140 -1050 140 mdps ← Gyroscope (3-axis)

3.4 IR Thermal Imaging​

Run the following command to start IR thermal imaging mode:

AICAM> sexp start ir

This command will:

  • Initialize all sensors (I2C bus 1)
  • Start the MLX90642 IR thermal imaging array (32Γ—24 pixels)
  • Display thermal imaging on the lower half of the TFT screen (pseudo-color rendering, blueβ†’greenβ†’yellowβ†’red spectrum)
  • Display all sensor text data on the upper half simultaneously

The top of the TFT screen shows thermal imaging statistics:

MLX: min 16.4 C max 28.8 C avg 21.6 C

Move your hand near the sensor area to observe real-time temperature changes in the thermal imaging display.

Tip: You can also use sexp start (without the ir parameter) to overlay sensor data text on the camera preview. This requires camera pipe2 to be running first.

3.5 Stop Data Acquisition​

AICAM> sexp stop

4. Supported Sensors​

The sensor extension board integrates 8 sensor types covering temperature/humidity, light, motion, distance, thermal imaging, mmWave radar, and audio detection. Additionally, 3 display specifications are supported for data visualization. Driver source code and CLI debug commands are fully open-source. Developers can access the complete source code and API documentation at Custom/Hal/SensorExt/ in the GitHub repository.

SensorInterface / AddressAccuracy / RangeCLI Debug Commands
SHT3x temperature/humidityI2C 0x44Temperature Β±0.3Β°C, Humidity Β±2%RHsht3x init β†’ sht3x read β†’ sht3x deinit
LTR-31x ambient lightI2C 0x2216-bit ALS + IR countsals init β†’ als read β†’ als deinit
LSM6DSR 6-axis IMUI2C 0x6aΒ±2g~Β±16g / Β±125~Β±2000dpslsm6dsr init β†’ lsm6dsr read β†’ lsm6dsr deinit
VL53L1X ToFI2C 0x29Short-range 1.3m / Long-range 4mvl53l1x init β†’ vl53l1x start β†’ vl53l1x read
DTS6012M laser rangingI2C 0x51d-ToF, 18m range, 12m@160Klux, 905nm, FOV<2Β°, 21Γ—15Γ—7.87mmdts6012m init β†’ dts6012m read β†’ dts6012m deinit
MLX90642 IR thermal imaging (wide-angle)I2C 0x6632Γ—24 pixels, FOV 110°×75Β°, -40~85Β°Cmlx90642 init β†’ mlx90642 measure β†’ mlx90642 deinit
MLX90642 IR thermal imaging (narrow-angle)I2C 0x6632Γ—24 pixels, FOV 45°×35Β°, -40~85Β°Cmlx90642 init β†’ mlx90642 measure β†’ mlx90642 deinit
RKB1161LX1 mmWave radarUART, 3.3~5V24GHz, 68ΞΌA power consumption, 20Γ—20Γ—1.0mmDriver under development
LMA3729T381-OY3S MEMS microphoneI2S, 2.0VMEMS MTC, sensitivity -38dB, SNR=63dBAudio pipeline integration

Supported Displays​

TypeSizeInterfaceResolutionColorDimensions (mm)Notes
OLED0.96"I2C, 4PIN128Γ—64Blue24.7(L)Γ—27(W)Γ—11.3(T)Low power, suitable for text information
TFT1.14"SPI, IPS135Γ—24065K colors31.4Γ—28Γ—11.3IPS wide viewing angle
TFT1.54"SPI, IPS240Γ—240262K colors32(W)Γ—43.7(H)Γ—5.32(T)Standard configuration, supports thermal imaging pseudo-color rendering

Developer Resources

Source code path: Custom/Hal/SensorExt/

SensorExt/
β”œβ”€β”€ i2c_driver/ # I2C bus abstraction layer
β”œβ”€β”€ sht3x/ # SHT3x temperature/humidity driver
β”œβ”€β”€ ltr_31x/ # LTR-31x ambient light driver
β”œβ”€β”€ lsm6dsr/ # LSM6DSR 6-axis IMU driver
β”œβ”€β”€ vl53l1x/ # VL53L1X ToF driver
β”œβ”€β”€ dts6012m/ # DTS6012M laser ranging driver
β”œβ”€β”€ mlx90642/ # MLX90642 IR thermal imaging driver
β”œβ”€β”€ tft_st7789v/ # TFT display driver
└── sensor_exemple/ # Integration example (sexp command)

5. Customization Support​

The sensor extension board demonstrates NE301's environmental sensing capabilities. The current sensor board supports flexible selection of sensors based on application requirements, with customizable top covers to accommodate different heights and display configurations. All driver source code is fully open-source β€” developers can implement their own application logic or contact CamThink for custom development. For more information, please contact our Sales team.

ε›Ύη‰‡εη§°ζ•°ι‡θ―΄ζ˜Ž
Sensor Extension Board
Sensor Extension Board1
Pre-integrated with 9 sensors: SHT3x, LTR-31x, LSM6DSR, VL53L1X, DTS6012M, MLX90642 (wide-angle/narrow-angle), NP624M-F PIR, RKB1161LX1 mmWave radar, LMA3729T381-OY3S MEMS microphone
Communicates with NE301 via I2C bus 1
Display (optional)
Display (optional)1
0.96" OLED (I2C, 128Γ—64) / 1.14" TFT (SPI, 135Γ—240) / 1.54" TFT (SPI, 240Γ—240)
OLED low power for text display, TFT supports thermal imaging pseudo-color rendering
Speaker (optional)
Speaker (optional)1
HDK-302008ZA-3C13, dynamic type, 30Γ—20mm
Rated power 1.5W, impedance 8Ω±15%, sensitivity 90dB (0.5W/0.1m), frequency range Fo–20KHz

Last updated: 2026-04-01