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.
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:
Rip up stale routing / clear current trace errors.
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
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
Pin
Symbol
Function
1
VLED+
LED backlight anode power
2-3
VLED-
LED backlight cathode/power
4
VCI
Power supply 2.8 V
5
IOVCC
Power supply 1.8/2.8 V
6
RSTB
LCD reset signal
7
TE
Tearing effect output
8
PWM
Backlight PWM control
9
GND
Ground
10
D0P
DSI D0+
11
D0N
DSI D0−
12
GND
Ground
13
D1P
DSI D1+
14
D1N
DSI D1−
15
GND
Ground
16
CLKP
DSI CLK+
17
CLKN
DSI CLK−
18
GND
Ground
19-20
NC
No connect
21
GND
Ground
22-23
NC
No connect
24
GND
Ground
25
TP-INT
Touch interrupt
26
TP-SDA
Touch I2C data
27
TP-SCL
Touch I2C clock
28
TP-RESET
Touch reset
29
TP-VCC
Touch power
30
TP-IOVCC
Touch 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
Rail
Loads
Current Status
USB 5V
Input to soft-power/load switch and regulators
Required
Switched 5V
Regulators, display backlight boost/current source if needed
Required
3.3V
ESP32-P4 support and possibly touch/display logic
Required
2.8V
Display VCI and possibly camera analog rail
Required by display pinout
1.8V or 2.8V I/O
Display/touch IOVCC, camera I/O rail
Need module confirmation
LED backlight rail
VLED+/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
Reviews
Documents
Project Specification: ESP32-P4 Night Vision Monocular
Assets
Assets are files uploaded to this project which can be used in various ways.
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
V
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
Welcome 👋
Flux helps you build PCBs faster with an AI teammate!
Create your account to collaborate, stay updated, fork your own version, and get instant answers from our AI agent.