power the fan through one of the relays, and fully turn it off when so desired, and still have the other relay for other shenanigans.
Thanks, cool so ESP32-EVB-EA-IND, NX138AKR and an external 12/5v PSU, so I can run two fans from a single board and individually power each one on/off with the relays, I'm unsure from the schematic as the board is so loaded with stuff, do I have enough pins spare to output two sets of PWM and read two tach (hall)?
The tach input on your San Ace (≲ 7000 RPM) is at most about 7000/60 ≲ 120 Hz, so you can use either pin interrupts or the pulse counter and remote control input units with any GPIO pin (see
David Antliff's esp32-freqcount).
On the through-hole extension header EXT1, at least pins 7, 8, 9, 10, 11, 12 are unused and PWM-capable. (They are for SDIO, not used on this board.)
On the 10-pin IDC connector UEXT, pins 7, 8, 9 are used by the SD/MMC card slot, but pins 3, 4, 5, 6, and 10 are unused; pin 4 is input-only because of the Schottky diode. I'd keep its pins 5 and 6 reserved for I2C.
So, I would use the EXT1 header pins 7-12. Since there are six pins, I'd consider using two for controlling their power, leaving the relays for other shenanigans. For the fans, 15V 2A rating suffices, so IXYS CPC1706Y (3.43€ apiece in singles at Mouser) would do, and would only need a 330Ω current-limiting resistor on the 3.3V control pin. I'd be very tempted to add a PAC1720 I2C monitoring chip (connected to the UEXT pins 5 and 6) with two 10mΩ shunt resistors on the fan 12V power lines, so one could detect whether each fan is drawing power or not. I'd solder two 2×3 pin headers on the ESP32-EVB, and use female headers on the new board, so it'd sit as an add-on on top.
Remember that the tach inputs need a pull-up to 12V (if you go by my design), so you'll need to bring the 12V to the new board anyway. The NX138AK's pullups only draw a maximum of 1.2mA per tach input, so I'd use thin tracks for safety there; but the fans can draw an amp (I'd rate everything at 2A continuously for safety), so either wires, very short, or hefty tracks are needed.
The standard 4-pin PC fan connectors use Molex 47053-1000 for the male pins on the board, each pin rated for 4A; cost 0.51€ at Mouser in singles. It has the proper asymmetric support tab, too. (The female connector housing in the fan cable is Molex 47054-1000 and the crimped pins that go in the female housing are 39-00-0372.)
Oh, and do remember the 12VDC and 5VDC supplies must have the same 0V reference, so I wouldn't use separate supplies, but one of the Mean Well ones I listed.