Buona sera,
volevo sapere se lo Yaesu FT-891 può funzionare con un cavo di interfaccia in modo Automatico con l'ATU 2.0.
L'interfaccia Cat è in versione Usb tipo 3 ma esiste anche la porta 8 poli che ha, sui piedini, i seguenti segnali:
Come riportato, in un post su questo forum, relativo alle connessioni con Icom 7300 dove si illustravano le corrispondenze dei segnali lato Atu e lato Radio come segue:
Ciro-Mazzoni Signal Direction Icom CT-17 Signal
DB-9 Name DB-25 Name
2 TX Data ---> 3 RX Data
3 RX Data <--- 2 TX Data
5 GND ---- 7 GND
Io vedo che gli stessi segnali sono anche sulla porta TUN/LIN 8 poli dello Yaesu Ft-891.TX-RX
Altrimenti volevo chiedere se verrà sviluppato un cavo di interfaccia Usb Tipo 3 Cat per Ft-891
Se l'interfaccia automatica non dovesse funzionare, dovendo effettuare il Tuning Manuale da tastiera, volevo sapere se, in ricezione, è necessario risintonizzare ogni 2-3 khz, che è la larghezza di banda in 40 mt, o se è possibile, in ricezione, usare l'antenna per un banda più ampia mantenendo comunque una discreta ricezione.
Nel caso la ricezione sia impossibile senza tuning, gli analizzatori di Spettro Waterfall dei moderni apparati radio credo diventino inutilizzabili.
Grazie in anticipo per una vostra gentile risposta
73'
Alberto
IN3THU
Ok Adrian,
grazie del supporto.
Mi sembra tutto abbastanza chiaro e quindi di nuovo grazie della tua approfondita spiegazione.
Ora io non posseggo ancora la Baby Loop e, prima dell'acquisto, volevo appunto chiarire questi aspetti.
Sebbene la userò soprattutto per i modi digitali, non sarebbe un problema digitare a mano la frequenza di Ft8 e Ft4 dato che, normalmente vi sono pochi cambi di frequenza.
Però per l'uso in SSB sarebbe utile per me, per non cambiare radio, attivare questa interfaccia.
Quindi nei prossimi tempi, proverò ad acquistare queste schede e a seguire le tue indicazioni.
Per provare il tutto non mi serve avere acquistato la Baby Loop.
Posso provare anche prima.
Ti farò sapere come riesco a procedere.
Non sarebbe difficile, scollegare questa interfaccia e passare al digitale e ricollegare questa interfaccia per lavorare in SSB.
Ci sentiamo più avanti quando avrò il materiale.
Ci sentiamo sicuramente più tardi..
Grazie e
a presto
Alberto IN3THU
Hi, Alberto,
Let us start by reviewing what we are trying to do. In order for the FT-891 to be able to communicate with the Ciro-Mazzoni ATU-2 controller we need to implement a USB-A device. Then, by using a USB-A to USB-B cable we can connect the transceiver to the USB-A board. The USB Controller board from Hobbytronics is a USB-A controller, and it converts the USB signals to TTL serial signals. In order to be able to connect to the ATU-2 we need to convert the TTL TX data and RX data signals from the USB controller board into standard RS-232 voltage levels, and this is accomplished by the MAX232 board.
Unfortunately it is not completely clear from either the USB Controller board description or the schematic diagram which way the data is going. Unfortunately I do not have one of the boards, nor do I have the MAX232 adapter, so in the following description, I am assuming the TX pad on the USB Controller means that a signal on this pad will be data TRANSMITTED out of the USB port, and RX pad means that a signal on this pad will be data RECEIVED from the USB port.
On the MAX232 board, TTL signals on the RX pad will be RECEIVE data going to pin 3 of the DB9 connector, and signals appearing on the TX pad will be TRANSMIT data going to pin 2 of the DB9 connector. This is how the schematic diagram shows it.
If this is correct, then connect the TX pad of the MAX232 board to the TX pad of the USB controller, and connect the RX pad of the MAX232 board to the RX pad of the USB controller. In addition, connect the GND pads to provide a common ground, and connect the +5V pad of the MAX232 board to the +5V pad of the USB controller so that both boards are powered. You will also have to provide 5V power to both boards.
The USB controller is already programmed so you should not need to load any additional software to it.
Before connecting everything to the ATU-2 you will need to make some sanity checks. The first step is to ensure that you can communicate with the FT-891 via its USB port. For this you will need a USB-A to USB-B cable, and a simple terminal program. There are many such pieces of software available on the web, and I use TERMITE, available from: https://www.compuphase.com/software_termite.htm
When you plug the cable into the FT-891, Windows will assign a COM port. You will need to find out the COM port number, and you will use Device Manager for that. Turn the radio on, launch the TERMITE program and connect to the COM port. Make sure that the speed setting in TERMITE matches that of the FT-891. If you send FA; to the transceiver it should respond with its VFO-A frequency in the form: FA12345678; for example indicating a frequency of 12.345678 MHz. If this is correct, you can proceed to connect the USB-A connector to the USB-A socket of the USB converter.
You will now need to connect a standard USB-RS232 adapter to the computer, and connect its DB9 connector to the MAX232 board. Connect the USB cable from the FT-891 to the USB converter board USB-A socket. Connect TERMITE to the new COM port that will have been assigned when you plugged in the USB-RS232 adapter, and send the same command to the radio. If all is working correctly you should get the same response.
Be prepared for some playing around to get everything working! It is important to ensure you can communicate with the radio, so I would suggest you purchase a standard USB to RS232 adapter and install the terminal program first and make sure that works. You can test the terminal program by simply connecting pin 2 to pin 3 of its DB9 connector, in which case anything to send will be echoed back. Depending upon the USB-RS232 converter you may have to make an adapter to connect to the MAX232 board. In addition, you may also have to make a NULL-MODEM cable.
If you would rather I help you directly instead of via this web site, then feel free to contact me at: adrian04@cytanet.com.cy I will be happy to assist.
Adrian, 5B4AIY
Ciao, Alberto,
Cominciamo a rivedere quello che stiamo cercando di fare. Affinché l'FT-891 possa comunicare con il controller Ciro-Mazzoni ATU-2 dobbiamo implementare un dispositivo USB-A. Quindi, utilizzando un cavo da USB-A a USB-B possiamo collegare il ricetrasmettitore alla scheda USB-A. La scheda USB Controller di Hobbytronics è un controller USB-A, e converte i segnali USB in segnali seriali TTL. Per essere in grado di connettersi all'ATU-2 abbiamo bisogno di convertire i segnali dati TTL TX e dati RX dalla scheda di controllo USB in livelli di tensione standard RS-232, e questo è realizzato dalla scheda MAX232.
Sfortunatamente non è completamente chiaro né dalla descrizione della scheda di controllo USB né dal diagramma schematico da che parte vanno i dati. Purtroppo non ho una delle schede, né ho l'adattatore MAX232, quindi nella seguente descrizione, sto assumendo che il pad TX sul controller USB significa che un segnale su questo pad sarà dati TRASMESSI fuori dalla porta USB, e il pad RX significa che un segnale su questo pad sarà dati RICEVUTI dalla porta USB.
Sulla scheda MAX232, i segnali TTL sul pad RX saranno dati di RICEZIONE che vanno al pin 3 del connettore DB9, e i segnali che appaiono sul pad TX saranno dati di TRASMISSIONE che vanno al pin 2 del connettore DB9. Questo è il modo in cui il diagramma schematico lo mostra.
Se questo è corretto, allora collegate il pad TX della scheda MAX232 al pad TX del controller USB, e collegate il pad RX della scheda MAX232 al pad RX del controller USB. Inoltre, collegare i pad GND per fornire una massa comune, e collegare il pad +5V della scheda MAX232 al pad +5V del controller USB in modo che entrambe le schede siano alimentate. Dovrete anche fornire 5 V di alimentazione a entrambe le schede.
Il controller USB è già programmato quindi non dovreste aver bisogno di caricare alcun software aggiuntivo su di esso.
Prima di collegare tutto all'ATU-2 avrete bisogno di fare alcuni controlli di sanità mentale. Il primo passo è assicurarsi di poter comunicare con l'FT-891 attraverso la sua porta USB. Per questo avrete bisogno di un cavo da USB-A a USB-B e di un semplice programma di terminale. Ci sono molti software di questo tipo disponibili sul web, e io uso TERMITE, disponibile da: https://www.compuphase.com/software_termite.htm
Quando collegate il cavo all'FT-891, Windows vi assegnerà una porta COM. Dovrete scoprire il numero della porta COM, e per questo userete Device Manager. Accendete la radio, lanciate il programma TERMITE e connettetevi alla porta COM. Assicuratevi che l'impostazione della velocità in TERMITE corrisponda a quella dell'FT-891. Se inviate FA; al ricetrasmettitore dovrebbe rispondere con la sua frequenza VFO-A nella forma: FA12345678; per esempio indicando una frequenza di 12.345678 MHz. Se questo è corretto, potete procedere a collegare il connettore USB-A alla presa USB-A del convertitore USB.
Ora dovrete collegare un adattatore standard USB-RS232 al computer e collegare il suo connettore DB9 alla scheda MAX232. Collegate il cavo USB dell'FT-891 alla presa USB-A della scheda del convertitore USB. Collegate TERMITE alla nuova porta COM che sarà stata assegnata quando avete collegato l'adattatore USB-RS232, e inviate lo stesso comando alla radio. Se tutto funziona correttamente, dovreste ottenere la stessa risposta.
Preparatevi a giocare un po' per far funzionare tutto! È importante assicurarsi di poter comunicare con la radio, quindi vi suggerisco di acquistare un adattatore standard da USB a RS232 e di installare prima il programma terminale e assicurarvi che funzioni. Potete testare il programma terminale semplicemente collegando il pin 2 al pin 3 del suo connettore DB9, nel qual caso qualsiasi cosa da inviare vi sarà rimandata indietro. A seconda del convertitore USB-RS232 potreste dover fare un adattatore per connettervi alla scheda MAX232. Inoltre, potresti anche dover fare un cavo NULL-MODEM.
Se preferisci che ti aiuti direttamente invece che tramite questo sito web, allora sentiti libero di contattarmi all'indirizzo: adrian04@cytanet.com.cy sarò felice di aiutarti.
Adrian, 5B4AIY
Inoltre Adrian,
per la scheda A) dove è prevista anche una programmazione ho letto questo:
The USB Host board is designed to be as simple to use as possible. All of the complex USB programming is contained in the microchip so there is NO USB coding required in your application. This saves valuable programming space and saves you from having to code and debug USB interface routines. The onboard microcontroller has a bootloader and is easily updatable with any of our free USB Host driver software.
Quindi si può usare "AS IS" o la faccio troppo semplice?
Alberto
Intanto molte grazie per la risposta molto completa.
Da quello che capisco, ci sarebbe quindi la possibilità, acquistando 2 schede di fare funzionare questa interfaccia fra Atu 2.0 e FT-891.
In pratica si potrebbe comperare questi due prodotti:
Scheda A)
e
Scheda B)
dove i piedini evidenziati in colore blu si dovrebbero connettere alla scheda sopra con i piedini evidenziati in rosso.
Poi ci vuole l'alimentazione di 5v o 3,3v per la prima scheda e non so se serve anche sulla seconda scheda.
Quali sono le giuste corrispondenze fra i piedini rossi e blu?
A questo punto abbiamo la scheda A), che è un USB server, e si collega al retro del FT-891 e la scheda B) che,lato Rs232 (Rx,Tx,CTS,Rts,+5V,Gnd), si collega all'ATU 2.0.
Spero di non aver detto troppe inesattezze.
Grazie Adrian, 5B4AIY per l'aiuto.
A presto
Alberto IN3THU.
Hi, Alberto,
The short answer to your question is no, it is not possible. Let me explain. There are two types of USB ports, A and B. The A type is what is usually found on a computer and is recognizable by having a rectangular socket. The B port is a square socket, usually found on devices such as printers. The A port is a MASTER, the B port is a SLAVE, put another way, the A port is a Data Source, the B port is a Data Sink, you can think of the A port as a Server, and the B port as a Client. The A port provides +5V power to whatever is connected to it, whereas the B port expects to receive power, it does not provide it. The port on the back panel of the FT-891 is a B port, and is connected internally to a Silicon Labs CP210 USB to RS-232 converter. By this means the transceiver can be controlled by a CAT software package. Unfortunately, the Ciro-Mazzoni ATU-2 antenna controller is only equipped with a standard RS-232 port, not a USB port.
While it is technically possible to communicate with the radio's USB-B port, it requires a special piece of hardware as well as a small power supply for this hardware. This 'reverse USB to RS-232' adapter is available from: https://www.hobbytronics.co.uk/usb-host/usb-host-board-v24 This board emulates a USB A port, and provides a RS-232 TTL interface. You will need to 'translate' the TTL logic levels to standard RS-232 levels by means of a MAX232 converter chip as well. By connecting it to your transceiver's USB-B port you can then connect the RS-232 output of the host controller to the ATU-2 RS-232 port.
The ATU-2 will send the ASCII command: IF; to the radio, and it will receive a response in the form: IFAAABBBBBBBBB+/-CCCCD0EFG00H; Where these fields are:
A Memory Channel Number, 001 - 999, (Normal Memory Channels) or P1L - P9U, (PMS) or 501 - 510 (5MHz, US & UK versions only), or EMG, (Emergency)
B VFO-A frequency, Hz
+/- Offset direction
C Offset (Clarifier) frequency, 0000 - 9999Hz
D 0 - Clarifier Off, 1 - Clarifier On
E Mode 1 - 9, A to D
F 0 - 5 Tuning Mode
G 0 - 2 CTCSS
H 0 - 2
For the full details, see the IF command, page 10 of the CAT Operations Manual.
At this point I should mention a serious bug in firmware version: 4.06. This firmware misinterprets the return data, and does not tune the antenna. If you revert to version 4.05 it will work correctly. Ciro-Mazzoni are aware of this bug, and have promised a fix. I have no idea why they persist in using the IF; command when the FA; command returns only the VFO-A frequency and works with every transceiver using the ASCII command protocol, and is much simpler to implement. I can confirm the presence of the bug, as my Yaesu FTDX101D uses the same command protocol, and the ATU-2 does not work using firmware version 4.06, however when reverting to version 4.05 it does work correctly.
Salve, Alberto,
La risposta breve alla tua domanda è no, non è possibile. Mi spiego meglio. Ci sono due tipi di porte USB, A e B. Il tipo A è quello che si trova di solito su un computer ed è riconoscibile per avere una presa rettangolare. La porta B è una presa quadrata, di solito si trova su dispositivi come le stampanti. La porta A è un MASTER, la porta B è uno SLAVE, in altre parole, la porta A è una fonte di dati, la porta B è un sink di dati, si può pensare alla porta A come un server, e la porta B come un client. La porta A fornisce alimentazione a +5V a qualsiasi cosa sia collegata, mentre la porta B si aspetta di ricevere alimentazione, non la fornisce. La porta sul pannello posteriore dell'FT-891 è una porta B, ed è collegata internamente ad un convertitore Silicon Labs CP210 da USB a RS-232. In questo modo il ricetrasmettitore può essere controllato da un pacchetto software CAT. Sfortunatamente, il controller d'antenna Ciro-Mazzoni ATU-2 è dotato solo di una porta RS-232 standard, non di una porta USB.
Mentre è tecnicamente possibile comunicare con la porta USB-B della radio, è necessario un pezzo speciale di hardware così come un piccolo alimentatore per questo hardware. Questo adattatore 'reverse USB to RS-232' è disponibile da: https://www.hobbytronics.co.uk/usb-host/usb-host-board-v24 Questa scheda emula una porta USB A e fornisce un'interfaccia RS-232 TTL. Avrete bisogno di 'tradurre' i livelli logici TTL in livelli standard RS-232 per mezzo di un chip convertitore MAX232. Collegandolo alla porta USB-B del vostro ricetrasmettitore, potrete poi collegare l'uscita RS-232 del controller host alla porta RS-232 dell'ATU-2.
L'ATU-2 invierà il comando ASCII: IF; alla radio, e riceverà una risposta nella forma: IFAAABBBBBBBBB+/-CCCCD0EFG00H; dove questi campi sono:
A Numero del canale di memoria, 001 - 999, (canali di memoria normali) o P1L - P9U, (PMS) o 501 - 510 (5MHz, solo versioni US & UK), o EMG, (emergenza)
B Frequenza VFO-A, Hz
+/- Direzione offset
C Frequenza di offset (chiarificatore), 0000 - 9999Hz
D 0 - Clarifier Off, 1 - Clarifier On
E Modo 1 - 9, da A a D
F 0 - 5 Modo di sintonizzazione
G 0 - 2 CTCSS
H 0 - 2
Per tutti i dettagli, vedi il comando IF, pagina 10 del manuale operativo CAT.
A questo punto dovrei menzionare un serio bug nella versione del firmware: 4.06. Questo firmware interpreta male i dati di ritorno, e non accorda l'antenna. Se tornate alla versione 4.05 funzionerà correttamente. Ciro-Mazzoni sono consapevoli di questo bug, e hanno promesso una correzione. Non ho idea del perché si ostinino a usare il comando IF; quando il comando FA; restituisce solo la frequenza VFO-A e funziona con ogni ricetrasmettitore che usa il protocollo di comando ASCII, ed è molto più semplice da implementare. Posso confermare la presenza del bug, dato che il mio Yaesu FTDX101D usa lo stesso protocollo di comando, e l'ATU-2 non funziona usando la versione 4.06 del firmware, ma tornando alla versione 4.05 funziona correttamente.
73, Adrian, 5B4AIY