Main page
Recent changes
Band decoder MK2
B
I
U
S
link
image
code
list
Show page
Syntax
!The hardware '''KIT is delivered with''' * PCB with '''soldered all SMT parts''' * preinstaled '''bootloader''' and simply 'snake' firmware lighting with all nine LED * separate THT parts which you install in '''six steps''' * I2C '''LCD''' display with 3D printed plastic holder * '''Aluminium box''' [https://remoteqth.com/img/wiki-bd2-01.png|noborder] * '''1 - status LCD''' display{br}[https://remoteqth.com/img/wiki-bd2-03.png|noborder] * '''2 - 25 pin D-SUB''' inputs outputs * '''3 - '''Ethernet (optional) not implemented yet * '''4 - micro USB''' for upload firmware !!Circuits Based on universal NANO module *rev 1.2 ** [Schematics rev 1.2 .pdf|https://remoteqth.com/hw/nano-module-12.pdf] ** [BOM 1.2|https://remoteqth.com/hw/nano-module-12-ibom.html] *rev 1.0 ** [Schematics rev 1.0 .pdf|https://remoteqth.com/hw/nano-module-10.pdf] ** [BOM 1.0|https://remoteqth.com/hw/nano-module-10-ibom.html] !!!Changelog * '''rev 1.2''' ** Relay Vin driver disconect from 12V and connect to pin23 D-SUB15 !!KIT assembly instructions * '''{.redka#id color: #f23f37;}First time{/}''' connect USB to band decoder and your PC, and check (device manager in windows) '''that the USB converter has been recognized correctly.''' Contact us if you have any problems and do not continue assembly. [https://remoteqth.com/img/wiki-bd2-ftdi.png] ---- If detect right, you can continue. [https://remoteqth.com/img/wiki-bd2-12.jpg] All components !!!Soldering in six steps [https://remoteqth.com/img/wiki-bd2-13b.png|noborder] * '''1 -''' bottom pad '''J1 USB connector''' * '''2 -''' U5 '''DIL socket''' * '''3 -''' RL1 '''Relay''' * '''4 -''' P1 P2 P10 P11 JP1 '''Pin header''' * '''5 -''' S1 Reset '''button''' * '''6 -''' J2 '''D-SUB connector''' [https://remoteqth.com/img/wiki-bd2-14.jpg] ❏ Short JP5 JP7 '''SMD jumper padds on bottom side''' ❏ In '''version 1.2''' the supply voltage of relay outputs is decoupled from the power supply of the device (open emitter) . If you want to use the same voltage short pin JP10. If you want a different voltage then you can put it in pin 23. !!!Display [https://remoteqth.com/img/wiki-bd2-15.jpg] ❏ Deploy '''from the left side''' Left LCD holder on PCB board [https://remoteqth.com/img/wiki-bd2-16.jpg] ❏ Put LCD [https://remoteqth.com/img/wiki-bd2-17.jpg] ❏ Deploy Right LCD holder on display and '''deploy to PCB from front side''' [https://remoteqth.com/img/wiki-bd2-18.jpg] ❏ Display cabe - on both side '''using only outside pins''' [https://remoteqth.com/img/wiki-bd2-19.jpg] ❏ Connect display and PCB board - '''Red arrow shows polarity''' [https://remoteqth.com/img/wiki-bd2-23.jpg] ❏ '''Insert PCB with display to aluminium box''' and tighten with two screws ❏ I2C display need preset '''address in firmware'''{{#define LcdI2Caddress 0x3F}} The most common are values 0x27 or 0x3F. *If display dont work ** [Upload I2C scanner firmware|https://playground.arduino.cc/Main/I2cScanner] ** Open terminal Ctrl+Shift+M [https://remoteqth.com/img/wiki-bd2-22.png] ** Write detect addres to band decoder firmware !!!!Select I2C LCD chip * If type of chip is PCF8574'''AT''' ** Install library '''LiquidCrystal_I2C''' ** Disable line {{// #define LCD_PCF8574T}} * If type of chip is PCF8574'''T''' ** Install library '''LiquidCrystal_PCF8574''' ** Enable line {{#define LCD_PCF8574T}} ❏ Preset '''{.redka#id color: #f23f37;}LCD contrast{/}''' with '''potentiometer on rear side LCD module''' !!!Power [https://remoteqth.com/img/wiki-bd2-20.png|noborder] ❏ Connect power, typicaly '''13,8V from transceiver''' !!Configure output driver We available two types of output drive !!!Open collector [https://remoteqth.com/img/wiki-bd2-11.png] Using for components with grounding outputs * Put in ULN2803A chip to U5 dil socket * Set two jumpers in P2 to '''LEFT side''' * board '''rev 1.0''' ** If relay voltage is '''higher than band decoder power supply (Vin),''' do not mount the upper jumper. * board rev '''1.2 and higher''' ** Connect relay power voltage also on '''{.redka#id color: #f23f37;}pin23{/}''' J2-DB25 connector. !!!Open emiter [https://remoteqth.com/img/wiki-bd2-10.png] Using for components controlled with positive voltage * Put in MIC2981 chip to U5 dil socket * Set two jumpers in P2 to '''RIGHT side''' * Connect power for output control to pin1 in J2 D-SUB connector - this voltage use also for powered of band decoder and may be in range 8-24V !!!Configure outputs in firmware * Allways enabled. An entrance band data, or frequency, converts to output band 0-14 which can be configured in the following table - '''Preset Band to output matrix''' - in default settings Band-1 corresponds to Output-1, etc. You can sets any combination outputs for each band separately. With change zeros and ones in the Matrix table. Band-0 reserved for out of range inputs measure. {{ //=====[ Sets band --> to output in MATRIX table ]=========================================================== const boolean matrix[17][16] = { /* Band 0 --> */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 }, /* first eight shift register board \ Band 1 --> */ { 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, /* \ Band 2 --> */ { 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, /* \ Band 3 --> */ { 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, /* \ Band 4 --> */ { 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, /* \ Band 5 --> */ { 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, /* \ Band 6 --> */ { 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, /* IN ) Band 7 --> */ { 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, /* / Band 8 --> */ { 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0 }, /* / Band 9 --> */ { 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0 }, /* second eight shift register board / Band 10 -> */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0 }, /* (optional) / Band 11 -> */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0 }, /* / Band 12 -> */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0 }, /* / Band 13 -> */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0 }, /* Band 14 -> */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0 }, /* Band 15 -> */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 }, /* Band 16 -> */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 }, /* | | | | | | | | | | | | | | | | V V V V V V V V V V V V V V V V ---------------------------------- --------------------------------- | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ---------------------------------- --------------------------------- OUTPUTS */ }}Outputs only eight, for next need aditional board. !!PTT [https://remoteqth.com/img/wiki-manual-ipsw-03.png|noborder] * If PTT input (pin-18 25D-SUB) connect to ground, '''changing''' the switching outputs are '''blocked.''' * PTT output (pin-6 25D-SUB) may be use for interruption PTT path for example to power amplifier, if frequency out of band, or not available. !!Pinouts 25 pin D-SUB [https://remoteqth.com/img/wiki-bd2-02.png|noborder|right] | pin-1 | in | '''Input power''' 8-18V DC from Transceiver | | pin-2 | in | ICOM CI-V | | pin-3 | out | TXD TTL | | pin-4 | out | TXD TTL inverted | | pin-5 | out | TXD 232 level | | pin-6 | out | PTT output | | pin-7 | out | Relay 2 | | pin-8 | out | Relay 4 | | pin-9 | out | Relay 6 | | pin-10 | out | Relay 8 | | pin-11 | in/out | BCD4 | | pin-12 | in/out | BCD2 | | pin-13 | in | AZ | | pin-14 | - | '''GND''' | | pin-15 | in | RXD TTL | | pin-16 | in | RXD TTL inverted | | pin-17 | in | RXD 232 level | | pin-18 | in | PTT in | | pin-19 | out | Relay 1 | | pin-20 | out | Relay 3 | | pin-21 | out | Relay 5 | | pin-22 | out | Relay 7 | | pin-23 rev1.0 | out | +5V | | pin-23 rev1.2 | in | '''Relay Vin''' | | pin-24 | in/out | BCD3 | | pin-25 | in/out | BCD1 | | shield | - | GND |
Password
Summary of changes