How to make a clock Bluetooth IOT speaker using Arduino
Source: InternetPublisher:奥特man123 Keywords: Audio Arduino IOT Updated: 2024/12/13
I made a Bluetooth speaker with a clock. It displays the date, time, temperature and humidity and updates from the internet every 15 minutes. It also has a 32-band audio music spectrum analyzer that can display different music modes. The clock or spectrum analyzer can be displayed while music is playing. The clock can also be displayed when Bluetooth is off.
This is made of Arduino Nano which has all the processing and display capabilities. ESP01 fetches the time and weather report from the internet and sends the data to Arduino through serial communication. Bluetooth module receives the audio and amplifier (5+5 watt) module sends it to (5+5 watt) speakers. A small circuit was made to analyze the audio using Arduino for Spectrum Analyzer. The power supply is 18650 battery which can be charged by any smartphone charger.
Supplies
Arduino Nano
ESP-01
MT3608 Boost Module
TP5100 Charger Module
Bluetooth Audio Module
Audio Amplifier (6/10 Watt)
Speaker 4 ohm 3/5 watt
Maximum 7219 LED dot matrix.
resistance
Capacitor 104, 10uf
2*18650 battery 2000mAh
Switch SPDT 2 Position, On/Off Switch, Tactile Push Button
Step 1: Make the Sound Bar
You can make the sound bar with 10/12mm MDF board plywood. First measure the speakers and LED matrix 7219 and cut it. Then assemble them using fevicol adhesive and screws. I used 6mm front/back panel and 12mm front/back panel plywood.
Step 2: Cover the Sound Bar
I covered the box with wallpaper stickers. You need to do it slowly and patiently, otherwise air bubbles will get in. Or you can easily paint it with spray paint.
Step 3: Design the PCB
You need to solder the components on a PCB board and test it. Follow the circuit diagram and check the video for details.
Step 4: Make the Battery Pack
First solder the wires as per the circuit diagram. Then wrap the ends with tape to avoid short circuit. Finally cover the whole battery pack with another layer of tape and check the voltage should be around 4 volts. Although I used 4 batteries, the voltage is the same because all batteries are connected in parallel.
Step 5: Programming the Arduino Nano and ESP-01
You need to program Arduino nano and ESP-01 separately. You can download the code from below and upload to Arduino Nano. Next upload the code to ESP-01 using FTDI or USB to UART/ESP8266 adapter. Also get the weather report i.e. temperature. . You need to get an API key from openweathermap.org which is free. . Finally test it before assembling. Check the video for complete details. You can switch from clock to audio spectrum analyzer using tactile button.
ESP01_Arduino_BTSpeaker_V6_FV1.ino
BTWifi_Speaker_FV1.ino.ino
Arduino-32band-audio-spectrum-visualizer-analyzer.ino
Step 6: Final assembly
- How to Build an Animatronic Eye Using Arduino
- Analysis of the circuit principle of ZX5-630 welding machine
- Ultrasonic dog chaser made by NE555
- DIY Solar Detector
- How to Build a Low-Cost Arduino MiniCNC Plotter
- How to use ultrasonic sensors to make a simple nucleic acid sampling machine
- Driving Large TFT-LCD Displays with Space-Saving Triple-Output Regulator
- Design of TinyML Image Classification Camera Based on ESP32
- DIY a temperature and humidity monitoring system
- Fully automatic power-saving control circuit installed on wool loom
- STM32 system chip worth knowing about
- Single-chip Dolby Logic directional surround sound decoding circuit (CXD2719Q)
- Cheap and good-quality small audio set 02
- KS5410 (television, video recorder and audio equipment) infrared remote control transmitter circuit
- TA7273P audio IC circuit diagram
- TA7241AP audio IC circuit diagram
- TA7205AP audio IC circuit diagram
- STK463 audio IC circuit diagram
- STK4301II audio IC circuit diagram
- STK4161II audio IC circuit diagram