Main page
Recent changes
Band decoder MK2
B
I
U
S
link
image
code
list
Show page
Syntax
!!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.
Password
Summary of changes