Digital Night Vision Monocular Design

Got it — I’ll wire the CSI connector from this pinout, add/label the camera 3.3 V supply and control/I2C nets, then run a board check so we can see what remains before routing.
Done — I wired the 22-pin CSI camera connector J2 from your pinout.
Mapped:
  • J2 pin 1 → 3.3 V
  • J2 pins 4, 7, 10, 13, 16, 19, 22 → GND
  • CSI D0/D1/CLK differential pairs → ESP32-P4 CSI pins
  • CSI SDA/SCL → ESP32 GPIO16/GPIO17
  • CSI GPIO1/GPIO0 → ESP32 GPIO18/GPIO19
  • J2 pins 8, 9, 11, 12 → no-connect
Open items:
  • The ESP32-P4 library symbol labels pin 42 incorrectly as duplicate CSI_DATAP0; the datasheet says pin 42 is CSI_DATAN0, so I connected CSI_D0_N using the pin-number-specific reference.
  • PCB review now shows many stale/partial route issues and airwires from earlier routing/moved components.
  • I did not autoroute over the stale routing because it would likely make the overlap errors worse.
Suggested next steps:
  1. Rip up stale routing / clear current trace errors.
  2. Re-place slightly if needed for MIPI escape.
  3. Route CSI/DSI/USB as controlled high-speed pairs.
Rip up routing
Re-place for MIPI
Route high speed
Add power rails
Run full review

Refine this doc
Ask about this doc
Project Specification: ESP32-P4 Night Vision Monocular
Project Overview
  • Status: Draft
  • Compact controller PCB for a digital night vision monocular.
  • Maximum PCB size: 40 mm × 40 mm.
  • Main processor: Espressif ESP32-P4NRW32.
  • Camera input target: IMX462 2MP MIPI CSI camera module, 22-pin 0.5 mm connector assumed but pinout still needed.
  • Display output target: 30-pin 0.5 mm MIPI display connector with supplied pinout.
  • USB-C connector: 17 mm 16-pin Type-C receptacle that sticks up, used for both external power and programming.
Intended Use
  • Prototype monocular electronics board for camera-to-display digital night vision.
  • Powered externally from USB-C.
  • USB-C should also support programming/debug over USB where practical.
  • Rear-side soft-power on/off control is required.
What the Device Should Do
  • Power the ESP32-P4 and attached camera/display support rails.
  • Accept MIPI CSI camera input from the IMX462 camera module.
  • Drive a MIPI DSI display.
  • Provide BOOT and RESET tactile buttons.
  • Provide a soft-power circuit for user on/off control.
  • Allow firmware programming through the USB-C connector.
Main Features
  • 40 mm × 40 mm compact PCB target.
  • ESP32-P4NRW32 QFN-104 processor.
  • 30-position 0.5 mm FFC/FPC DSI display connector.
  • 22-position 0.5 mm FFC/FPC CSI camera connector.
  • 17 mm 16-pin upright/sticking-up USB-C connector for power and programming.
  • Two BOOMELE 4×4×1.7 mm tactile switches.
  • Rear soft-power control circuit.
System Architecture

Diagram


17 mm 16-pin USB-C<br/>5V Power + Programming Soft Power / Load Switch ESP32-P4 USB D+/D- Local Regulators ESP32-P4NRW32 30-pin 0.5 mm MIPI DSI Display Connector IMX462 MIPI CSI Camera<br/>22-pin connector pinout TBD BOOT + RESET Buttons
Hardware Subsystems
  • Compute: ESP32-P4NRW32.
  • Camera interface: IMX462 2MP module, RAW10 1920×1080 @ 60 fps, rolling shutter, 1/2.8 in optical format, M12 lens, visible-light-only with integral IR-cut filter.
  • Display interface: 30-pin 0.5 mm MIPI display connector using supplied pinout.
  • Power input/programming: 17 mm 16-pin Type-C connector, upright/sticking-up style, USB 2.0 power + D+/D- programming expected.
  • Power control: rear momentary-button hold soft-power circuit using a pushbutton on/off controller direction; target behavior is hold/toggle control from a momentary rear button with MCU-aware shutdown if firmware support is added.
  • User controls: boot and reset buttons using BOOMELE 4×4×1.7 mm tactile switches.
Interfaces and Connections
USB-C
  • Required: 17 mm wide, 16-pin Type-C receptacle that sticks up.
  • Selected library part for schematic: SHOU HAN TYPE-C 16PLC-H10.0 vertical 16-pin USB-C connector; mechanical fit must still be checked against the enclosure and the 17 mm height/outline shown in the reference image.
  • Functions: external 5V input and USB programming.
  • USB-C sink configuration requires independent 5.1 kΩ pull-downs on CC1 and CC2 unless a USB-C controller is selected.
  • USB D+/D− should route as a 90 Ω differential pair to ESP32-P4 DP/DM pins.
Display 30-pin MIPI Pinout Supplied

Table


PinSymbolFunction
1VLED+LED backlight anode power
2-3VLED-LED backlight cathode/power
4VCIPower supply 2.8 V
5IOVCCPower supply 1.8/2.8 V
6RSTBLCD reset signal
7TETearing effect output
8PWMBacklight PWM control
9GNDGround
10D0PDSI D0+
11D0NDSI D0−
12GNDGround
13D1PDSI D1+
14D1NDSI D1−
15GNDGround
16CLKPDSI CLK+
17CLKNDSI CLK−
18GNDGround
19-20NCNo connect
21GNDGround
22-23NCNo connect
24GNDGround
25TP-INTTouch interrupt
26TP-SDATouch I2C data
27TP-SCLTouch I2C clock
28TP-RESETTouch reset
29TP-VCCTouch power
30TP-IOVCCTouch I/O power
Camera IMX462 Spec Supplied
  • Sensor: Sony IMX462.
  • Resolution: 1920(H) × 1080(V), 2MP.
  • Output: RAW10, 1920×1080 @ 60 fps.
  • Optical format: 1/2.8 in, 6.46 mm diagonal.
  • Pixel size: 2.9 µm × 2.9 µm.
  • Lens: M12, 2.1 mm focal length, F2.1, 161° diagonal FOV.
  • Camera board size: 24 mm × 25 mm.
  • Important: module says visible light only due to integral IR-cut filter; this may not be suitable for true IR night vision unless the IR-cut filter is removed or a no-IR-cut module is selected.
  • Camera connector pinout is still needed before wiring the 22-pin CSI connector.
Power and Runtime Expectations
  • External USB-C power only in the current requirement set.
  • Battery operation was not requested.
  • Power budget is preliminary because display backlight current, camera module rail currents, IR illumination, and all rail requirements are not yet specified.
Power Tree and Power Budget

Table


RailLoadsCurrent Status
USB 5VInput to soft-power/load switch and regulatorsRequired
Switched 5VRegulators, display backlight boost/current source if neededRequired
3.3VESP32-P4 support and possibly touch/display logicRequired
2.8VDisplay VCI and possibly camera analog railRequired by display pinout
1.8V or 2.8V I/ODisplay/touch IOVCC, camera I/O railNeed module confirmation
LED backlight railVLED+/VLED−Current/driver requirements TBD
Manufacturing and Assembly Expectations
  • SMD assembly expected due to 40×40 mm board and fine-pitch QFN/MIPI FFC connectors.
  • High-speed MIPI/USB layout should use at least a 4-layer controlled-impedance stackup; 6 layers may be needed depending on breakout/routing density.
Firmware-Relevant Hardware Requirements
  • BOOT and RESET controls must support flashing and recovery.
  • USB D+/D− programming connection should route to ESP32-P4 DP/DM.
  • Display control pins needed: LCD reset, TE, PWM, touch INT/SDA/SCL/RESET.
  • Pin mapping for display controls and touch I2C must be assigned to safe ESP32-P4 GPIOs.
Physical Design Expectations
  • Board size: no larger than 40 mm × 40 mm.
  • USB-C and soft-power circuit: on back of board.
  • USB-C connector should be 17 mm 16-pin upright/sticking-up style.
  • Connector orientation/contact side must match the selected camera and display ribbons.
  • With the ESP32-P4 chip text/writing in its intended readable orientation, place the MIPI CSI camera connector on the right side of the chip and the MIPI DSI display connector on the left side of the chip.
Important Design Decisions
  • Use the exact ESP32-P4NRW32 found in the Flux library.
  • Use exact BOOMELE 4×4×1.7 tactile switch found in the Flux library.
  • Use library-available FFC/FPC connectors for initial DSI/CSI placeholders unless the final display/camera cable pinouts demand different contact orientation.
  • USB-C is now required for both power and programming.
  • USB-C power/programming block now includes CC1/CC2 5.1 kΩ sink pull-downs, USB D+/D− ESD protection, and routing to ESP32-P4 USB DP/DM.
  • Soft power direction now uses LTC2950 pushbutton on/off controller driving a TPS22995 5 V load switch.
  • The IMX462 module may not be appropriate for IR night vision if its integral IR-cut filter cannot be removed.
Assumptions / Open Items
  • Need exact 22-pin IMX462 camera connector pinout.
  • Need display backlight current/voltage requirements to choose LED driver topology.
  • Need confirmation of display/touch IOVCC voltage: 1.8 V vs 2.8 V.
  • Verify selected SHOU HAN TYPE-C 16PLC-H10.0 mechanical height/outline against the intended rear-facing 17 mm upright connector requirement.
  • Need final 5 V to 3.3 V / 2.8 V / 1.8 V regulator selection and display backlight driver once current requirements are known.
  • Soft-power behavior selected: momentary button hold/toggle soft-power circuit; exact long-press timing and MCU shutdown handshake are still to be finalized from the selected controller datasheet.
Change Notes
  • Initial specification created from the user's requirements.
  • Added 17 mm 16-pin USB-C for power and programming.
  • Added supplied IMX462 camera module specifications.
  • Added supplied 30-pin display MIPI/touch pinout.
  • Selected direction for rear soft power: momentary-button hold/toggle controller rather than a hard latching mechanical switch.
  • Added layout-orientation constraint: CSI connector right of ESP32-P4, DSI connector left of ESP32-P4 relative to chip text orientation.

    Project Overview

    Intended Use

    What the Device Should Do

    Main Features

    System Architecture

    Hardware Subsystems

    Interfaces and Connections

    USB-C

    Display 30-pin MIPI Pinout Supplied

    Camera IMX462 Spec Supplied

    Power and Runtime Expectations

    Power Tree and Power Budget

    Manufacturing and Assembly Expectations

    Firmware-Relevant Hardware Requirements

    Physical Design Expectations

    Important Design Decisions

    Assumptions / Open Items

    Change Notes

Documents

    Project Specification: ESP32-P4 Night Vision Monocular

Assets

Assets are files uploaded to this project which can be used in various ways.

ESP32-P4 Night Vision Monocular thumbnail
Compact 40×40 mm ESP32-P4-based digital night vision monocular controller with MIPI CSI camera input, MIPI DSI display output, rear USB-C external power, boot/reset buttons, and rear soft-power on/off circuitry.

Properties

Pricing & Availability

Distributor

Qty 1

Arrow

$5.54–$7.80

Digi-Key

$2.53–$2.64

HQonline

$1.30–$1.40

LCSC

$14.64–$14.76

Mouser

$11.40

TME

$1.01

Verical

$4.57–$6.57

Controls