Diseño de Schematic y Conectividad

I’ll add an ESP32 NodeMCU module as the external UART endpoint, move the existing PA9/GND connections from the simple header to it, then switch to schematic view and tidy the schematic layout for readability.
No encontré “ESP32 NodeMCU” exacto; usaré el ESP32-DEVKIT-V1 disponible como módulo ESP32 externo equivalente, con GPIO4 y GND accesibles.
Added the ESP32 external module as U3 (ESP32-DEVKIT-V1), connected Nucleo PA9 → U3 D4/GPIO4, and tied both ESP32 GND pins to the common GND net. I also removed the temporary 2-pin ESP32 header and updated the firmware notes to reference U3.
Open items
  • I could not continue with schematic-view switching/reorganization because your account currently has no available ACUs, so AI execution is paused.
  • The exact “ESP32 NodeMCU” part was not available; I used the available ESP32 DevKit-style module.
Next steps
  1. Add ACUs, then ask me to reorganize the schematic visually by functional blocks.
  2. Run ERC again after cleanup.
  3. If you need the exact NodeMCU footprint/module, we can import or create that component.
Create NodeMCU component
Run ERC check
Add ESP32 TX return
Find schematic view
OLED1
U3
U1
Manufacturer Part Number
NUCLEO-F446RE
R1 P2 - R2 P1
U1 PB8 - OLED1 SCL
U1 CN6_+3V3 - OLED1 VDD
U1 PB12 - SW1 P1
U1 PA9 - U3 D4
U1 CN6_+3V3 - OLED1 VDD
U1 PB9 - OLED1 SDA
R1 P2 - R2 P1
U1 CN6_+3V3 - OLED1 VDD
U1 PA9 - U3 D4
U1 PB9 - OLED1 SDA
U1 PB8 - OLED1 SCL
R1 P2 - R2 P1
R1 P2 - R2 P1
U1 PB12 - SW1 P1
U1 PB9 - OLED1 SDA
U1 PB12 - SW1 P1
U1 PB8 - OLED1 SCL
U1 CN6_+3V3 - OLED1 VDD
R1 P2 - R2 P1
SW1
U2 WP - R2 P2
U2 WP - R2 P2
U2 WP - R2 P2
R2
Resistance
10kΩ
U1 CN7_GND - OLED1 GND
GND
J1
U1 CN7_GND - OLED1 GND
U2 WP - R2 P2
U2
C2
Capacitance
100nF
GND
GND
C1
Capacitance
10uF
U2 WP - R2 P2
U1 CN7_GND - OLED1 GND
R1
Resistance
10kΩ

Refine this doc
Ask about this doc
Firmware Getting Started — Monitoreo de Corriente
Pin mapping

Table


STM32 Nucleo-F446RE pinPeripheralConnected net / deviceNotes
PB8I2C1_SCLI2C_SCL: OLED1 SCL, U2 SCL, R3 4.7k pull-upShared I2C bus
PB9I2C1_SDAI2C_SDA: OLED1 SDA, U2 SDA, R4 4.7k pull-upShared I2C bus
PA0ADC inputADC_OFFSET_SCT1.65 V biased SCT-013 signal midpoint
PB12GPIO/EXTILOGGER_TRIGGERActive-low button to GND, 100 nF debounce
PA9USART1_TXUART_TX_ESP32_RXTo ESP32 DevKit U3 GPIO4/D4 RX input
GNDGroundGNDCommon ground with ESP32 and peripherals
3V3Power3V3Supplies OLED and EEPROM
I2C devices
  • OLED SSD1306-compatible display: address 0x3C.
  • AT24C256-compatible EEPROM: address 0x50 with address pins tied low. WP is tied to GND to allow writes.
ESP32 external module
  • U3 is an ESP32-DEVKIT-V1 used as the external NodeMCU/DevKit-style module.
  • Nucleo PA9/TX is connected to U3 D4/GPIO4 as the ESP32 receive input requested for the UART link.
  • U3 GND and GND_1 are tied to the common project GND.
STM32 HAL bring-up outline
  1. Configure system clock for the NUCLEO-F446RE.
  2. Enable GPIO clocks, I2C1, ADC1, and USART1.
  3. Configure PB8/PB9 as I2C alternate function open-drain with pull-up disabled or weak pull-up only; external 4.7 kΩ pull-ups are present.
  4. Configure PA0 as analog input.
  5. Configure PB12 as EXTI input; use internal pull-up if the external button pulls to GND.
  6. Configure PA9 as USART1_TX at the baud rate expected by the ESP32.
  7. Initialize OLED first, then probe EEPROM at 0x50, then start ADC sampling.
ADC note
The ADC input is biased at about 1.65 V using two 10 kΩ resistors from 3.3 V to GND. Firmware should subtract the measured midpoint baseline before calculating AC current.
  • Pin mapping

  • I2C devices

  • ESP32 external module

  • STM32 HAL bring-up outline

  • ADC note

Monitoreo de Corriente

Monitoreo de Corriente thumbnail
Welcome to your new project. Imagine what you can build here.

Properties

Properties describe core aspects of the project.

Pricing & Availability

Distributor

Qty 1

Arrow

$15.22–$17.08

Digi-Key

$14.85

LCSC

$24.42

Mouser

$18.80

TME

$31.50

Verical

$14.81–$17.08

Controls