Page 1
⚫ Internet Control ⚫ Password Protection Introduction BEM104 is an Wide Supply Input, Ethernet Remote Relay Module, with 2 output channels, and provide with both enclosed and open type housing. Its Ethernet connector provides 10/100baseT interface. It supports EasyBus-TCP, HTTP control, Auto ping, Modbus-TCP and Internet control protocols, suitable for being used with servers, computers, mobiles, routers, etc., to provide remote...
Operation Temperature -30℃ to +85℃ Module Size 75mmx50mmx20mm Weight 1.2 Connection Diagram Fig. 1.1 2. Specifications 2.1 Recommended Operating Conditions Parameters Symbol Values Unit At T = 25℃, V = 5V unless otherwise specified. Min. Typ. Max. suplly Operating voltage www.BrickElectric.com...
Subnet Mask: 255.255.255.0 You can download latest firmware for Gateway: 192.168.1.1 free. DHCP: disable ⚫ ⚫ HTTP function Internet Control State: Enable State: Enable Port: 80 Platform with App: Android iOS(in prepare) Windows(in prepare) Cross-Platform (Web Browser) in prepare www.BrickElectric.com...
A Practical step-by-step operation guide for starters This part is a step-by-step tutorial explaining how to start with BEM104. We'll not discuss too much details here. The only idea here is to make it work by minimum steps. For more information, please refer to later chapters.
3.2 LAN Mode 1. Connect BEM104 with your routers or computer by Ethernet cable, and then power it on with 5 - 24VDC power supply. (see fig.1.1 at page 2) 2. Open any TCP test tool (if you don't have any, or you don't know what a TCP test tool is, you can use BE-Manager, it is within our software package).
3.3 Internet Mode: 1. Connect BEM104 with your routers or computer by Ethernet cable. And then power it on with 5-24VDC power supply. (see fig.1.1 at page 2) 2. Open "Hello Brick" app for android at any android phone, register a user and then have fun with Internet control.
You can find the MAC Address of the module at the simple start manual delivered together with module package. 4.2 Save Parameters After power cycle, BEM104 will lose its parameter modifications if you don't actively require it to save modified parameters into internal nonvolatile memory. For examples, IP Address, Gateway address and Net mask.
4.3 DHCP Function BEM104 supports both DHCP and static IP Addressing. For communication reliability, we recommend using a Static IP Address when you feel comfortable doing so. This will ensure that the device will always be where you expect it to be, when you try to connect to...
In the following contents, assuming current IP Address is 192.168.1.105. If you need to switch different channels please replace "k0x" to the value you need. For example, if you want control ch2, you may replace "k01" with "k02". www.BrickElectric.com...
Page 12
To switch off ch1 output: Web access URL: http://192.168.1.105/k01=0 Socket command text: k01=0; To switch on ch1 output: Web access URL: http://192.168.1.105/k01=1 Socket command text: k01=1; To toggle (opposite to previous status) ch1 output: Web access URL: http://192.168.1.105/k01=2 Socket command text: k01=2; www.BrickElectric.com...
Page 13
To pulse on ch1 output, you can input by require web access: Web access URL: http://192.168.1.105/k01=3 Socket command text: k01=3; To pulse off ch1 output, you can input by require web access: Web access URL: http://192.168.1.105/k01=4 Socket command text: k01=4; www.BrickElectric.com...
Page 14
To set timer T1 value to 5000: Web access URL: http://192.168.1.105/setpara[65]=5000 Socket command text: setpara[65]=5000; To set timer T1 value unit to ms: Web access URL: http://192.168.1.105/ setpara[29]=0 Socket command text: setpara[29]=0; To set timer T1 value unit to second: Web access URL: www.BrickElectric.com...
Page 15
K0xT1/K0xT2 is 1000, and default unit for K0xU1/K0xU2 is ms. To set timer T1 value to 5000: Web access URL: http://192.168.1.105/ setpara[65]=5000 Socket command text: setpara[65]=5000; To set timer T1 value unit to ms: Web access URL: http://192.168.1.105/ setpara[29]=0 Socket command text: setpara[29]=0; www.BrickElectric.com...
Once enabled, user can only send effective command when they're able to provide correct 6-bit length access password. In the following contents, assuming current IP Address is 192.168.1.105. And device password is "123456", which is also the default password. Enable/Disable Password Protection To Enable password protection: www.BrickElectric.com...
For example, if you set incorrect IP Address and the device is no longer detectable in your network. Two different level of reset are provided in this module. Level-1 only reset parameters, i.e. network settings, time settings and so on, while Level-2 will reset on-chip app, i.e. for firmware updating/reload. www.BrickElectric.com...
In some applications, customer may want to set up their own name for better identification of the device. For this purpose, device name can be customized, with a maximum length of 15 letters. To read device name: Web access URL: www.BrickElectric.com...
If you wish to connect multiple software to relay module at the same time, please reference to HTTP access mode, which allows multiple software connection at the same time. To read relay module EasyBus mode: www.BrickElectric.com...
Page 20
Web access URL: http://192.168.1.105/ setpara[132]=1; Socket command text: setpara[132]=1; EasyBus Client Remote IP address This parameter setup the remote server IP address for relay module to connect. To read relay module EasyBus Client Remote IP address: Web access URL: www.BrickElectric.com...
Page 21
To set relay module EasyBus Client DNS Enable to be enabled: Web access URL: http://192.168.1.105/ setpara[129]=1; Socket command text: setpara[129]=1; EasyBus Client Remote Host Name For some applications, the remote server IP address is assigned by DHCP, so to get the www.BrickElectric.com...
Page 22
To read relay module EasyBus Client Remote Host Name: Web access URL: http://192.168.1.105/ getpara[128]=1; Socket command text: getpara[128]=1; To set relay module EasyBus Client Remote Host Name, for example to BrickElectric.com: Web access URL: http://192.168.1.105/ setpara[128]=BrickElectric.com; Socket command text: setpara[128]=BrickElectric.com; EasyBus Client Watchdog In most of networks, router will kill a TCP connection if it is unused for some time period, an practical time will be 120 seconds.
BEM104 has a 2 independent auto ping channels watchdog which can monitor 2 external servers/controllers on network at the same time. Auto ping monitor channels are completely independent from relay channels, you can map either one or both relay channel to each auto ping channel freely.
Page 25
5 seconds, and then power it on again. I'm using k01 to supply power to my device, so my reboot sequence is: k01=0;wait=5;k01=1; and plus the programmable mark(if you don't insert programmable mark, your sequence will be running immediately rather than saving into preset program and wait to be triggered) www.BrickElectric.com...
Page 26
2. To set time unit to second : setpara[46]=1; 3. To set time value to 60: setpara[82]=60; I want to setup time between pings to 60 seconds, for example: Web access URL: Write: http://192.168.1.105/setpara[46]=1&setpara[82]=60 Read: http://192.168.1.105/getpara[46]=1&getpara[82]=1 Socket command text: www.BrickElectric.com...
Page 27
2. To set time unit to second: setpara[173]=1; 3. To set time value to 60: setpara[165]=60; I want to setup after reboot delay time to 300 seconds, for example: Web access URL: Write: http://192.168.1.105/setpara[173]=1&setpara[165]=300 Read: http://192.168.1.105/getpara[173]=1&getpara[165]=1 Socket command text: Write: setpara[173]=1;setpara[165]=60; www.BrickElectric.com...
Page 28
Write: http://192.168.1.105/setpara[181]=0 Socket command text: Write: setpara[181]=0; Auto Ping Channel 2: To start auto ping: Web access URL: Write: http://192.168.1.105/setpara[182]=1 Socket command text: Write: setpara[182]=1; To stop auto ping: Web access URL: Write: http://192.168.1.105/setpara[182]=0 Socket command text: Write: setpara[182]=0; www.BrickElectric.com...
BEM Series I/O module to another output channel BEM Series I/O module. For example, if you have one BEM108 which have 8 inputs and four BEM104 which each have 2 outputs and in total 8 outputs. In such a case you can map each input of BEM108 to the eight outputs of 4 BEM104 without central controller.
Or Socket command text: setpara[135]=1; Web access URL: http://192.168.1.105/ setpara[136]=106; Or Socket command text: setpara[136]=106; (3) Select output channel one of target BEM104 by: Web access URL: http://192.168.1.105/ setpara[173]=1; Or Socket command text: setpara[173]=1; 6.2 X-Connect Map Parameter List All eight X-Connect channels can be setup by the following parameter list:...
Need help?
Do you have a question about the BEM104 and is the answer not in the manual?
Questions and answers