Keyboard Shortcuts
Likes
- SoftwareControlledHamRadio
- Messages
Search
Re: CAT
¿ªÔÆÌåÓýHere¡¯s another thing.? There are other ways to interface USB to the Teensy if you need more USB hardware.? The FT201, FT233, FT311, FT2222 are all devices that sit on one of the I2C busses as a USB translation device.? There appear to be Arduino libraries for all of these devices. ? ? ? Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ? From: [email protected] <[email protected]> On Behalf Of K9HZ
Sent: Wednesday, February 19, 2025 7:41 PM To: [email protected] Subject: Re: [SoftwareControlledHamRadio] CAT ? That¡¯s a good idea and actually, I think I saw an article on someone using a USB server device with their T41.? I don¡¯t know how that works but its out there¡ ? ? Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ? From: [email protected] <[email protected]> On Behalf Of Mark J Culross ? Jerry: could you just use the standard Serial + Audio USB configuration on the primary microUSB port, then add an external USB-to-serial adapter plugged into the USBhost port & use that additional interface for your CAT control ??? Just a thought... ? Mark J Culross KD5RXT ? ? ?
|
Re: CAT
¿ªÔÆÌåÓýThat¡¯s a good idea and actually, I think I saw an article on someone using a USB server device with their T41.? I don¡¯t know how that works but its out there¡ ? ? Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ? From: [email protected] <[email protected]> On Behalf Of Mark J Culross
Sent: Wednesday, February 19, 2025 7:34 PM To: [email protected] Subject: Re: [SoftwareControlledHamRadio] CAT ? Jerry: could you just use the standard Serial + Audio USB configuration on the primary microUSB port, then add an external USB-to-serial adapter plugged into the USBhost port & use that additional interface for your CAT control ??? Just a thought... ? Mark J Culross KD5RXT ? ? ?
|
Re: CAT
Jerry: could you just use the standard Serial + Audio USB configuration on the primary microUSB port, then add an external USB-to-serial adapter plugged into the USBhost port & use that additional interface for your CAT control ??? Just a thought...
toggle quoted message
Show quoted text
Mark J Culross KD5RXT
|
Re: CAT
On Wed, Feb 19, 2025 at 03:54 PM, jerry-KF6VB wrote:
Two serial ports plus audio maxes it out. Which is too bad.There was some work done last year on v11 to patch the Audio library for USB audio at a 192k sample rate.? John reported success passing audio over USB to his Ubuntu box. ?
I developed a to allow the T41 to communicate with multiple PC apps over a single serial port.? Here's my 4SQRP T41 communicating with two and WSJT-X.
?
?
? |
Re: Audio Hat Hangup
No cables attached except for Ribbon cables and rf coax. Nothing attached to Audio Hat.
I think I will start on new Main board (don't believe I could get hearers off even with my vacuum sucker) and use machine pin headers.
I used those on critical projects that needed IC's replaced often.
?
Tim W4YN
? |
Re: CAT
Very uncharacteristic...
toggle quoted message
Show quoted text
Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: www.VillaGrandPiton.com Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. email:? bill@... -----Original Message-----
From: jerry <jerry@...> Sent: Wednesday, February 19, 2025 6:03 PM To: [email protected] Cc: K9HZ <bill@...> Subject: Re: [SoftwareControlledHamRadio] CAT On 2025-02-19 15:59, K9HZ wrote: Lots of examples out on the PJRC site... Lots of the people out there*** I asked on the "Audio" forum. I also asked on the "technical questions" forum. No Joy. I even posted my usb_desc.h. I was hoping the Paul Stoffregen would take one look at it & tell me what I did wrong. - Jerry, KF6VB |
Re: CAT
On 2025-02-19 15:59, K9HZ wrote:
Lots of examples out on the PJRC site... Lots of the people out there are*** I asked on the "Audio" forum. I also asked on the "technical questions" forum. No Joy. I even posted my usb_desc.h. I was hoping the Paul Stoffregen would take one look at it & tell me what I did wrong. - Jerry, KF6VB |
Re: CAT
Lots of examples out on the PJRC site... Lots of the people out there are
toggle quoted message
Show quoted text
MIDI and Sound people... know a lot about USB stuff... If you ask a question in the forum, you may get too many answers...! Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: www.VillaGrandPiton.com Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. email:? bill@... -----Original Message-----
From: [email protected] <[email protected]> On Behalf Of jerry-KF6VB Sent: Wednesday, February 19, 2025 5:55 PM To: [email protected] Subject: [SoftwareControlledHamRadio] CAT All, I have been working on CAT ( remote control ) for the T41. I re-architected it to a data-driven approach that is much cleaner and will be easier to maintain and expand. I have the basics running: read & set the frequency, read & set the volume and mike gain, set the operation mode, make it transmit. It is an emulation of the Kenwood TS-2000. There is a LOT of stuff that we don't do yet. I have given the code to Jack. I hope it winds up in the permanent archive. Right now, I am getting nowhere fast with the next step: piping audio over the USB. With that, we would be able to run digital modes with nothing but a USB cable between the radio and a PC. USB function is selected by the "USB Type" pulldown at the Arduino IDE. There are various combinations of functions, but not the one that we need: two serial ports, plus audio. One serial port for the teensy uploads & Serial printf()s, a second serial port for CAT control, and an audio port. The code that implements these USB functionalities is buried in the Teensy "core" - the actual TeensyDuino code. In my system this is at: c/Users/Jerry/AppData/Local/Arduino15/packages/teensy/hardware/avr/1.59.0/co res/teensy4. The definitions of the USB choices are in usb_desc.h. It's basically a big array of #define's. Lots of sets of #defines, each set in an #elif section. ANYWAY, I hijacked the "USB_TRIPLE_AUDIO" section and replaced the third serial port with audio. Big fail. It compiles and loads, but then the "composite USB device" does not start, there not only no audio, there are no serial ports. Without serial ports, I have to hit the button on the Teensy to upload new code to it. I'm at a bit of a loss as to how to troubleshoot it. USB is pretty complicated...and no debugger. Can't even do debug printf's. One possibility would be to hook up a not-USB serial interface to a couple of teensy pins. Or do what I did once upon a time...find an unused I/O pin and have it emit morse code. The Teensy is limited to 8 USB "Endpoints". That limits the number of USB devices you can have active. Two serial ports plus audio maxes it out. Which is too bad. There's also a simulated disk drive, which could come in handy. Any USB experts out there? - Jerry, KF6VB |
CAT
All,
I have been working on CAT ( remote control ) for the T41. I re-architected it to a data-driven approach that is much cleaner and will be easier to maintain and expand. I have the basics running: read & set the frequency, read & set the volume and mike gain, set the operation mode, make it transmit. It is an emulation of the Kenwood TS-2000. There is a LOT of stuff that we don't do yet. I have given the code to Jack. I hope it winds up in the permanent archive. Right now, I am getting nowhere fast with the next step: piping audio over the USB. With that, we would be able to run digital modes with nothing but a USB cable between the radio and a PC. USB function is selected by the "USB Type" pulldown at the Arduino IDE. There are various combinations of functions, but not the one that we need: two serial ports, plus audio. One serial port for the teensy uploads & Serial printf()s, a second serial port for CAT control, and an audio port. The code that implements these USB functionalities is buried in the Teensy "core" - the actual TeensyDuino code. In my system this is at: c/Users/Jerry/AppData/Local/Arduino15/packages/teensy/hardware/avr/1.59.0/cores/teensy4. The definitions of the USB choices are in usb_desc.h. It's basically a big array of #define's. Lots of sets of #defines, each set in an #elif section. ANYWAY, I hijacked the "USB_TRIPLE_AUDIO" section and replaced the third serial port with audio. Big fail. It compiles and loads, but then the "composite USB device" does not start, there not only no audio, there are no serial ports. Without serial ports, I have to hit the button on the Teensy to upload new code to it. I'm at a bit of a loss as to how to troubleshoot it. USB is pretty complicated...and no debugger. Can't even do debug printf's. One possibility would be to hook up a not-USB serial interface to a couple of teensy pins. Or do what I did once upon a time...find an unused I/O pin and have it emit morse code. The Teensy is limited to 8 USB "Endpoints". That limits the number of USB devices you can have active. Two serial ports plus audio maxes it out. Which is too bad. There's also a simulated disk drive, which could come in handy. Any USB experts out there? - Jerry, KF6VB |
Re: Audio Hat Hangup
On Wed, Feb 19, 2025 at 03:34 PM, Tim wrote:
it is definitely one of the Teensy pins. ---------------------------------
?
I am going to flat out lie and say I've never missed a pin or soldered it incorrectly.?
?
I have half a thought that hopefully someone can either finish or explain why it wouldn't help.? I'm trying to think of the easiest way to check the connection of the pins.? I've been lucky so far but I'm sure I'll run into self created issues eventually.? Almost every pin on the teensy is PWM capable.? Does it make sense at all to write a sketch with a tone() function for every PWM pin (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 19, 22, 23, 24, 25, 28, 29, 33, 36, 37, 42, 43, 44, 45, 46, 47, 51, 54) then stick the teensy on a breadboard and connect a speaker it to each pin one at a time until you find the one(s) that stays quiet or something similar with an led?? I'm mostly figuring this out as I go so I may be way off base here. |
Re: Audio Hat Hangup
¿ªÔÆÌåÓýYeah I¡¯ve had trouble with those cheap Chinese sockets too.? Buy the good ones¡ they are just a few cents more. ? ? Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ? From: [email protected] <[email protected]> On Behalf Of Tim via groups.io
Sent: Wednesday, February 19, 2025 3:44 PM To: [email protected] Subject: Re: [SoftwareControlledHamRadio] Audio Hat Hangup ? Rick? Same here? I did eliminate the extender and just used long pin female headers to get hat above heat sink. I have to play with reseating Teensy to get I2C to work properly. Once tweaked it seems fine. I wonder if the Chinese headers are issue, I see the pins are not as precise as US made, could be female sockets also. I was tool and die maker and worked a while making connector molds and pin stamping dies, they had extremely tight tolerances like .0001" or less. Tim? |
Re: Audio Hat Hangup
¿ªÔÆÌåÓýCables could be an issue too¡ ? ? Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ? From: [email protected] <[email protected]> On Behalf Of Tim via groups.io
Sent: Wednesday, February 19, 2025 3:34 PM To: [email protected] Subject: Re: [SoftwareControlledHamRadio] Audio Hat Hangup ? Been thru that once Jerry need to reflow again, it is definitely one of the Teensy pins. Update, I was able to get 64 beta to load and recognize all the I2C addresses including Audio Hat, and auto rx calibrate works, freq cal hangs up though and no decoding of SSB or CW. 50.2 will just not run with audio hat installed :(? Tim W4YN Back to abusing my arthritic hands Hi! ? |
Re: Audio Hat Hangup
Rick?
Same here?
I did eliminate the extender and just used long pin female headers to get hat above heat sink.
I have to play with reseating Teensy to get I2C to work properly.
Once tweaked it seems fine.
I wonder if the Chinese headers are issue, I see the pins are not as precise as US made, could be female sockets also.
I was tool and die maker and worked a while making connector molds and pin stamping dies, they had extremely tight tolerances like .0001" or less.
Tim? |
Re: Audio Hat Hangup
Didn't you say that you've already trial a second audio hat? Jack, W8TEE
On Wednesday, February 19, 2025 at 04:34:14 PM EST, Tim via groups.io <w4yn@...> wrote:
Been thru that once Jerry need to reflow again, it is definitely one of the Teensy pins.
Update, I was able to get 64 beta to load and recognize all the I2C addresses including Audio Hat, and auto rx calibrate works, freq cal hangs up though and no decoding of SSB or CW.
50.2 will just not run with audio hat installed :(?
Tim W4YN
Back to abusing my arthritic hands Hi!
?
-- Jack, W8TEE |
Re: Audio Hat Hangup
¿ªÔÆÌåÓý
I actually had to ditch the extension board.? After several intermittent software issues I discovered that by pushing down on the teensy and restarting it would work normally for a while only to happen again. This was after resoldering and checking all pins
on both the extension board and the Teensy.??I came to the conclusion that there were at least a couple of socket pins not making consistent good contact.? Because of my frustration I finally removed the extension board and cut a notch in the one heat sink
that was interfering with the audio hat.? Since doing that I have not had another instance of software intermittently working. I guess putting the regulators on the other side of the board and not modifying the heat sink would have accomplished the same thing.??
Rick, KN4AIE? ?
From: [email protected] <[email protected]> on behalf of jerry-KF6VB via groups.io <jerry@...>
Sent: Wednesday, February 19, 2025 4:06 PM To: [email protected] <[email protected]> Cc: K9HZ <bill@...> Subject: Re: [SoftwareControlledHamRadio] Audio Hat Hangup ?
I would carefully check all the soldering at the Teensy and the audio
hat and the offset board - I found a few Teensy pins that I hadn't actually soldered. ??????????????????? - Jerry |
Re: Audio Hat Hangup
Been thru that once Jerry need to reflow again, it is definitely one of the Teensy pins.
Update, I was able to get 64 beta to load and recognize all the I2C addresses including Audio Hat, and auto rx calibrate works, freq cal hangs up though and no decoding of SSB or CW.
50.2 will just not run with audio hat installed :(?
Tim W4YN
Back to abusing my arthritic hands Hi!
? |
Re: Audio Hat Hangup
¿ªÔÆÌåÓýOk¡ Good to know.? I¡¯m winding coils too! ? ? Dr. William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ? From: [email protected] <[email protected]> On Behalf Of Tim via groups.io
Sent: Wednesday, February 19, 2025 2:14 PM To: [email protected] Subject: Re: [SoftwareControlledHamRadio] Audio Hat Hangup ? Yes I hold button until it goes into slow flash mode as per Teensy site suggestion. Tnx for help, I am busy winding coils so it is not an issue at moment. RX is fine without audio hat installed. Tried 2 different hats. Tim? |