AR-180ArduinoIntermediatePremium
Arduino Talking Thermometer: A Device That Says the Temperature at the Push of a Button (DS18B20 + DFPlayer Mini + Speaker)
Press the button and hear the room temperature in a real voice: "Temperature, twenty-three degrees." The DS18B20 measures it, the DFPlayer Mini plays an MP3 file from the microSD card through the speaker. Every degree has its own sound file (-20 to 50) and the code finds the right one by its number. Above 35 degrees it warns "Too hot!", and it says so when the sensor is missing.
0.0(0)

Instead of reading a thermometer, ask it: press the button, the temperature sensor measures, and the MP3 module says "Temperature, twenty-three degrees" through the speaker. Every degree has its own sound file on the card; the code turns the measured number into a file number and plays the intro sentence first, then the degrees. It adds a warning when it is too hot. You learn to read a one-wire sensor, measure without blocking and play sound files one after another from a queue.
Source Code
Premium Content
The source code, block version and FAQ of this project are open to Premium members.
- All Project Code
- Block version
- Frequently Asked Questions
