πŸ“‘ EMF METER πŸ“‘

MODULAR TERMINAL BLOCKS

2-Position Pluggable Blocks - Ultimate Flexibility!

⚠️ THIS VERSION USES 2-POSITION MODULAR TERMINAL BLOCKS ⚠️
MOUNT TERMINALS EXACTLY WHERE YOU NEED THEM
SHORTER WIRES = CLEANER BUILD!
πŸ’‘ LID-MOUNTED DESIGN - CLEAN PROFESSIONAL LOOK πŸ’‘
MOUNTS IN LID (user-facing panel): 5Γ— LEDs, OLED display, TP4056 USB-C charge port
HALL SENSOR: Mounts INSIDE lid (no hole needed - detects through plastic!)
STAYS IN BASE (heavy/internal): Battery, ESP32, terminal blocks
USB EXTENSION: 3-4" Micro-USB extension plugs into ESP32 (stays inside) for easy firmware updates
WIRE LENGTHS: Use 6-8" wires from base to lid components so you can open and work on it!
πŸ”² INSIDE BOX VIEW (100mm Γ— 60mm Γ— 25mm)
╔══════════════════════════════════════════════════════════╗ β•‘ LID (TOP PANEL - USER-FACING) - CLEAN DESIGN: β•‘ β•Ÿβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β•’ β•‘ β•‘ β•‘ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β•‘ β•‘ β”‚ [OLED DISPLAY] β”‚ β•‘ β•‘ β”‚ (rectangle cutout) β”‚ β•‘ β•‘ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β•‘ β•‘ β•‘ β•‘ β—‹ β—‹ β—‹ β—‹ β—‹ [USB-C] β•‘ β•‘ CLEAR BLUE GREEN YELLOW RED TP4056 β•‘ β•‘ LED1 LED2 LED3 LED4 LED5 CHARGE β•‘ β•‘ (5mm holes for each) (8mm hole) β•‘ β•‘ β•‘ β•‘ [HALL SENSOR] ← Inside lid, front edge (NO HOLE!) β•‘ β•‘ Detects through plastic - clean professional look β•‘ β•‘ β•‘ β•‘ 6-8" wires run down to base components ↓ β•‘ β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β• β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ BASE (BOTTOM) - COMPONENTS STAY PUT: β”‚ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€ β”‚ β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” [TB-PWR] β”‚ β”‚ β”‚ Battery β”‚ β”‚ ESP32 β”‚ (2-pos) β”‚ β”‚ β”‚ Holder β”‚ β”‚ Board β”‚ β”‚ β”‚ β”‚ 18650 β”‚ β”‚ + USB β”‚ [TB-GND] β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚Extension β”‚ (2-pos) β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”‚ β”‚ β”‚ [TB-LED1] [TB-LED2] [TB-LED3] ← Terminal blocks β”‚ β”‚ (2-pos) (2-pos) (2-pos) for LED grounds β”‚ β”‚ β”‚ β”‚ Micro-USB extension cable tucked along side ~~~ β”‚ β”‚ (for firmware updates - plug laptop into male end) β”‚ β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ KEY: - LID HOLES: 5Γ— LEDs (5mm), 1Γ— OLED (rectangle), 1Γ— USB-C (8mm) - THAT'S IT! - Hall sensor INSIDE lid (magnetic fields pass through plastic) - LID components use 6-8" wires to reach base terminals - Battery stays in base (heaviest component = stability) - ESP32 stays in base (brain, easy GPIO access) - USB extension plugs into ESP32, male end tucks near edge - TP4056 charge port accessible from outside (no opening needed) - Terminal blocks in base for all power/ground distribution - CLEAN PROFESSIONAL LOOK: No ugly sensors sticking out!
πŸ“‹

What You Need

πŸ“¦ Complete shopping list with Amazon links:
β†’ Click here for full shopping list ←
πŸ“

Terminal Block Assignments

πŸ”‹ POWER AREA (Near Battery):
Terminal Block "TB-PWR" (2-position): β”œβ”€ Position 1: ESP32 3.3V pin (RED wire) β”œβ”€ Position 2: OLED VCC (RED wire) └─ [Hall sensor VCC can share Position 2] Terminal Block "TB-GND" (2-position): β”œβ”€ Position 1: ESP32 GND pin (BLACK wire) β”œβ”€ Position 2: OLED GND (BLACK wire) └─ [Hall sensor GND can share Position 2] Mount these blocks near battery holder with foam tape!
πŸ’‘ LED AREA (Near Front Panel):
Terminal Block "TB-LED1" (2-position): β”œβ”€ Position 1: LED #1 resistor β†’ GND └─ Position 2: LED #2 resistor β†’ GND Terminal Block "TB-LED2" (2-position): β”œβ”€ Position 1: LED #3 resistor β†’ GND └─ Position 2: LED #4 resistor β†’ GND Terminal Block "TB-LED3" (2-position): β”œβ”€ Position 1: LED #5 resistor β†’ GND └─ Position 2: [Spare] Mount these blocks near front panel where LEDs poke through! Connect all to TB-GND with single BLACK wire.
1

Mount All Components First

πŸ’‘ Pro Tip: Mount everything BEFORE wiring!
This lets you measure exact wire lengths needed - no excess wire mess!
2

Power Distribution

TB-PWR (Power Bus):

ESP32: 3.3V pin ───> RED WIRE (2-3 inches) ───> TB-PWR Position 1
OLED: VCC pin ───> RED WIRE (3-4 inches) ───> TB-PWR Position 2
Hall Sensor: VCC pin ───> RED WIRE (3-4 inches) ───> TB-PWR Position 2 (shared with OLED)
TB-GND (Ground Bus):

ESP32: GND pin ───> BLACK WIRE (2-3 inches) ───> TB-GND Position 1
OLED: GND pin ───> BLACK WIRE (3-4 inches) ───> TB-GND Position 2
Hall Sensor: GND pin ───> BLACK WIRE (3-4 inches) ───> TB-GND Position 2 (shared with OLED)
3

Direct ESP32 Connections (No Terminals)

These go DIRECTLY from component to ESP32 GPIO pins:
NO terminal blocks needed - just point-to-point wiring!
OLED Display I2C:

OLED: SDA ───> BLUE WIRE ───> ESP32: GPIO 21
OLED: SCL ───> YELLOW WIRE ───> ESP32: GPIO 22
Hall Sensor Signal:

Hall Sensor: OUT ───> GREEN WIRE ───> ESP32: GPIO 34
4

LED Wiring

πŸ’‘ PRO TIP: LID MOUNTING πŸ’‘
Mount LEDs and OLED to the LID for clean front panel appearance!
Use 6-8" wire lengths so you can open lid and still work on device.
Components stay in BASE (ESP32, battery, terminals), display/LEDs in LID.
⚠️ LED POLARITY! ⚠️
LONG LEG (+) β†’ ESP32 GPIO pin
SHORT LEG (-) β†’ 220Ξ© resistor β†’ Terminal block β†’ TB-GND

LED COLOR PROGRESSION:
Level 1: CLEAR (base/on) β†’ Level 2: BLUE β†’ Level 3: GREEN β†’ Level 4: YELLOW β†’ Level 5: RED (max)
LED #1 - CLEAR (Level 1 - Base/On):

ESP32: GPIO 13 β†’ WHITE (6-8" for lid mounting) β†’ LED LONG leg β†’ LED SHORT leg β†’ 220Ξ© β†’ TB-LED1 Pos 1
LED #2 - BLUE (Level 2):

ESP32: GPIO 12 β†’ BLUE (6-8" for lid mounting) β†’ LED LONG leg β†’ LED SHORT leg β†’ 220Ξ© β†’ TB-LED1 Pos 2
LED #3 - GREEN (Level 3):

ESP32: GPIO 14 β†’ GREEN (6-8" for lid mounting) β†’ LED LONG leg β†’ LED SHORT leg β†’ 220Ξ© β†’ TB-LED2 Pos 1
LED #4 - YELLOW (Level 4):

ESP32: GPIO 27 β†’ ORANGE (6-8" for lid mounting) β†’ LED LONG leg β†’ LED SHORT leg β†’ 220Ξ© β†’ TB-LED2 Pos 2
LED #5 - RED (Level 5 - MAX):

ESP32: GPIO 26 β†’ RED (6-8" for lid mounting) β†’ LED LONG leg β†’ LED SHORT leg β†’ 220Ξ© β†’ TB-LED3 Pos 1
5

Add Power Filtering Capacitors

⚑ CRITICAL FOR STABLE OPERATION! ⚑
Capacitors prevent voltage noise, random resets, and jumpy readings!
DO NOT SKIP THIS STEP!
What capacitors do:
They act like tiny rechargeable batteries that smooth out power fluctuations.
Think of them as shock absorbers for electricity!
Capacitor #1 - ESP32 Power Filtering:

0.1Β΅F CAP

One leg β†’ TB-PWR (any position)
Other leg β†’ TB-GND (any position)
How to install:
1. Insert one capacitor leg into TB-PWR terminal
2. Insert other leg into TB-GND terminal
3. Tighten both screws
4. Capacitor should bridge between power and ground
Capacitor #2 - OLED Power Filtering:

0.1Β΅F CAP

One leg β†’ OLED VCC pin
Other leg β†’ OLED GND pin
How to install:
1. Solder or twist one cap leg to OLED VCC wire
2. Solder or twist other leg to OLED GND wire
3. Keep capacitor close to OLED module
4. Use heat shrink or electrical tape to insulate
Capacitor #3 - Hall Sensor Power Filtering:

0.1Β΅F CAP

One leg β†’ Hall Sensor VCC pin
Other leg β†’ Hall Sensor GND pin
How to install:
1. Solder or twist one cap leg to Hall VCC wire
2. Solder or twist other leg to Hall GND wire
3. Keep capacitor close to Hall sensor module
4. Use heat shrink or electrical tape to insulate
βœ… Capacitors installed = Professional, stable EMF meter!
❌ No capacitors = Unreliable, noisy readings
6

Connect LED Terminals to Ground

Final step: Connect all LED terminal blocks back to main ground!
TB-LED1 (any position) ───> BLACK WIRE ───> TB-GND (any position)
TB-LED2 (any position) ───> BLACK WIRE ───> TB-GND (any position)
TB-LED3 (any position) ───> BLACK WIRE ───> TB-GND (any position)
πŸ’‘ Why this works:
All LED terminal blocks share ground β†’ all connect to TB-GND β†’ TB-GND connects to ESP32 GND
Complete circuit!
7

Complete Connection Summary

TERMINAL BLOCK USAGE: TB-PWR (near battery): β”œβ”€ ESP32 3.3V β”œβ”€ OLED VCC └─ Hall Sensor VCC TB-GND (near battery): β”œβ”€ ESP32 GND β”œβ”€ OLED GND β”œβ”€ Hall Sensor GND β”œβ”€ TB-LED1 ground wire β”œβ”€ TB-LED2 ground wire └─ TB-LED3 ground wire TB-LED1 (near front panel): β”œβ”€ LED #1 resistor └─ LED #2 resistor TB-LED2 (near front panel): β”œβ”€ LED #3 resistor └─ LED #4 resistor TB-LED3 (near front panel): β”œβ”€ LED #5 resistor └─ [Spare position] DIRECT ESP32 WIRES (no terminals): β”œβ”€ GPIO 21 β†’ OLED SDA β”œβ”€ GPIO 22 β†’ OLED SCL β”œβ”€ GPIO 34 β†’ Hall Sensor OUT β”œβ”€ GPIO 13 β†’ LED #1 long leg β”œβ”€ GPIO 12 β†’ LED #2 long leg β”œβ”€ GPIO 14 β†’ LED #3 long leg β”œβ”€ GPIO 27 β†’ LED #4 long leg └─ GPIO 26 β†’ LED #5 long leg
8

Final Checklist

βœ… WIRING COMPLETE!
Shorter wires, cleaner layout, easier to troubleshoot!
Now upload the firmware and test!
πŸ–₯️

Firmware Upload & Configuration

⚠️ CRITICAL: DISABLE WiFi & BLUETOOTH ⚠️
ESP32 WiFi/Bluetooth creates STRONG EMF interference!
Must be disabled in firmware to prevent false readings!

Required Code in setup():

Add this at the BEGINNING of setup() function:

void setup() {
  // DISABLE WIRELESS - Prevents EMF interference!
  WiFi.mode(WIFI_OFF);      // Disable WiFi
  btStop();                  // Disable Bluetooth

  // Rest of your setup code below...
  pinMode(LED1_PIN, OUTPUT);
  // etc...
}

Why This Matters:

βœ… With WiFi/BT disabled, your EMF meter will only detect EXTERNAL sources!
Appliances, power lines, electronic devices - not your own circuit board!