How to Build a Wi-Fi Speaker Yourself: A Complete Guide from A to Z

Want to turn your old speakers into a modern wireless speaker with support Wi-Fi And Bluetooth, but don't know where to start? This guide will help you build a complete Wi-Fi audio system You can build a speaker from scrap materials—no soldering required (unless you want to) and with minimal expense. We'll explore which components are suitable for beginners, how to avoid common assembly mistakes, and why a homemade speaker can sound better than some branded alternatives for 10,000 rubles.

The main advantage of a DIY solution is flexibility. You choose for yourself. power, sound quality And functional: from simple Bluetooth speakers to a smart device with support AirPlay, Spotify Connect or voice control. And if you already have old speakers from Sony, JBL Or even a Soviet radiogram—they can be given a second life. In this article, you'll find:

  • 🔧 3 assembly options (from simple to complex) with different budgets
  • 🎛️ Connection diagrams for speakers of different impedance (4Ω, 8Ω)
  • 📡 Wi-Fi setup through ESP32, Raspberry Pi or ready-made modules
  • Methods of nutrition: from battery, USB or network adapter
  • 🚨 Common mistakes and how to avoid them (noise, distortion, weak signal)

Don't be scared by terms like I2S, class D amplifier or ESPHome firmware — We'll explain everything in simple terms. Even if you've never held a soldering iron, you can assemble a working speaker in a weekend. And if you already have experience, you can add multiroom, equalizer or integration with Home Assistant.

1. What you will need: components and tools

Before purchasing parts, decide on goals:

  • 🎵 A simple Bluetooth speaker (no Wi-Fi) - perfect for picnics or a bath. Budget: from 800₽.
  • 📶 Wi-Fi speaker with streaming support (Spotify, YouTube Music) — for home. Budget: 2 000–5 000₽.
  • 🤖 Smart speaker Voice-controlled (Alice, Google Assistant) – for smart home integration. Budget: from 6,000₽.

Basic set of parts for Wi-Fi option (the most versatile):

Component Recommended model Price (2026) Where to buy
Sound amplifier TPA3110 (class D, 2×50 W) 500–800₽ AliExpress, Chip and Dip
Wi-Fi/Bluetooth module ESP32-WROOM-32 or Raspberry Pi Zero W 1 200–2 500₽ AliExpress, Amperka
Speakers Any 4–8Ω (eg Dayton Audio ND91-4) 1 000–3 000₽ Avito, radio market
Frame Plastic box or wooden box 200–1 500₽ Leroy Merlin, OBI
Power supply 18650 Li-ion battery or 12V/5A power supply 300–1 200₽ AliExpress, I'll take it!

The following tools will be useful:

  • 🔨 Soldering iron (power 30–60 W) + solder + flux
  • 🔧 Screwdrivers, wire cutters, pliers
  • 📏 A ruler and pencil for marking the case
  • 🔌 Multimeter (to check voltage)
⚠️ Attention: If you are taking speakers from old equipment (for example, from Sony SSCS5 or Microlab Solo 6C), check their resistance with a multimeter. Connecting speakers with an impedance below 4Ω to an amplifier TPA3110 without modification of the circuit it may lead to overheating!
📊 What type of speaker do you want to build?
A simple Bluetooth speaker
Wi-Fi speaker for streaming
Smart speaker with voice assistant
I haven't decided yet

2. Choosing speakers: what's suitable for a homemade speaker

It depends on the speakers 90% of the final soundHere are the selection criteria:

  • 🔊 Type: Better for bass woofers (woofers) for clear sound - coaxial or broadband.
  • 📏 Size: 3-4 inches - for compact speakers, 5-6 inches - for powerful bass.
  • Ω Impedance: Optimally 4–8Ω. 2Ω speakers will require amplifier modification.
  • 💰 Budget:
    • Up to 1,000₽: speakers from old computer speakers (Logitech Z-5500, Creative Inspire).
    • 1,000–3,000₽: new full-range speakers (Dayton Audio, Visaton).
    • From 3,000₽: Hi-Fi speakers (SEAS, Scan-Speak) for audiophiles.

Where to get cheap speakers:

  • 🔄 Used market: Avito, Yula (search for "speaker speakers," "6-inch woofer").
  • 🏭 Radio Market: Speakers from Soviet radios are often sold (Vega 108-Stereo, Ocean).
  • 🛒 Chinese stores: On AliExpress you can find speaker + amplifier kits (for example, 2×3" Full Range Speaker for 800₽).
⚠️ Attention: Speakers from car speakers (eg Pioneer TS-A1670F) often have an impedance of 2–3 Ω. They can be used, but you'll need to modify the amplifier circuit or add resistors!
How to test speakers before buying?

Connect the speakers to any amplifier (for example, from an old music system) and listen at different frequencies:

- Low frequencies (bass): Play a track with drums (for example, "Seven Nation Army" by The White Stripes).

- High frequencies: check it out on violin or female vocals (e.g. "Hallelujah" - Jeffrey Buckley).

- Distortions: If you hear wheezing at maximum volume, the speaker is worn out.

3. Assembling the case: from a cardboard model to a wooden box

The body influences acoustics No less than the speakers. A bad case = a boomy, droning sound. Here are 3 options:

  1. Cardboard prototype (for testing):
    • ✂️ Cut holes for the speakers in thick cardboard (for example, from a box from electronics).
    • 🎨 Seal the joints with tape and cover with fabric to improve acoustics.
    • ⚡ Cons: Not very durable, but it will help you test the sound before final assembly.
  2. Plastic box (budget option):
    • 📦 Buy a sealed box in Leroy Merlin (for example, for electrical wiring).
    • 🔨 Drill holes for the speakers and connectors using a drill with a hole saw.
    • 🔊 Pros: lightweight, moisture-resistant (suitable for the bathroom).
  • Wooden case (optimal sound):
    • 🪵 Use 12–18 mm plywood or MDF.
    • 📏 Calculate the enclosure volume: for a 6" woofer, a volume of ~10–15 liters is needed.
    • 🔨 Fasten the parts together with screws and seal with sealant. Add sound-absorbing material (synthetic padding, mineral wool) inside.

    Example of calculating the enclosure volume for a 6" (15 cm) woofer:

    Volume (liters) = π × r² × depth
    

    For a 6" speaker (r=7.5 cm) and a depth of 20 cm:

    3.14 × 7.5² × 20 ≈ 3.5 liters (minimum volume)

    If you don't want to count manually, use online calculator (will open in a new tab).

    ☑️ Checklist before assembling the case

    Completed: 0 / 4

    4. Connecting the amplifier and speakers: diagrams and nuances

    The most important part is correctly connecting the amplifier, speakers, and signal source. We'll break down the circuit diagram based on TPA3110 (the most popular amplifier for homemade speakers).

    Basic connection diagram:

    ESP32 (or Bluetooth module)
    

    I2S / Aux → TPA3110 Amplifier → Speakers (4–8Ω)

    Power supply 12V/5A

    Step-by-step instructions:

    1. Connect the speakers to the amplifier:
      • 🔌 The amplifier terminals are usually labeled: L+/L- (left speaker), R+/R- (right).
      • 🔄 Observe polarity: red speaker wire → +, black → -.
    2. Connect the signal source:
      • 📡 For ESP32: use the conclusions I2S (For example, GPIO22, GPIO25).
      • 🔊 For Bluetooth module (For example, JQ6500): connect to AUX IN on the amplifier.
  • Nutrition:
    • ⚡ Amplifier TPA3110 Requires 12-24V. For battery power, use step-up converter (For example, MT3608).
    • 🔋 For 18650 battery: assemble a battery pack of 3-4 cells (rated at 11.1V or 14.8V).
    • ⚠️ Attention: If you have speakers with different impedances (for example, 4Ω and 8Ω), connect them parallel, not in series! Otherwise, the power will be distributed unevenly, and one speaker will play quieter. The formula for parallel connection is:
      Total resistance = (R1 × R2) / (R1 + R2)
      

      For 4Ω and 8Ω: (4 × 8) / (4 + 8) = 2.67Ω

      In this case, add a 2.2Ω resistor in series with the 8Ω speaker to equalize the load.

      - Quality of soldered joints (cold soldering = noise).

      - Shielding of wires (use twisted pair for signal lines).

      - Grounding the amplifier (sometimes it helps to connect GND to the metal body).-->

      5. Setting up Wi-Fi and Bluetooth: ESP32 or Raspberry Pi firmware

      Now we need to "teach" the speaker to receive over-the-air signals. There are three options:

      Option Pros Cons Complexity
      Bluetooth module (JQ6500, HM-10) Simplicity (no firmware required) No Wi-Fi, limited range
      ESP32 + ESPHome Wi-Fi, streaming, smart home integration Need to solder and flash ⭐⭐⭐
      Raspberry Pi + Volumio Maximum functionality (Spotify, AirPlay) Expensive, requires Linux configuration ⭐⭐⭐⭐

      Let's look at it in detail ESP32 + ESPHome — the golden mean in terms of price and capabilities.

      Step 1: Install ESPHome

      ESPHome is a firmware that allows you to control ESP32 via Wi-Fi. Set it up like this:

      1. Download Home Assistant (opens in a new tab) or use web version of ESPHome.
      2. Create a new project with the configuration:
        esphome:
        

        name: wifi_speaker

        platform: ESP32

        board: nodemcu-32s

        wifi:

        ssid:"Your_WiFi"

        password:"password"

        i2s_audio:

        - id: my_i2s

        i2s_lrclk_pin: GPIO25

        i2s_bclk_pin: GPIO26

        i2s_dout_pin: GPIO22

        output:

        - platform: i2s_audio

        id: speaker_output

        i2s_id: my_i2s

      3. Download the firmware to ESP32 via USB (instructions on the ESPHome website).

    Step 2: Setting up streaming

    To enable the speaker to play music from your phone or PC:

    • 📱 Install the application on your phone Home Assistant or ESPHome Dashboard.
    • 🎵 Add the component in the ESPHome settings media_player:
      media_player:
      

      - platform: i2s_audio

      name:"WiFi Speaker"

      dac_type: external

      i2s_dout_pin: GPIO22

      mode: mono

    • 🔊 Now the speaker will appear as a device on the local network. You can stream via VLC, Spotify (with plugin) Spotify Connect) or YouTube Music.
    ⚠️ Attention: If after flashing ESP32 won't connect to Wi-Fi, check:

    - Correctness of the specified GPIO-pins in the config.

    - Supply voltage (must be a stable 5V).

    - No short circuits on the board (use a magnifying glass).

    6. Power: How to make a speaker portable

    The power source determines whether your speaker will stationary (from the outlet) or portable (battery-powered). Let's look at both options.

    Option 1: Network power supply (for home speakers)

    The easiest way is to use a ready-made power supply:

    • ⚡ For TPA3110 need a block on 12V/5A (for example, from a laptop or LED strip).
    • 🔌 Connect the unit to the amplifier via the connector DC 5.5×2.1mm (check polarity!).
    • 💡 Tip: Add a switch to the positive wire break for convenience.

    Option 2: Battery powered (for outdoor use)

    Suitable for autonomous operation:

    Battery type Capacity Opening hours Price
    Lithium-ion 18650 2,200–3,500 mAh (3 pcs.) 4–6 hours 500–1 000₽
    LiPo 3S 5,000 mAh 8–10 hours 1 500–2 000₽
    Power Bank 20,000 mAh 20,000 mAh 12–15 hours 2 000–3 000₽

    Wiring diagram for Li-ion 18650:

    Batteries (3×18650) → BMS board → Step-up converter (up to 12V) → Amplifier
    

    Switch

    Important:

    • 🔋 Use BMS board to protect against overcharge/discharge.
    • 📉 Voltage 3×18650 = 11.1V. For TPA3110 need to raise to 12V with MT3608.
    • ⚡ For powerful speakers (50W+), take batteries with a discharge current of ≥10A (for example, Samsung 30Q).

    7. Testing and troubleshooting

    The first launch is the most nerve-wracking moment. Here's what to do if something goes wrong:

    Problem 1: The speaker does not turn on

    • 🔌 Check the power supply: use a multimeter to measure the voltage on the amplifier (it should be 12V).
    • 🔧 Inspect the soldering: cold contacts or short circuits are a common cause.
    • 🔄 Make sure the switch (if any) is in the on position ON.

    Problem 2: There is power, but no sound

    • 🎵 Check the speaker connections: swap the wires (the polarity may be reversed).
    • 📡 For ESP32: Make sure the config is correct GPIO-pins for I2S.
    • 🔊 Increase the volume on the source (phone, PC) and on the amplifier (if there is a regulator).

    Problem 3: Noise, crackling, or distortion

    • 📶 Check the shielding of the wires: signal cables should not be placed near power cables.
    • 🔋 If you're using battery power: The voltage may be dropping. Try connecting a power adapter.
    • 🔊 Reduce the volume: distortion at maximum is a sign that the amplifier is not powerful enough.
    ⚠️ Attention: If the amplifier TPA3110 It gets very hot (hot to the touch), which is normal at high volume. But if it shuts off, the overheat protection is triggered. Solution:

    - Add a radiator or fan.

    - Reduce the supply voltage to 12V (if it was 24V).

    - Check the load: speakers with impedance below 4Ω may cause overheating.

    How to test an amplifier without speakers?

    Connect an 8Ω/10W resistor (available at Chip & Dip) to the amplifier output. If the amplifier is working, there should be no sparks or burning smell at the resistor. If the resistor gets hot, the amplifier is faulty or too powerful for the load.

    8. Additional features: smart home, equalizer, multi-room

    The basic speaker is ready, but why not add a little something special? Here are some upgrade ideas:

    • 🤖 Voice control:
      • Sew it ESP32 with support Google Assistant or Alice's (use firmware ESPresense).
      • Connect a microphone (for example, INMP441) to recognize voice commands.
    • 🎛️ Equalizer:
      • Add to the diagram digital sound processor (For example, MSGEQ7).
      • Adjust the frequency response via Arduino or ESPHome.
    • 📡 Multiroom (synchronous playback):
      • Assemble the second speaker and connect both to the same Wi-Fi network.
      • Use Snapcast or Home Assistant for synchronization.
    • 🌈 Backlight:
      • Add WS2812B (addressable LED strip) and control the color through ESPHome.
      • Set up a reaction to music (for example, blinking in time with the bass).

    Sample code for reactive lighting (For ESP32 + WS2812B):

    light:
    

    - platform: fastled_clockless

    chipset: WS2812B

    pin: GPIO13

    num_leds: 30

    name:"LED Strip"

    effects:

    - pulse:

    - addressable_rainbow:

    - addressable_color_wipe:

    FAQ: Frequently asked questions about assembling a Wi-Fi speaker

    🔊 Can I use speakers from an old Soviet radio?

    Yes, but take into account their impedance. For Soviet speakers (for example, 3GDSh-4) it is usually 4–8Ω, which is suitable for TPA3110. However:

    • Check the integrity of the diffuser (there should be no breaks).
    • Soviet speakers often have paper cones, which are sensitive to moisture.
    • The sound will be "vintage" - with an emphasis on midrange frequencies and weak bass.
    • For better sound, replace your old speakers with modern full-range ones (for example, Dayton Audio ND91-4).

    📶 How to increase the Bluetooth/Wi-Fi range?