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
- Electronic dice circuit based on CD4017
- Tutorial on making a handheld Geiger counter
- IoT-based pet feeder
- Building an open source dynamic light scattering device
- Making a Smart Blind Pole Using Arduino Uno and Ultrasonic Sensor
- How to Make a Pet Robot
- Plastic sealing machine circuit diagram
- Infrared detection type electronic rodent killer circuit
- Production of electric mosquito killer
- How to Build a Low-Cost Arduino MiniCNC Plotter
- Simple pre-frequency crossover amplifier
- SBX1492-51/52 (TVs, VCRs, audio equipment, air conditioners and toys) infrared remote control receiving circuit
- M58485P (TV and audio equipment) 29-function infrared remote control receiving circuit
- M50111P/AP/BP/CP (VCR, TV and audio equipment) 30-function infrared remote control receiving circuit
- TA7270P audio IC circuit diagram
- TA7250P audio IC circuit diagram
- TA7240AP audio IC circuit diagram
- STK460 audio IC circuit diagram
- STK4161II audio IC circuit diagram
- STK4112II audio IC circuit diagram