开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

BITX40 Audio Indications for Modes And Frequency Readout


N7GES
 

Hi all. Sorry for what might be Arduino newbe questions, but your patience is appreciated. I'd like to add some things which would be helpful for people who can't see the display.

I would like to add speech output for frequency readout. I was planning on the Emic 2 module, which has its own text to speech and processor to handle the speech production, and audio output. It uses the serial interface, and I didn't know if I could still use that since the frequency generator is already there. Should I still be able to use the serial lines, as long as the Emic 2 address doesn't conflict? Can I add routines to send it text on a button press, and to silence it if its already speaking without causing timing problems with everything else? Is there even another pin available for another button?

Also, I'd like to add tone indicators for mode changes/toggles such as RIT/Tune/Calibrate modes, and beeps/clicks for the auto-tune at the ends of the tuning control. Could I use the CW out pin for that with the "tone" and "notone" functions?

Again, thanks for your help for what might be obvious to most, but not yet to me.

Kevin, N7GES


 

Should be possible, though I don't have lots of experience with the Arduino environment. ?Could do it on the Nano that comes with the Bitx40, though that's a tight fit. ?The Nano UART pins are used by the Nano to communicate with the PC host during development via a USB link. ?Also, you may run out of flash and ram on the Nano as you add to your code. ?Future enhancements of the Raduino for RIT, CW keyer, USB/LSB selection, will tie up other pins. ?You could buy back lots of pins by either removing the Raduino's LCD or moving to an I2C LCD. ?Tones can be generated from a counter-timer on the Nano, sending a square wave out a pin.

Might be best to move to the $20 PJRC Teensy 3.2 for your proect, it has lots of additional pins, extra UART ports, a DAC so you can create your own sounds, a much much faster processor, and lots of memory. ?The Teensy 3.2 can be used with the same sketches under the Arduino IDE. ?I'd recommend moving to a larger processor such as this for any significant attempt at new features for the Bitx40.

The sketch for the Raduino as written by Ashhar has two lines calling the function lcd.print, you would instead call a function to send that data out the UART.

You could have separate speakers for the radio, the Emic2, and the tone generator. ?Perhaps better would be to have them all combine in a resistor network mixer each with a separate volume control, and out through the LM386 audio amp.

Stuff like this has likely been done many times over already using Arduinos.

Jerry, KE7ER

On Sun, Mar 26, 2017 at 03:12 pm, N7GES wrote:

Hi all. Sorry for what might be Arduino newbe questions, but your patience is appreciated. I'd like to add some things which would be helpful for people who can't see the display.

I would like to add speech output for frequency readout. I was planning on the Emic 2 module, which has its own text to speech and processor to handle the speech production, and audio output. It uses the serial interface, and I didn't know if I could still use that since the frequency generator is already there. Should I still be able to use the serial lines, as long as the Emic 2 address doesn't conflict? Can I add routines to send it text on a button press, and to silence it if its already speaking without causing timing problems with everything else? Is there even another pin available for another button?

Also, I'd like to add tone indicators for mode changes/toggles such as RIT/Tune/Calibrate modes, and beeps/clicks for the auto-tune at the ends of the tuning control. Could I use the CW out pin for that with the "tone" and "notone" functions?

Again, thanks for your help for what might be obvious to most, but not yet to me.

Kevin, N7GES

?


Jack Purdum
 

I've moved to the Arduino Mega 2560 Pro Mini. It has the same resources as the Mega 2560, but a smaller footprint. That said, the Teensy overcomes virtually all of the resource limitations of the Arduino family, as Jerry pointed out. To me, it is the available SRAM that's the real bottleneck, as that's where the data resides. The Teensy 3.6 has 1Mb of flash memory, 256Kb of SRAM, and is clocked at 180MHz, versus 16MHz for the Arduinos. The cost is a little under $30 for the chip.

Jack, W8TEE


From: Jerry Gaffke via Groups.Io <jgaffke@...>
To: [email protected]
Sent: Sunday, March 26, 2017 7:04 PM
Subject: Re: [BITX20] BITX40 Audio Indications for Modes And Frequency Readout

Should be possible, though I don't have lots of experience with the Arduino environment. ?Could do it on the Nano that comes with the Bitx40, though that's a tight fit. ?The Nano UART pins are used by the Nano to communicate with the PC host during development via a USB link. ?Also, you may run out of flash and ram on the Nano as you add to your code. ?Future enhancements of the Raduino for RIT, CW keyer, USB/LSB selection, will tie up other pins. ?You could buy back lots of pins by either removing the Raduino's LCD or moving to an I2C LCD. ?Tones can be generated from a counter-timer on the Nano, sending a square wave out a pin.
Might be best to move to the $20 PJRC Teensy 3.2 for your proect, it has lots of additional pins, extra UART ports, a DAC so you can create your own sounds, a much much faster processor, and lots of memory. ?The Teensy 3.2 can be used with the same sketches under the Arduino IDE. ?I'd recommend moving to a larger processor such as this for any significant attempt at new features for the Bitx40.
The sketch for the Raduino as written by Ashhar has two lines calling the function lcd.print, you would instead call a function to send that data out the UART.
You could have separate speakers for the radio, the Emic2, and the tone generator. ?Perhaps better would be to have them all combine in a resistor network mixer each with a separate volume control, and out through the LM386 audio amp.
Stuff like this has likely been done many times over already using Arduinos.
Jerry, KE7ER
On Sun, Mar 26, 2017 at 03:12 pm, N7GES wrote:
Hi all. Sorry for what might be Arduino newbe questions, but your patience is appreciated. I'd like to add some things which would be helpful for people who can't see the display.

I would like to add speech output for frequency readout. I was planning on the Emic 2 module, which has its own text to speech and processor to handle the speech production, and audio output. It uses the serial interface, and I didn't know if I could still use that since the frequency generator is already there. Should I still be able to use the serial lines, as long as the Emic 2 address doesn't conflict? Can I add routines to send it text on a button press, and to silence it if its already speaking without causing timing problems with everything else? Is there even another pin available for another button?

Also, I'd like to add tone indicators for mode changes/toggles such as RIT/Tune/Calibrate modes, and beeps/clicks for the auto-tune at the ends of the tuning control. Could I use the CW out pin for that with the "tone" and "notone" functions?

Again, thanks for your help for what might be obvious to most, but not yet to me.

Kevin, N7GES
?