Home > Other >Special Application Circuits > How to make a clock Bluetooth IOT speaker using Arduino

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

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号