Main page
Recent changes
Band decoder for Arduino
B
I
U
S
link
image
code
list
Show page
Syntax
!!KENWOOD CAT 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 * comunicate TRX with other device or '''software''' (for example logbook with CAT support) * activate function '''Frequency request''' which utilizes data output TXD, and prevent the use of any from CAT/CIV output. '''Activate''' uncomment line {{#define KENWOOD_PC}} Requires '''baud rate''' in setting section of source code {{#define SERBAUD 9600 // [baud] Serial port in/out baudrate // #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)}} You can also use functions * '''WATCHDOG''' - determines the time, after which the all relay OFF, if missed next input data * '''REQUEST''' - use TXD output for sending frequency request - and prevent the use of any from CAT/CIV output. In kenwood_pc.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-kenwood1.png|noborder] * short '''JP2''' right (RXD) * short '''JP7''' (PWR max232) [https://remoteqth.com/img/wiki-bd-kenwood2.png|noborder] * short '''JP2''' right (RXD) * short '''JP1''' right (TXD) * short '''JP7''' (PWR max232) [Next > Configure outputs -->|Band decoder for Arduino#Configure_outputs] !!!KENWOOD TS-x50 CAT This small PCB inverted TTL signal for old Kenwood RTX. * compatibile with Band decoder rev. 0.6 or higher * no more jumper needs * only plug small add-on to master pcb * connections to radio by DATA RJ45 connector [https://remoteqth.com/img/wiki-bd-kenwood-ts-x50.jpg]
Password
Summary of changes