ESP32 Race Timer - Bluetooth support?
Posted: Wed Apr 04, 2018 6:11 pm
Hi all,
I've implemented a sailboat race timer for the ESP32, based on similar code for ESP8266. Basically it is a 5 minute countdown timer that alerts deck crew that certain flags need to be raised and lowered during the start sequence. The entire unit is battery powered and fits in your hand, and has buttons for starting the sequence and selecting start modes, as well as an OLED display to show time to start, what flags need to be displayed, etc.
One of the features of the current design is a PCM tone generator that is connected to a small audio amplifier. It counts down to the time a flag needs to be raised, starting 15 seconds from the event, flag, start or whatever. That works well.
Since I now have the capabilities of an ESP32, I'd like to use the Bluetooth functionality to connect to the stereo on the committee boat, so that the tones are more easily heard by the deck crew that needs to raise flags. So, basically, I want to send tones via bluetooth audio. My perfect scenario would be some sort of voice ("Ten Seconds to Prep Flag down" or something like that), but that might take too much memory. Right now, I'll just settle for tones.
So, does anyone have any thoughts on how one might generate a tone that would be sent via bluetooth audio?
Thanks in advance.
I've implemented a sailboat race timer for the ESP32, based on similar code for ESP8266. Basically it is a 5 minute countdown timer that alerts deck crew that certain flags need to be raised and lowered during the start sequence. The entire unit is battery powered and fits in your hand, and has buttons for starting the sequence and selecting start modes, as well as an OLED display to show time to start, what flags need to be displayed, etc.
One of the features of the current design is a PCM tone generator that is connected to a small audio amplifier. It counts down to the time a flag needs to be raised, starting 15 seconds from the event, flag, start or whatever. That works well.
Since I now have the capabilities of an ESP32, I'd like to use the Bluetooth functionality to connect to the stereo on the committee boat, so that the tones are more easily heard by the deck crew that needs to raise flags. So, basically, I want to send tones via bluetooth audio. My perfect scenario would be some sort of voice ("Ten Seconds to Prep Flag down" or something like that), but that might take too much memory. Right now, I'll just settle for tones.
So, does anyone have any thoughts on how one might generate a tone that would be sent via bluetooth audio?
Thanks in advance.