Skip to main content

Pin Assignments

Hardware version

WTI400 v1.2 — In service — installed on test vessel

GPIO map

LabelGPIOBiasFunctionDescription
I2C_SCLGPIO8VCCI²CI²C clock — R3 10 kΩ pull-up to VCC
I2C_SDAGPIO18VCCI²CI²C data — R4 10 kΩ pull-up to VCC
TWAI_RXGPIO12floatTWAICAN RX from SN65HVD234 TXD (R14 47 Ω series)
TWAI_TXGPIO13VCCTWAICAN TX to SN65HVD234 RXD (R15 10 kΩ pull-up)
TWAI_ENGPIO14GNDREFTWAICAN transceiver enable — R16 10 kΩ pull-down; pull HIGH to enable
WIND_XGPIO10floatADC1 CH9X-axis wind angle — analog via U12A op-amp
WIND_YGPIO11floatADC2 CH0Y-axis wind angle — analog via U12B op-amp
WIND_SPDGPIO21floatINPUTWind speed pulse — Schmitt-triggered via U11 74LVC1G17
WND_ENGPIO47VCCOUTPUTWind transducer supply enable — LP2951 U13 SHUTDOWN (R55 10 kΩ, active LOW)
WND_ERRGPIO48VCCINPUTWind transducer supply error — LP2951 U13 ERROR (R65 10 kΩ pull-up, open-drain, active LOW)
LED_REDGPIO17GNDREFOUTPUTRed LED — Q1 PNP fail-on driver (R6 68 kΩ pulls base LOW by default; HIGH overrides)
LED_GRNGPIO15VCCOUTPUTGreen LED — R11 220 Ω, active LOW, common-anode D1 (R7 10 kΩ pull-up)
LED_BLUGPIO7VCCOUTPUTBlue LED — R10 220 Ω, active LOW, common-anode D1 (R8 10 kΩ pull-up)
BUTTONGPIO40VCCINPUTUser button — R41 10 kΩ pull-up, R31 series, U10 Schmitt, R40/C38 RC debounce (τ = 39 ms)
ST_TXGPIO41floatUART1Legacy serial TX — to opto-isolator U7 TLP2309
ST_RXGPIO39VCCUART1Legacy serial RX — from opto-isolator U6 TLP2309 (R19 2.2 kΩ pull-up)
ST_ENGPIO1VCCOUTPUTLegacy serial TX enable — R20 10 kΩ pull-up, active LOW; HIGH = TX disabled
ESP_TXGPIO43floatUART0Programming UART TX — ESP-PROG J1 pin 3
ESP_RXGPIO44floatUART0Programming UART RX — ESP-PROG J1 pin 5
ESP_ENENVCCBOOTChip enable / reset — R9 10 kΩ pull-up, C7 1 µF power-on delay (τ = 10 ms)
ESP_BOOTGPIO0VCCBOOTBoot mode select — R18 10 kΩ pull-up, C22 100 nF; LOW at reset = ROM download mode

For the design rationale behind each assignment, see the corresponding Circuit Design page.

I²C addresses

DeviceI²C AddressRefNotes
LSM6DSLTR 6DoF IMU0x6AU1SA0 = GND (pin 1); CS = VDDIO (pin 12) selects I²C mode

Bus configuration: R3 / R4 = 10 kΩ pull-ups to VCC. Rise time τ_r = 254 ns at C_bus = 30 pF (passes Standard and Fast mode). Maximum C_bus for Fast mode (400 kHz) with 10 kΩ pull-ups is 35 pF. Current firmware: Standard mode (100 kHz).