jennix / Wifi Water Level Monitor

Loaded

0

Files

Schematic

PCB

Log InSign Up

ESP8266 Buzzer Control Project

flux

3:24

Creating parts queries.

Using agentic mode for queries.

Ensuring component linking.

Preparing component queries.

Accessing knowledge base.

Searching for components.

Searching library for: "Find a 5 V active buzzer (self-driven, no external PWM required) for microcontroller projects. Through-hole (radial) package preferred, but SMD acceptable if needed. Rated for 5 V DC operation, continuous tone, typical current <= 30 mA. Suitable to be switched on/off via low-side NPN transistor from a 3.3 V ESP8266 GPIO."

Searching library for: "Find a small-signal NPN BJT suitable for low-side switching of a 5 V active buzzer from a 3.3 V ESP8266 GPIO. Requirements: Vceo >= 30 V, Ic >= 100 mA, available in TO-92 (through-hole) or SOT-23 (SMD). Common parts like 2N3904/PN2222A or equivalents acceptable. Prefer widely available parts."

Creating search plan for: "Find a 5 V active buzzer (self-driven, no external PWM required) for microcontroller projects. Through-hole (radial) package preferred, but SMD acceptable if needed. Rated for 5 V DC operation, continuous tone, typical current <= 30 mA. Suitable to be switched on/off via low-side NPN transistor from a 3.3 V ESP8266 GPIO. --- Suggested search options: fieldCategories: ["core","type","manufacturer","specifications","availability","packaging"] hitsPerPage: 20"

Creating search plan for: "Find a small-signal NPN BJT suitable for low-side switching of a 5 V active buzzer from a 3.3 V ESP8266 GPIO. Requirements: Vceo >= 30 V, Ic >= 100 mA, available in TO-92 (through-hole) or SOT-23 (SMD). Common parts like 2N3904/PN2222A or equivalents acceptable. Prefer widely available parts. --- Suggested search options: fieldCategories: ["core","type","manufacturer","specifications","availability","packaging"] hitsPerPage: 20"

Searching: "Small-signal NPN transistor, Vceo >= 30 V, Ic >= 100 mA, low-side switch for 5 V buzzer driven by 3.3 V GPIO, TO-92 or SOT-23 package preferred"

Searching: "General purpose NPN BJT 30 V 100 mA SOT-23 TO-92 through-hole or SMD"

Found 79 results.

Searching: "Find a small-signal NPN BJT suitable for low-side switching of a 5 V active buzzer from a 3.3 V ESP8266 GPIO. Requirements: Vceo >= 30 V, Ic >= 100 mA, available in TO-92 (through-hole) or SOT-23 (SMD). Common parts like 2N3904/PN2222A or equivalents acceptable. Prefer widely available parts. --- Suggested search options: fieldCategories: ["core","type","manufacturer","specifications","availability","packaging"] hitsPerPage: 20"

Searching: "5 V self-driven active buzzer, continuous tone, through-hole radial preferred, typical current <= 30 mA, switchable by low-side NPN from 3.3 V MCU"

Searching: "5 V active buzzer self-driven continuous tone, typical current <= 30 mA, switchable by low-side transistor (include SMD and through-hole)"

Found 31 results.

Searching: "Find a 5 V active buzzer (self-driven, no external PWM required) for microcontroller projects. Through-hole (radial) package preferred, but SMD acceptable if needed. Rated for 5 V DC operation, continuous tone, typical current <= 30 mA. Suitable to be switched on/off via low-side NPN transistor from a 3.3 V ESP8266 GPIO. --- Suggested search options: fieldCategories: ["core","type","manufacturer","specifications","availability","packaging"] hitsPerPage: 20"

Finished searching for components.

Focusing on user request.

Here are solid Flux-library options for a 5 V active buzzer (through-hole preferred) and a small NPN transistor to drive it from an ESP8266 GPIO.
5 V Active Buzzers (Through-hole)

Table


PartUIDMount/PackageKey SpecsLinkDatasheet
CMI-1275C-0501fd17030-8af1-419d-a48a-252d99dd0a69Through Hole, radialActive, 5 V, 3.1 kHz, 83 dB @ 10 cm, 30 mA typCMI-1275C-050Datasheet
TMB12A055e4c0f09-e531-4878-a97c-8569476fbfdaThrough Hole, 12 mmActive, 5 V, 2.7 kHz, 85 dB @ 10 cmTMB12A05Datasheet
HNB09A05547be13b-18f5-43a9-a37b-b5d64dcb0f1eThrough Hole, 9 mmActive, 5 V, 3 kHz, 85 dBHNB09A05Datasheet
Small NPN Transistors (for low-side switching)

Table


PartUIDMount/PackageKey SpecsLinkDatasheet
2N3904da065ab7-7a63-49a8-bc1e-6e8ab9a173cbTO-92 (Through Hole)NPN, Vceo 40 V, Ic 200 mA2N3904Datasheet
PN2222A00b74a9c-c52d-42c4-9a23-fd332ec29ce1TO-92 (Through Hole)NPN, Vceo ~40 V, Ic up to 600 mAPN2222ADatasheet
MMBT3904LT1G (MMBT3904)c89e6e33-04cc-4c16-9a33-027ec5b38babSOT-23 (SMD)NPN, Vceo 40 V, Ic 200 mAMMBT3904LT1GDatasheet
Recommendations
  • Buzzer: CMI-1275C-050 is a great through-hole 5 V active choice with well-defined current (30 mA typ) and loudness.
  • Transistor: 2N3904 (TO-92) is sufficient and common; PN2222A provides extra current margin if desired.
Tell me which buzzer and transistor you want, and I can add them to your project.
Pick CMI buzzer + 2N3904
Choose 12mm buzzer + PN2222A
Prefer SOT-23 transistor
Need lower-current buzzer
Check GPIO drive assumptions
73 days

​
Sign up to send

To get started, talk to Flux or create a New Document.

Reviews

Documents

    Documents are markdown text files which describe project goals, capture details, or even simulation outputs.

    Assets

    wemosd1mini-template.png

    wemosd1mini-template.png

    wemosd1mini-templateThumbnail

    Wifi Water Level Monitor

    Wifi Water Level Monitor thumbnail
    Here's a template for the popular ESP-8266EX microcontroller board, wemos D1 mini.
    A mini wifi board with 4MB flash based on ESP-8266EX #wemos #esp8266 #project-template #template

    Properties

    Properties describe core aspects of the project.

    Pricing & Availability

    Distributor

    Qty 1

    Arrow

    $0.27

    Digi-Key

    $2.89

    LCSC

    $0.20

    Mouser

    $6.55

    Verical

    $0.23

    Controls

    New control

    Welcome 👋

    Flux helps you build PCBs faster with an AI teammate!

    Create your account to collaborate, stay updated, fork your own version, and get instant answers from our AI agent.

        Introducing AI Placement!
        AI Placement Demo

        AI-Powered Component Placement

        Let AI place your components intelligently. AI Placement analyzes your schematic and positions components for optimal routing, signal integrity, and board density.

        From Schematic to Layout in Seconds

        Skip the tedious manual placement. AI Placement generates a starting layout you can refine, saving hours of repetitive work on every new design.

        Works With Auto-Layout

        Pair AI Placement with Auto-Layout for a complete AI-driven PCB design flow — from component placement through trace routing, all with one click.

        Try it