Manual IP switch II

This revision is from 2019/01/24 23:10. You can Restore it.

← Order page

← Old web page | Previous MK1 version

Manual IP switch MK2 is delivered with two parts - IP relay diver KIT (needs to assemble) and assembled IP control. Both parts have firmware installed and automaticaly pair in local network with available DHCP server.

Quick start guide in two step

  1. IP Switch relay driver KIT
    • Assembly KIT by this instructions.
    • Connect ethernet to local LAN with available DHCP server
    • Connect 5V power DC adapter
    • Set NET-ID-sufix with BCD switch in the range 0-7, for example 0.
  1. IP control
    • This part is assembled and tested.
    • Connect ethernet to local LAN with available DHCP server
    • Set NET-ID-sufix with bottom side BCD switch in the range 0-7, the number must be the same as on IP-switch relay driver.
    • Connect micro USB cable for power supply.
    • Wait to pair and start to use.

The hardware

  • IP Switch relay driver KIT is on its own page.
  • IP control

  • 1 - rotary Encoder switch one from 2-16 outputs
  • 2 - status LCD display
    • Points in the first row indicate the scope of the encoder.
  • 3 - NET-ID BCD, switch sufix in range 0-7
  • 4 - 25 pin D-SUB (inputs outputs not use)
    • PIN-1 DC power, typicaly 13,8V from transceiver
    • PIN-18 PTT input
    • PIN-14 GND
  • 5 - Ethernet
  • 6 - micro USB for upload firmware or power
  • 7 - eight light button - light after receive confirming from remote relay

Circuits

Pinouts 25 pin D-SUB

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 out +5V
pin-24 in/out BCD3
pin-25 in/out BCD1
shield - GND

Firmware

  1. Download and install Arduino IDE 1.8.3 od older
  2. Install library
    1. Wire
    2. LiquidCrystal_I2C or LiquidCrystal_PCF8574
  3. Download Band Decoder 2 firmware source from GitHub
  4. Preset two jumper in P10/P11 pin geader
  5. Connect micro USB cable between band decoder and PC
  6. Configure... (more in the chapter Configure TRX inputs)
  7. Select menu Tools/Board:"Arduino Nano"
  8. Select menu Tools/Port/YOUR-CONNECTED-PORT
  9. Upload firmware

LCD display

❏ I2C display need preset address in firmware

#define LcdI2Caddress  0x3F

The most common are values 0x27 or 0x3F.

Select I2C LCD chip
  • If type of chip is PCF8574AT
    • Install library LiquidCrystal_I2C
    • Disable line
      // #define LCD_PCF8574T
  • If type of chip is PCF8574T
    • Install library LiquidCrystal_PCF8574
    • Enable line
      #define LCD_PCF8574T

❏ Preset LCD contrast with potentiometer on rear side LCD module

← Web page