Speaker (8 Ω, 0.5–3 W)
Komponentlar

Speaker (8 Ω, 0.5–3 W)

4.0(1)
3
The Speaker (8 Ω, 0.5–3 W) is a small dynamic loudspeaker that turns an electrical signal into sound. Unlike a buzzer, which only beeps, it can play music, speech and MP3 files with a natural, wide-range sound. Its voice coil moves back and forth in the field of a permanent magnet and vibrates the cone. Models with a diameter of 28–57 mm are common in hobby projects; they have two terminals (+ and −) and an impedance of 8 Ω. A microcontroller pin cannot drive a speaker directly: an 8 Ω load draws far more current than the pin allows and can damage it. That is why it is connected through a DFPlayer Mini (drives up to 3 W directly), an amplifier such as the PAM8403 or MAX98357A, or a transistor with a series resistor. Sound is generated with tone() on the Arduino, with LEDC, the DAC or I2S on the ESP32 and with PWM on the Raspberry Pi Pico. Choose a speaker rated at or slightly above the amplifier's output power. It is used in MP3 players, doorbells, talking clocks, alarms, music boxes and hearing frequency tests.

Bu komponent ishlatiladigan loyihalar

ESP32 Ear Age Test: Can You Hear This Sound? (Speaker + Pot + I2C LCD + Button)
ES-75Boshlang‘ich
Premium

ESP32 Ear Age Test: Can You Hear This Sound? (Speaker + Pot + I2C LCD + Button)

A desk version of the social media "can you hear this sound?" test: a speaker plays beeps that climb step by step from 8 kHz to 20 kHz, and you press the button the moment you stop hearing them. The I2C LCD shows the last frequency you heard and a rough ear age, and a pot sets the volume. It is for fun, not a medical hearing test; start with the volume low.

UNO R4 WiFi DAC Melody and Wave Generator
AR-172O‘rta
Premium

UNO R4 WiFi DAC Melody and Wave Generator

A classic Arduino makes sound only by switching on and off; the UNO R4's 12-bit DAC sends a real waveform to the speaker. In this project a button cycles four modes: a melody (Ode to Joy), a sine, a square and a sawtooth wave. In the melody the pot sets the tempo; for the waves it sets the frequency from 100 to 1000 Hz. The 12x8 LED matrix scrolls the current wave shape or shows the notes like a piano roll.

Arduino Talking Distance Robot: A Robot That Talks When You Come Closer (HC-SR04 + DFPlayer Mini + Speaker)
AR-174O‘rta
Premium

Arduino Talking Distance Robot: A Robot That Talks When You Come Closer (HC-SR04 + DFPlayer Mini + Speaker)

A robot that stays quiet while nobody is around and talks with a real voice when someone comes closer. The HC-SR04 measures the distance and the DFPlayer Mini plays MP3 files from a microSD card through a speaker: "Hello! I'm the BlueGrays robot." at 150 cm, "You're a bit close." at 60 cm, "Too close, step back!" at 20 cm and "See you!" when you leave. Each band has two sentences that take turns. A median filter and hysteresis stop it chattering at a border.

Arduino MP3 Player: A Music Player With Buttons and a Volume Knob (DFPlayer Mini + Potentiometer + Speaker)
AR-175O‘rta
Premium

Arduino MP3 Player: A Music Player With Buttons and a Volume Knob (DFPlayer Mini + Potentiometer + Speaker)

An MP3 player for your own music with three buttons and a volume knob. The DFPlayer Mini plays MP3 files from a microSD card through a speaker. The previous, play/pause and next buttons move between tracks, and the potentiometer sets the volume from 0 to 30. When a track ends the next one starts, and after the last it goes back to the first. A long press on play turns on shuffle. The Serial Monitor shows the track and the volume.