Main page
Recent changes
Band decoder MK2
B
I
U
S
link
image
code
list
Show page
Syntax
!!!Icom ACC voltage !!!!Hardware dependency *'''Open JP6''' SMT pad on bottom side of PCB *'''Short JP7''' SMT pad on bottom side of PCB *'''Short JP9''' SMT pad on bottom side of PCB - {.redka#id color: #f23f37;}must be, else risk damage the procesor.{/} !!!!How to calibrate * After make hardware dependency * Connect trough two wire line voltage from TRX to pin13 on DB25 connector according to picture [https://remoteqth.com/img/wiki-bd2-07.png|noborder] * '''Activate''' uncomment line{{#define ICOM_ACC}} * need disable watchdog{{ // #define WATCHDOG 10 // [sec] determines the time, after which the all relay OFF, if missed next input data - uncomment for the enabled}} * '''Upload firmware''' * Read voltage from LCD by band, and preset rules in table{{ //=====[ Icom ACC voltage range ]=========================================================== if (AccVoltage > 0.73 && AccVoltage < 1.00 ) {BAND=10;} // 6m * * * * * * * * * * * * * * * * if (AccVoltage > 1.00 && AccVoltage < 1.09 ) {BAND=9;} // 10m * Need * if (AccVoltage > 1.09 && AccVoltage < 1.32 ) {BAND=8;} // 12m * calibrated to your * if (AccVoltage > 1.32 && AccVoltage < 1.55 ) {BAND=7;} // 15m * own ICOM * if (AccVoltage > 1.55 && AccVoltage < 1.77 ) {BAND=6;} // 17m * ---------------- * if (AccVoltage > 1.77 && AccVoltage < 2.24 ) {BAND=5;} // 20m * (These values have * if (AccVoltage > 0.10 && AccVoltage < 0.50 ) {BAND=4;} // 30m * been measured by any) * if (AccVoltage > 2.24 && AccVoltage < 2.73 ) {BAND=3;} // 40m * ic-746 * if (AccVoltage > 2.73 && AccVoltage < 2.99 ) {BAND=2;} // 80m * * if (AccVoltage > 2.99 && AccVoltage < 4.00 ) {BAND=1;} // 160m * * * * * * * * * * * * * * * * if (AccVoltage > 0.00 && AccVoltage < 0.10 ) {BAND=0;} // parking //========================================================================================== }} * '''Upload firmware again''' * Precise calibrate value reach with measure voltage on Aref input (C17) and insert to code{{float ArefVoltage = 4.228; // Measure on Aref pin 20 for calibrate}}
Password
Summary of changes