Keyboard Shortcuts
Likes
Search
[SoftwareControlledHamRadio] CAT
¿ªÔÆÌåÓýLike this? ? ? ? ? ? ? ? ? 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----- ? Or we could use one of the traditional serial ports built into the Teensy hardware. There are eight of them.? But looking at the Main Board schematic, I don't see much in the way of unused pins. ? On 2025-02-19 17:56, K9HZ wrote: > 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. ? *** For low-performance USB serial - like CAT, that would be fine.? But then we wind up with two USB cables, unless we shoehorn a little hub into the radio somewhere.? I *really* like the idea of having one cable from the radio to the computer. ? ????????????????? - Jerry ? ? ? ? > > 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: [1] > > 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: [1] > > 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 > > Sent from AT&T Yahoo Mail on Android [2] > >> On Wed, Feb 19, 2025 at 5:54 PM, jerry-KF6VB >> >> <jerry@...> wrote: >> >> 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 > > > Links: > ------ > [1] > [2] > > rowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal& > amp;af_sub2=Global_YGrowth&af_sub3=EmailSignature&af_web_dp=ht > tps://more.att.com/currently/imap [3] > /g/SoftwareControlledHamRadio/message/32805 > [4] /mt/111280742/243852 > [5] /g/SoftwareControlledHamRadio/post > [6] /g/SoftwareControlledHamRadio/editsub/243852 > [7] > /g/SoftwareControlledHamRadio/leave/10484476/243852/1943518115/xyzzy |