Sound interface (audio from and to the teensy) and bidirectional serial

Status
Not open for further replies.

PE0V

New member
Hi,

I am an amateur radio operator and i want to make an interface to connect my radio to the PC.
What i need is 1ch of audio from the radio to the PC (so USB) and from the PC to the radio.
I would also like a serial line to the radio to control the radio.
Furthermore a program needs to be able to send either DTR or RTS to a serial port, and the teensy needs to convert this to an output (digital output is fine, on is on and off is off) for both PTT and morse. It would be nice to have multiple serial ports for multiple programs, but i do know that this really is a bit of a stretch and is not a really important thing.
Lets just first stop at this, i guess it will be hard enough as is.
But in the future i would like to add the following (the list may grow):
SDR capabillity to add a panadapter (bandscope)
play recorded messages directly to the radio
The teensy controlling the radio (serial, no DTR & RTS needed here)
internal decode of;
Morse
RTTY
FT8
and so on
a second soundcard (the other channels of sterio, but in software different) for modes as FreeDV
and the list goes on, but that is future music.
The question is, can i do this with a teensy so i need only one USB connection?
Else i need to make a USB hub and so on, but if it can be incorperated in one device the better!
I hope someone can tell me if this is possible or not, before i spend to much time trying to figure out something impossible. Thanx in advance!
 
This sounds like a fun project. Something I could definitely use to create a remote rig. Here are some hopefully useful links to get you moving:
https://forum.pjrc.com/threads/40974-Teensy-3-2-as-USB-Sound-Card

https://gi1mic.github.io/

http://n4ser.org/2015/aprs-tracker-the-project-phase-2-io/

If it were me, I’d use the teensy as a sound card and then have it signal the ptt whenever audio is being sent to the radio. To control the radio you will need to run the usb sound card and serial at the same time, that will probably take some playing around to get it to work. I haven’t done much with audio, but I’d bet the teensy is up to the task. Worst case, you use 2 teensys and 2 usb connections. Usb to serial is something the teensy handles quite well, although an ftdi chip will do it as well and is much cheaper. You will probably need a max232 to convert the radio from rs232 to the radio levels. Most of the teensys are 3.3v, although I think the T3.2 will take 5v signals, don’t quote me on that.

You may also want to check out https://www.pjrc.com/ardop-hf-radio-modem/ not exactly the same project as yours, but very similar.

I assume you want to interface with fldigi or something similar?

73
 
Status
Not open for further replies.
Back
Top