xDial Mini · Build guide

From components to your first call.

This guide covers wiring, firmware, Wi-Fi, and FRITZ!Box setup. Follow it in order and change wiring only while all power is disconnected.

xDial Mini in action

From rotary telephone to a direct call.

The published video shows xDial Mini working with the old rotary telephone and offers an immediate view of the project in action.

YouTube loads only after you deliberately activate the video. Until then, the preview image stays local to xdial.io.

01

What you need

Lay out all components before you begin. Suppliers are deliberately not prescribed.

  • NodeMCU ESP32 DevKit V1 with classic ESP32-WROOM-32, 30-pin version
  • 1.3-inch SH1106 OLED, 128 × 64 pixels, with I²C
  • Two buttons for NEXT and SELECT
  • Suitable connection wires
  • Suitable wire connectors
  • USB data cable, not a charge-only cable
  • Optional: suitable 3D-printed enclosure
xDial Mini complete set · pictured components at a glance
Enclosure V2

Print the enclosure yourself

The current xDial Mini V2 enclosure is available as a complete 3MF print project and as separately exported top and bottom STL models.

Print files

The STL downloads contain two correctly scaled millimeter models: a 50 × 75.015 × 6.7 mm top and a 50 × 75.015 × 6.7 mm bottom.

Verified connection diagram

xDial Mini – Connection diagram

The technical vector diagram shows the logical ESP32, OLED, and button assignments verified against the firmware and written guide.

Verified technical connection diagram · logical assignments match the firmware and connection table

Verified pin assignment

These values have been checked against the current firmware and the real 30-pin board labels and are authoritative for the prototype. Always check the markings on your actual module as well.

Component / functionESP32 connectionPurpose
OLED VCC3,3 V3.3 V supply
OLED GNDGNDCommon ground
OLED SCL / SCKGPIO 22I²C clock
OLED SDAGPIO 21I²C data
NEXTGPIO 26Button to GND
SELECTGPIO 27Button to GND
Common button groundGNDCommon ground for both buttons
02

Meet the ESP32 and components

Compare both sides with your board. Follow the printed pin labels; never count pins by position alone.

USB connector
Always at the bottom in this guide
Radio module
ESP32-WROOM-32
View
Looking down at the board
03

Connect the OLED display

The SH1106 display uses I²C address 0x3C. Check your module labels because the order of the four pins can vary.

Component / functionESP32 connectionPurpose
OLED VCC3,3 V3.3 V supply
OLED GNDGNDCommon ground
OLED SCL / SCKGPIO 22I²C clock
OLED SDAGPIO 21I²C data
Original photo · check labels on your module
04

Connect two buttons

Each button connects its GPIO to common ground when pressed. The firmware enables internal pull-ups.

NEXTGPIO 26 → NEXT → GND

Cycles through every approved favorite number without calling.

SELECTGPIO 27 → SELECT → GND

Starts one dialing request for the entry currently visible.

A press pulls the input from HIGH to GND. Both buttons share GND.

Button and WAGO wiring · NEXT GPIO 26 · SELECT GPIO 27 · common ground GND
05

Check the wiring

Inspect every connection before attaching USB.

  • OLED VCC connects only to 3.3 V; OLED GND connects to GND.
  • SDA runs to GPIO 21 and SCL / SCK to GPIO 22.
  • NEXT connects GPIO 26 to GND only while pressed.
  • SELECT connects GPIO 27 to GND only while pressed.
  • There are no loose strands, shorts, or reversed supply pins.
  • The USB connector and data cable are accessible and undamaged.
06

Install firmware

Use the existing xDial web installer; its function is not duplicated here.

  1. 1

    Connect the ESP32 with a USB data cable.

  2. 2

    Open the web installer in a supported desktop browser.

  3. 3

    Select the serial port belonging to the ESP32.

  4. 4

    Start transfer and wait for completion.

  5. 5

    Restart the device and watch the OLED.

Install firmware
07

Prepare the FRITZ!Box

xDial uses local TR-064 only. Menu names may vary by FRITZ!OS version and model.

  1. 1

    From the home network, open http://fritz.box and sign in.

  2. 2

    Under System → FRITZ!Box Users, create a dedicated active user such as “xDial”.

  3. 3

    Set a unique, secure password.

  4. 4

    Enable only telephony or phone-content and phone-configuration permission.

  5. 5

    Under Home Network → Network → Network Settings, allow local application access.

  6. 6

    Under Telephony → Telephony Devices, check the intended telephone's name and connection.

  7. 7

    Enable Click to Dial, select the telephone, use “Test Telephone”, and apply.

Minimum permission confirmed

AVM assigns X_AVM-DE_OnTel:1 and the used X_VoIP:1 dialing actions to telephony permission P.

FRITZ!Box settings, Smart Home, NAS, VPN, remote access, and internet access are not required. Do not enable UPnP security changes.

08

Connect xDial to Wi-Fi

Without valid Wi-Fi settings, xDial opens a local setup hotspot. Follow the OLED.

  1. 1

    Join the setup Wi-Fi using the temporary password shown only on the OLED.

  2. 2

    If needed, browse to 192.168.4.1.

  3. 3

    Select your protected home Wi-Fi.

  4. 4

    Enter the Wi-Fi password locally and connect.

  5. 5

    Wait for an IP address and stable connection.

Original photo · synchronization in progress
09

Set up FRITZ!Box access in the xDial portal

Open the local xDial address and its “FRITZ!Box” page. It currently provides:

FRITZ!Box username

The dedicated local user.

FRITZ!Box password

That user's unique password.

Telephony-device name

Exactly as shown by Click to Dial, including spaces and capitalization.

Genuine anonymized development state
10

Synchronize a phone book and set favorites

After a successful connection test, open “Phone books” and then “Favorites”.

  1. 1

    Select at least one existing phone book.

  2. 2

    Save and synchronize; check completion and contact count.

  3. 3

    Assign the required contacts and correct numbers as favorites.

  4. 4

    Drag and drop favorites into the required order.

  5. 5

    Use NEXT to verify names and numbers on the OLED.

Assign and reorder favorites
11

Make the first test call

Use a harmless destination number and keep the selected telephone in sight.

  1. 1

    Use NEXT to show the intended favorite and number.

  2. 2

    Press SELECT once.

  3. 3

    Confirm that exactly the selected telephone responds.

  4. 4

    Pick up and personally verify that the call is established.

Genuine prototype · display anonymized
12

Troubleshooting

Change one thing at a time, then test again.

Display stays dark

Check 3.3 V, GND, SDA on GPIO 21, SCL on GPIO 22, and I²C address 0x3C.

Buttons do not work

Check GPIO 26, GPIO 27, and common ground; inputs are pulled to GND when pressed.

No FRITZ!Box connection

Check Wi-Fi, gateway, local application access, username, password, and telephony permission.

Phone book does not synchronize

Check the connection test, permission, selected phone book, and exact portal message.

Calling does not work

Check Click to Dial, exact device name, outgoing telephony, and call blocks; first use “Test Telephone”.

Verified technical sources