Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| toh:barix:barix_barionet_1000_oem [2017/03/21 14:12] – spsantossilva | toh:barix:barix_barionet_1000 [2019/10/09 16:16] (current) – some tags added; OpenWrt support status added tmomas | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Barix Barionet 1000 ====== | ||
| + | The [[http:// | ||
| + | The system is equipped with 11 LED status indicators and one molex connector to enable 1-Wire interface. | ||
| + | |||
| + | {{ : | ||
| + | |||
| + | ===== OpenWrt support ===== | ||
| + | |||
| + | Runs on OEM OpenWrt version, but **not officially supported** by OpenWrt (no images available at downloads.openwrt.org). | ||
| + | |||
| + | ===== Hardware features ====== | ||
| + | | **CPU** | ||
| + | | **Memory** | ||
| + | | **Network Interfaces** | ||
| + | | Ethernet | ||
| + | | RF | 1 Wi-fi 802.11 b/g/n , 2.4 Ghz | | ||
| + | | **USB interfaces** | ||
| + | | **Serial Interface** | ||
| + | | **Status display** | ||
| + | |**I/O interface** | ||
| + | |Relay | ||
| + | |Output | ||
| + | |Input | ||
| + | |**1 Wire Interface** | ||
| + | |**Power Supply Voltage** | ||
| + | |||
| + | ===== Software features ===== | ||
| + | | Support for Python 2.7 | | ||
| + | | Support for the Lua scripting language | ||
| + | | OpenSSL | ||
| + | | Web server daemon with CGI support | ||
| + | | CLI (command line interface) | ||
| + | | DHCP server | ||
| + | | IPv6 connectivity | ||
| + | | Based on the OpenWrt OS | | ||
| + | | | | ||
| + | | **New**: **Modbus/ | ||
| + | |||
| + | ===== Software image ===== | ||
| + | | Newer or alternative Firmware can be downloaded from www.barix.com/ | ||
| + | |||
| + | | or at Bitbucket public repository: https:// | ||
| + | |||
| + | |||
| + | ===== Do you need support? ===== | ||
| + | At Barix it is important to us that you have a smooth experience with Barix technology. With every Barix product you will find detailed information and installation instructions within the manual which you can download from www.barix.com. If you are still stuck after reading the manual and still have a problem, then please contact your dealer who supplied you with the product. | ||
| + | |||
| + | Our clients are important to us. So if you have technical inquiries please write to " | ||
| + | |||
| + | |||
| + | ===== Where to buy? ===== | ||
| + | We rely on our worldwide distribution network for direct sales. Have a look at http:// | ||
| + | |||
| + | For OEM and special projects please contact Barix! | ||
| + | Barix AG | ||
| + | "info @ barix.com" | ||
| + | T +41 43 433 22 11 | ||
| + | |||
| + | |||
| + | ===== Powering the unit ===== | ||
| + | The above image displays the several out of the box available interfaces. | ||
| + | The Barionet 1000 is commonly powered by a good quality transformer capable of delivering a stable voltage of 12 VDC at 1.5A. As shown in the image above, the power is supplied via the J1 connector. Before plugging in the adapter be aware of the polarity of the wires to avoid damaging the unit. | ||
| + | |||
| + | **Before powering Barionet 1000 please make sure to comply with the following specifications for cable type:** | ||
| + | * I/O, Power Connectors: 28 AWG minimum to 14 AWG maximum wire size | ||
| + | * Relay output: | ||
| + | It is recommended to use shielded cable with earth connected to the G pin on Barionet 1000. | ||
| + | |||
| + | After properly powering the Barionet 1000 the status LEDs (PWR and IN1 to IN8) will turn on and then the PWR LED will start flashing to indicate that the equipment is booting and it is not yet ready. While the PWR LED blinks with a period of 0.5 seconds, then the unit is still booting. The boot is successfully finished when the PWR LED stops blinking. | ||
| + | |||
| + | ===== TOP VIEW ===== | ||
| + | {{ : | ||
| + | |||
| + | **Con 1 (2x USB Host)** | ||
| + | | **Pin** | ||
| + | | 1 | VCC (+5V)| | ||
| + | | 2 | D – (Data -)| | ||
| + | | 3 | D + (Data +)| | ||
| + | | 4 | GND| | ||
| + | |||
| + | **J5 Relay outputs (250VAC, 5A)** | ||
| + | |**Pin** |**Description** | | ||
| + | | 1 | Relay 2 common | ||
| + | | 2 | Relay 2 normally open | | ||
| + | | 3 | Relay 2 normally closed | | ||
| + | | 4 | Relay 1 common | | ||
| + | | 5 | Relay 1 normally open | | ||
| + | | 6 | Relay 1 normally closed | | ||
| + | |||
| + | **J1 I/O and Supply Input** | ||
| + | |**Pin** |**Description** | | ||
| + | | 1..4 | Input 1..4 Analog 0..15 VDC or Digital | ||
| + | | 5..8 | Input 5..8 Digital | ||
| + | | 9 | Common Inputs Ground | | ||
| + | | 10…13 | Output 1..4 Digital (Open Collector 0..24 VDC, 100 mA) | | ||
| + | | 14 | Common Outputs Ground | ||
| + | | 15 | Power In + 9..30VDC | | ||
| + | | 16 | Power In - | | ||
| + | |||
| + | **P1 RS-232 serial port** | ||
| + | |**Pin** |**Description**| | ||
| + | | 2 | RxD (Receive data) | | ||
| + | | 3 | TxD (Transmit data) | | ||
| + | | 5 | GND (Ground) | | ||
| + | | 7 | RTS (Ready to send) | | ||
| + | | 8 | CTS (Clear to send) | | ||
| + | | 1,6,9 | not connected | | ||
| + | |||
| + | **CON 2 Ethernet (RJ45)** | ||
| + | |**Pin**|**Description** | | ||
| + | | 1 | TX + (Transmit data) | | ||
| + | | 2 | TX - (Transmit data) | | ||
| + | | 3 | RX + (Receive data) | | ||
| + | | 4 | NC | | ||
| + | | 5 | NC | | ||
| + | | 6 | RX – (Receive data) | | ||
| + | | 7 | NC | | ||
| + | | 8 | NC | | ||
| + | | Left LED Yellow - Activity || | ||
| + | | Left LED Green - Link / Speed (Blinking) || | ||
| + | |||
| + | **J3 Dallas 1-wire® bus** | ||
| + | |**Pin** |**Description** | | ||
| + | | 1 | (DO NOT CONNECT) | | ||
| + | | 2 | Ground (GND) | | ||
| + | | 3 | 1-wire data | | ||
| + | |||
| + | ===== Connecting to power and initialization ====== | ||
| + | The Barionet 1000 needs a DC supply voltage of 9V to 30V, 4Wmax. Please mind the polarity. When powered up, all LEDs will turn on while the power (PWR) LED will blink (blue). When the device is initialized, | ||
| + | |||
| + | ===== Access the Device ====== | ||
| + | ==== Connecting via Ethernet ===== | ||
| + | Plug the ethernet cable from your computer directly to the Barionet 1000. | ||
| + | Next, configure your computer to a static IP on the range 192.168.66.X (for example, .100) and subnet mask to 255.255.255.0 | ||
| + | With the Barionet 1000 default configuration its LAN IP address is set to 192.168.66.1. | ||
| + | Default username and password: root/ | ||
| + | The root user has NO password set, so make sure you set one ! | ||
| + | {{ : | ||
| + | |||
| + | ==== Connecting via Wi-Fi ==== | ||
| + | The device works in AP mode by default and creates a Wi-Fi network with a name consisting of “Barionet_” and the four last digits of its MAC address (for example, Barionet_0A15). The network security key/ | ||
| + | |||
| + | Connect your PC to this Wi-Fi network. In this network, the Barionet works as a DHCP server and uses the IP Address 192.168.166.1 itself. For your PC, an IP address in the 192.168.166.x range will be assigned if you connect via that interface. | ||
| + | |||
| + | ==== Establishing an SSH connection ==== | ||
| + | Use ssh or a similar client (for example, PuTTY, port 22, SSH option) and establish a connection as user root to the IP address of the Barionet (192.168.66.1 if connecting via Ethernet and 192.168.166.1 if connecting via Wifi) | ||
| + | The root user has NO password set, so make sure you set one! | ||
| + | |||
| + | ===== Changing settings via LuCI web interface ===== | ||
| + | |||
| + | ==== Opening the LuCI interface ==== | ||
| + | To use the LuCI web interface please access the Barionet via browser by its IP address (192.168.66.1 or 192.168.166.1) | ||
| + | |||
| + | ==== Changing Network settings ==== | ||
| + | In the LuCI web interface you will find all relevant settings, so you can set other IP addresses, enable/ | ||
| + | Make sure you don’t lock yourself out if you change the settings! | ||
| + | |||
| + | ===== Mounting USB devices ===== | ||
| + | In the LuCI interface go to System Mount Points menu. | ||
| + | Scroll down and select “Add” on Mount Points view. | ||
| + | Select the UUID of the external flash drive inserted into the Barionet 1000 USB port. | ||
| + | Select option -- custom -- under Mount Point drop down menu and provide a name (e.g. / | ||
| + | To validate click on Save & Apply and wait a few seconds. | ||
| + | The new mounted unit should now be visible when going to System Mount Points | ||
| + | |||
| + | ===== IO access from scripts or programs ===== | ||
| + | The IO ports are accessible through the standard OpenWrt IO device files. | ||
| + | Some testing and sample scripts are in the /root directory, which can be used to quickly read inputs or set outputs. Please refer to the IO Map (you can find it in the documentation and also in the device’s /root directory, file “iomap.rtf”) | ||
| + | |||
| + | ===== Reset to factory defaults ===== | ||
| + | On the LuCI web interface go to the System Backup/ | ||
| + | Under Backup/ | ||
| + | At this point, the device will reboot and apply default settings. | ||
| + | |||
| + | ===== IO MAPPING ===== | ||
| + | |||
| + | **J1 I /O and Power (4Watt max.)** | ||
| + | |**PIN**|**Description **|**Port Name** |**Mapped Pin Name**| | ||
| + | | 1 | I1- Input 1 Analog 0..5 VDC or Digital | ||
| + | | 2 | I2- Input 2 Analog 0..5 VDC or Digital | ||
| + | | 3 | I3- Input 3 Analog 0..5 VDC or Digital | ||
| + | | 4 | I4- Input 4 Analog 0..5 VDC or Digital | ||
| + | | 5 | I5- Input 5 Digital | r15 | gpio508 | | ||
| + | | 6 | I6- Input 6 Digital | ||
| + | | 7 | I7- Input 7 Digital | ||
| + | | 8 | I8- Input 8 Digital | ||
| + | | 9 | Common Inputs Ground | ||
| + | | 10 | O1- Output 1 Digital (Open Collector 0..24 VDC, 100 mA) | p1 | gpio496 | | ||
| + | | 11 | O2- Output 2 Digital (Open Collector 0..24 VDC, 100 mA) | p2 | gpio497 | | ||
| + | | 12 | O3- Output 3 Digital (Open Collector 0..24 VDC, 100 mA) | p3 | gpio498 | | ||
| + | | 13 | O4- Output 4 Digital (Open Collector 0..24 VDC, 100 mA) | p4 | gpio499 | | ||
| + | | 14 | Common Outputs Ground ||| | ||
| + | | 15 | Power In + 9..30VDC ||| | ||
| + | | 16 | Power In - ||| | ||
| + | |||
| + | **J5 Relay outputs (250VAC, 5A)** | ||
| + | |**PIN**|**Description **|**Port Name** |**Mapped Pin Name**| | ||
| + | | 1 | Relay 2 common | ||
| + | | 2 | Relay 2 normally open | 2 | gpio500 | | ||
| + | | 3 | Relay 2 normally closed | 2 | gpio500 | | ||
| + | | 4 | Relay 1 common ||| | ||
| + | | 5 | Relay 1 normally open | 1 | gpio501 | | ||
| + | | 6 | Relay 1 normally closed | 1 | gpio501 | | ||
| + | |||
| + | ===== Tags ===== | ||
| + | [[meta: | ||
| + | {{tag> | ||