Main page
Recent changes
Band decoder for Arduino
B
I
U
S
link
image
code
list
Show page
Syntax
!!ICOM CIV Input works in ''sniff'' mode (data over one wire - RXD). This means that it is necessary to provide, transmit frequency of TRX to serial line * enabled '''CI-V transceive''' in TRX menu settings * comunicate with TRX by other device or '''software''' (for example logbook with CAT support) '''Activate''' uncomment line {{#define ICOM_CIV}} Requires baud rate and '''CIV address''' in setting section of source code {{#define SERBAUD 9600 // [baud] Serial port in/out baudrate #define CIV_ADRESS 0x56 // HEX Icom adress (0x is prefix)}} '''Deactivate''' watchdog and request {{// #define WATCHDOG 10 // [sec] determines the time, after which the all relays go OFF, if missing next input data - uncomment for the enabled // #define REQUEST // use TXD output for sending frequency request (Kenwood PC, Yaesu CAT, Yaesu CAT old, Icom CIV)}} In icom_civ.h file you can set '''rules to select individual output''' relays, with a resolution of one Hz. {{ //=====[ Frequency (Hz) to Band rules ]====================================== // you can expand rules up to 14 Bands if (freq >= 1810000 && freq <= 2000000 ) {BAND=1;} // 160m else if (freq >= 3500000 && freq <= 3800000 ) {BAND=2;} // 80m else if (freq >= 7000000 && freq <= 7200000 ) {BAND=3;} // 40m else if (freq >= 10100000 && freq <= 10150000 ) {BAND=4;} // 30m else if (freq >= 14000000 && freq <= 14350000 ) {BAND=5;} // 20m else if (freq >= 18068000 && freq <= 18168000 ) {BAND=6;} // 17m else if (freq >= 21000000 && freq <= 21450000 ) {BAND=7;} // 15m else if (freq >= 24890000 && freq <= 24990000 ) {BAND=8;} // 12m else if (freq >= 28000000 && freq <= 29700000 ) {BAND=9;} // 10m else if (freq >= 50000000 && freq <= 52000000 ) {BAND=10;} // 6m else if (freq >= 144000000 && freq <= 146000000 ) {BAND=11;} // 2m else {BAND=0;} // out of range //===========================================================================}} [https://remoteqth.com/img/wiki-bd-input-icom-civ.png|noborder] * short '''JP2''' left (RXD) [Next > Configure outputs -->|Band decoder for Arduino#Configure_outputs]
Password
Summary of changes