GSM Controller BR160GM-Gate
Gate opener version for Gate control.
GSM module for SMS remote monitoring and control applications Alarm Notification Remote Control
Features
• Internal quad-band GSM-modem
• 6 digital input ports
• 3 Open-Drain MOSFET output ports
• 1 Power Relay output
• Error notification using SMS messaging via cell phone
• Control via SMS
• Configuration from cell phone
Introduction
The BieneRemote160GM GSM controller is a communications device that connects used for wireless Alarm Monitoring and Control of remote equipments and systems. Multiple users can interrogate the BieneRemote160GM or be notified on configurable events.
The built-in quad-band GM862-quad GSM module compatible with 850/900/1800/1900Mhz GSM networks.
BieneRemote160GM-S - Standard version for digital signal monitoring.
BieneRemote160GM-4A/2A - Analog version for digital and analog signal monitoring.
BieneRemote160GM-SMT - Temperature version for digital signal and temperature monitoring.
SMS Function
SMS controller send an event SMS messages to up to 4 cell phones.
Any cell phone can be used to send SMS commands to BieneRemote160GM.
Mobile users can contact and request information from a BieneRemote160GM GSM controller and up to 4 users can receive notification of events.
With the BieneRemote160GM GSM controller you can use a mobile phone to:
• Monitor the status of equipment or systems
• Send control commands to remote equipment
• Receive notification of events
Any BieneRemote160GM GSM controllercan be used to send SMS commands to other BieneRemote GSM controllerfor remote control.
Any BieneRemote160GM GSM controller can be programmed via SMS instruction.
SMS based remote monitoring and control application
Input Signal Monitoring
The BieneRemote160GM has 6 voltage-free digital inputs that can be configured as:
• 0-1 or 1-0 event input
• each input can with jumper connect to pullup resistor (to +5V or +12V optional)
To receive SMS message by event on inputs, you need entering SMS message on a module (or SIM card) programming.
Output Control
The BieneRemote160GM has 3 open-drain Outputs and 1 Power Relay Output. These may be controlled with SMS messages from approved users. To set any output as you like, you need only to send an SMS message.
Module to Module Control
The BieneRemote160GM supports Module-to-Module management with SMS command.
Users and Administrator
The BieneRemote160SM supports up to 3 users. Each user can interrogate the device for the current I/O status. Users can be notified based on changes to each input.
Security
The BieneRemote160GM has a number of in-built security features. Caller ID security provide authentication for device interrogation and control.
Alarm
SMS messages can be sent to users when an input reaches an alarm state. The following setpoint configurations are available:
Alarm when 0-1 or 1-0 event at digital input.
Module Programming/Configuration
The BieneRemote160GM can be configured (programming) remotely with SMS command. Configuration options include Alarm Message Content, Users and Administrators Phone Numbers and other.
Technical Specification
BieneRemote160GM Hardware Specification
BR160GM-S BR160GM-4A/-2A BR160GM-SMT BR160GM-GATE GSM band support GSM850/900/1800/1900
Internal GSM modem Telit GM862-QUAD
RF Transmit Power Class 4 (2W) 900Mhz, Class 1 (1W) 1800Mhz, 1900Mhz Command and data
transmission
SMS
SIM card reader Yes
SIM card type Phase 2 GSM11.14 - SIM 3V Antenna Connection 50Ω SMA (f) Connector
Firmware Yes
Digital inputs
Digital inputs type Voltage-free, transistor ("0": 0...+1V; "1": +1.5…+12V without external limited resistor); Optional: +12V/+5V pullup resistor for each input
- Number of digital inputs 6 6 4 6
- Events digital inputs 6 6 4 6
- Digital inputs event 0-1 or 1-0 - Digital signal filter 25ms – 9sec
- Protection Yes
Temperature sensor inputs
Temperature sensor - - SMT160-30
(Smartec)
-Number of temperature inputs - - 2
-Temperature input event - - min / norm / max
-Temperature range - - -45 to +130°C
-Events Temperature range - - -45 to +130 °C
Accuracy - - 1.2°C
-Protection - - Yes
-Analog inputs
Number of analog inputs - 4 / 2 -
- Protection - yes -
- Analog input event - min / norm / max -
- ADC resolution - 10-bit -
-Outputs
Number of outputs 4
- MOSFET Open Drain
outputs 3 (50V max)
- Relay outputs 1 (NO/COM/NC), 28VDC/230AC/ 5A - Digital output control On-Off; Pulse (Standard and Gate version only)
Gate Control
Call Control Yes
Number of user Up to 250
Wiring
Wiring Connections Screw terminal blocks
Power Supply
Required Power supply External +12 VDC stabilized
Power requirement 50mA typ, 350mA(rms) max, 2A max. peak during transmission Voltage regulator Internal voltage regulator
Environmental Conditions Normal operating temperature.range -10…+55°C Extreme operational temperature range -20…+70°C
(these temperature can affect the sensitivity and performance of the module) Storage temperature range -40 to +80°C
Humidity 0-95% non-condensing
Physical parameter
Board dimension 103 x 86.5 mm
Enclosure dimension 106 x 100 x 58 mm
Box DIN-rail mounting
Weight
BieneRemote160GM Firmware Specification
BR160GM-S BR160GM-4A/-2A BR160GM-SMT BR160GM-GATE
Number of controlled outputs 4
Number of digital event inputs 6 6 4 5
Number of readable digital inputs
6 6 4 5
Number of analog event inputs
- 4 / 2 -
-Number of readable analog
data - 4 / 2 -
-Authorization cell phone numbers
3 2 / 3 3 3
Events cell phone numbers 3 2 / 3 3 2
SMS events format Text message
SMS digital data format Binary Binary Binary HEX SMS message format for
analog data
In % from Reference level
00 - 99 SMS message format for
temperature data
º C min level, max level -45º C - +130º C
BieneRemote160GM-Gate -Gate
Communication via GSM
900/1800/1900 or 850/900/1800/1900Mhz
Door open, with Dialing
Access control Authorized or not authorized
Maximum number of users 250
Identification methode Users phone number User numbers programming, with SMS
Internal GSM modem GM862-QUAD
SIM card reader Yes
SIM card type Phase 2 GSM11.14 - SIM 3V
Firmware Yes Inputs Number of inputs 5 Events Inputs 5 Outputs Number of outputs 4 - Relay outputs 1
(NO, NC, COM; 28VDC/230VAC/5A)
- MOSFET transistor outputs 3 *)
(50V max) Output signal duration, sec
(output 2 and 3)
01 - 99 sec (pulse mode) 00 (ON/OFF with dialing - latch mode)
Power Supply
Required Power supply External +12 VDC stabilized
Power requirement 50mA typ
350mA (rms) max,
2A peak max. during transmission (rms) Voltage regulator Internal voltage regulator Power protection Reverse-polarity protection
Environmental Conditions
Normal operational temperature range -10…+55°C Extreme operational temperature range
(these temperature can affect the sensitivity and performance of the module)
-20…+70°C
Board dimension 103 x 86.5 mm
Hardware
The BieneRemote160GM module consists of the microprocessor, voltage regulator, inputs driver, MOSFET output driver, relay, built-in GSM module, GSM antenna connector and screw terminals for external power supply and for input and output signal connection.
Power Supply
The BieneRemote160GM operates from a 12VDC power source. It draws less then 70mA standby, less then 350mA rms and 2A peak max. 12VDC/1.3A...2A switching stabilized power supply is recommended. Power supply input has reverse polarity and overvoltage protection.
SIM Card
Small SIM-card with 3V technology
Preparation of SIM card
1. Delete any SMS messages from SIM.
2. Disable PIN code request so it will not prompt for a PIN code on turning on. 3. Write 3 authorized numbers to Phone Book (position 1,2,3)
You can to position 1 write number 99 or +99 – for disable authorization numbers
Note:
• The BieneRemote160GM can only be used with small SIM-cards with 3V technology. • For SIM card preparation you can use cell phone or external GSM modem.
• SIM card change if power turn off.
LED indicators
• Module status indication - RED LED (LED1)
• GSM Modem SIM300 status indication - GREEN LED (LED2)
Module LED indication (Red LED)
LED status Modem status
Permanently off Device off
Short blinking after power on and after 1 min periodic blinking
SIM card read process Short blinking (period 5-6 sec) Module in work
Permanently on Module work with modem
GSM Modem LED indication (Green LED)
LED status Modem status
Permanently off Device off
Fast blinking (period 1s, ton 0,5s) Net search / Not registered / Turning off Slow blinking (period 3s, ton 0,3s) Registered full service
Connectors and Jumpers
Power supply (X2 - screw terminal block).
Controlled equipment inputs and outputs (X2, X3, X4 - screw terminal block)
SMA female connector (X5) for GSM antenna connection.
Power Supply Connection
+12VDC stabilized Power Supply must be connected with screw terminal block. We recommend use stabilized 1,3...2A 12VDC power supply.
Power supply input has negative voltage and over voltage protection.
Internal +12VDC connection and Power Supply connection schematic.
Antenna connection
GSM antenna must be connected to SMA connector X5. Use only the 50Om antenna of the necessary frequency range. Base version complected with direct mount GSM antenna.
Note: It is very important that the antenna is installed on a location where the GSM-network coverage is sufficient. Please also check carefully that antennas are not installed nearby technical devices, cables etc which could influence the GSM-radiation.
Inputs and Outputs connection
Digital inputs and outputs must be connected with screw terminal blocks X2-X4.
Note: See also "Inputs and Outputs schematic".
Connectors
For Power supply, Inputs and Outputs connection
used screw terminal blocks.
+12V - +12VDC Power Supply input / +12VDC output
GND - GND
INP1...INP6 - Digital Inputs 1-6
AN1...AN4 - Analog Inputs 1-4 (not support in this version) OUT1,OUT2,OUT4 - Output 1, Output 2, Output 4
NO/COM/NC - Relay Output 3
Gate Automatic Connection
For gate automatic control used relay output:
Output 2 - alternative output for gate control. Output 1 and Output 4 - for optional use.
Additional Interface
Standard 2x3 pin ISP interface connector X1. Used only for in-system microcontroller programming.
Pin Pin
1 MISO 2 VCC
3 SCK/ 4 MOSI
Jumpers
Jumper J2Connection pull-up resistor to digital inputs. 2k2 resistor for each inputs is used. All resistor pulled up to +5V (+12V optional).
Inputs / Outputs Schematic
Inputs
Digital Transistor Inputs
Connector: Screw terminal block Inversion: Yes
Protection: Yes
Max input voltage: +12V without external limited resistor. Free Input: logic "0"
Logic "0": 0V…+1V Logic "1": +1.5V…+12V
J2 jumper – for pull-up resistor connections to +12V (+5V optional)
0-10V / 0-5V Analog Inputs
Connector: Screw terminal block Input type: CMOS
Input Voltage: 0 to +10V Protection: Yes
Input resistance: 100 KOm. ADC resolution: 10-bit
Outputs
MOSFET Open Drain Outputs
Connector: Screw terminal block
MOSFET transistor: Si9945 or IRF7103 Max. Voltage: 50V
Relay Output
Connector: Screw terminal block Outputs: NO/COM/NC
Relay: SPDT power relay
Breaking capacity: 5 A 230VAC / 28VDC Min load: 0.1 A, 5VDC
Connection Example
Connection example to Input Driver (Input 1-5)
1-0 and 0-1 event notification
You can use J2 pin header for in-board pull-up resistor connection.
Relay connection example to Output Driver (Output 1, 2 and 5)
Electromechanical relay connection.
Module programming
For module programming:• SIM card preparation
• Programming with send control SMS (see paragraph 'SMS Control Command List')
SIM card preparation
• Delete any SMS messages from SIM.
• Write alarm SMS message to SIM (if you use alarm function)
• Disable PIN code request so it will not prompt for a PIN code on turning on.
• Write 2 authorized numbers to Phone Book (position 1,2)
• Write gate open user cell phone numbers to Phone Book (position from 3); you can added and deleted numbers with SMS command.
Note:
• The module can only be used with small SIM-cards with 3V technology.
• For SIM card preparation you can use cell phone or external GSM modem.
Set phone numbers from which management (module settings, add/delete SMS phone book) is authorized
Phone Book
1 A1 <Phone number1> 1)
2 A2 <Phone number2> 1)
1): full phone number with country code (see Note below) Example: enable 2 phone numbers for module management
Phone Book
1 A1 +3715881456
2 A2 +3716149759
Example: enable all phone numbers (disable authorization numbers; all cell phone enabled for gate open)
Phone Book
1 A1 99
2 A2 <Phone number2>
NOTE:
For difference mobile operators can be difference number format in CLIP. For example for Latvia
BITE and LMT +37122832798
TELE2 22832798 (without country code)
Also for difference country can be difference number format in CLIP for UK:
At position 001 and 002 you should write number with country code (+441234567890) At position 003 ... 250 you should write number without country code (01234567890)
Phone Book in SIM and EEPROM
Phone Book stored in SIM and in EEPROM BR160GM-GATE module. After restart module Phone Book from SIM card copy to EEPROM.
After SMS command ADDNUM number added to Phone Book in EEPROM and in SIM card. After SMS command DELNUM number deleted from Phone Book in EEPROM and from SIM.
You can write numbers to SIM Phone Book directly
Phone Book
001 A1 <Phone number 1>
002 A2 <Phone number 2>
003 A3 <Phone number 3>
004
249 A249 <Phone number 2490>
250 A250 <Phone number 250>
Number at location 001 and 002 - privileg.number: from this cell phone you can send SMS command for setting and control.
Number at location 001 and 250 - numbers, enabled for gate open process.
If at location 001 – empty or short number, for example 001 or 99, then all cell phone enabled for gate open process.
You can write numbers to SIM Phone Book. with SMS command ADDNUM or deleted number from SIM Phone Book with SMS command DELNUM
You can add new number to phone book – ADDNUM SMS command. - If phone book full, you receive answer SMS 'SIM Phone Book Full'
- If phone book not full, new number entered to first empty position in phone book you receive SMS 'NR 17 +37122842915 added' (you receive also position in phone book)
- If number exist in phone book, you receive SMS 'NR 42 +37122842915 exist' (number exist in phone book at position 042)
- If number not exist in phone book, you receive SMS 'NR 250 +37122842915 added' (number added at position 250)
You can delete new number from phone book – DELNUM SMS command.
- If number not exist in phone book, you receive answer SMS 'NR +37122842915 not exist'
- If number exist in phone book, you receive answer SMS 'NR 250 +37122842915 deleted'
You can read number from phone book – GETNUM SMS command.
New SMS command
Maxnn1 … Maxnn9
Maxnn1 – 30 numbers maximum; Maxnn2 – 60 numbers maximum (default setting)
Maxnn8 – 240 numbers maximum; Maxnn9 – 250 numbers maximum
Example: ADDNUM +37167265259 Phone Book 001 A1 <Phone number 1> 002 A2 <Phone number 2> 003 A3 <Phone number 3> 004 +37167265259 +37167265259 249 +37129106159 +37129106159
250 A250 <Phone number 250>
DELNUM +37129106159 Phone Book 001 A1 <Phone number 1> 002 A2 <Phone number 2> 003 A3 <Phone number 3> 004 +37122842915 +37122842915 249 249 249
250 A250 <Phone number 250>
Add number to SIM phone book
ADDNUM +37122842915 - add number +3716149759 to SIM phone book or
Addnum +37122842915 - add number +3716149759 to SIM phone book Answer SMS:
NR 12 +37122842915 added - if number added to SIM phone book at location 012
NR 12 +37122842915 exist - if number exist in SIM phone book at location 012 where: NR 12 - 012 - location in SIM phone book
NOTE:
For difference mobile operators can be difference number format in CLIP. For example for Latvia
BITE and LMT +37122832798
TELE2 22832798 (without country code)
Also for difference country can be difference number format in CLIP for UK:
At position 001 and 002 you should write number with country code (+441234567890) At position 003 ... 250 you should write number without country code (01234567890)
Delete number from SIM phone book
DELNUM +37122842915 - delete number +3716149759 from SIM phone book or
Delnum +37122842915 - delete number +3716149759 from SIM phone book Answer SMS:
NR 11 +37122842915 deleted - if number deleted from SIM phone book (from position 011)
NR +37122842915 not exist - if number not exist in SIM phone book where: NR 11 - 011 - location in SIM phone book
Read number from phone book
GETNUM 051 - read number from SIM phone book with location 051 Answer SMS:
NR 051: +37122842915
Note:
- If in your cell phone in phone book phone number exist with name, for example, BIENE, your cell phone display following answer SMS:
NR 11 BIENE deleted NR 001: BIENE NR 12 BIENE added
Set output impulse duration (accuracy +/- 20%) SETDD 12 - set duration = 12 sec
SETDD 90 - set duration = 90 sec
SETDD 00 - disable output impulse - latch mode
SETDD 02 - set pulse duration = 2 sec
Remote control
You can with dialing (without connection) open your gate. Output 3 and Output 2 – for gate control.
We can turn on and turn off module outputs with SMS command: SETOU and RSTOU.
SETOU1 - set output 1 to '0' - active state.
RSTOU1 - reset output 1 to '1' - passive state. Answer SMS:
INP=3F OUT=00 Pulse (sec) 5
where:
INP=3F - input state in HEX (inverse to inputs on terminal block) OUT=00 - output state (output 4..1) in HEX
Pulse (sec) - output impulse duration (in sec)
If Pulse = 00 (see SMS command Setdd), then latch mode. First dial - turn on, second dial - turn off
SMS Control Command List
Control Command List
Command1) Function Return Message Description
Read Status
Getst Get Status INP=3F OUT=00 Pulse (sec) 5 Input and output state, pulse duration (output 3) Outputs control
Setou1 Set Output 1 - Set Output 1
Setou2 Set Output 2 - Set Output 2
Setou3 Set Output 3 - Set Output 3 - relay ON
Rstou1 Reset Output 1 - Reset Output 1
Rstou2 Reset Output 2 - Reset Output 2
Rstou3 Reset Output 3 - Reset Output 3 - relay OFF
Settings
Setdd NN Set output impulse duration INP=3F OUT=00 Pulse (sec) 5 Set output impulse duration, NN = 00..99 sec.; default 02 if NN=00, then latch mode Phone Book Settings
Addnum Add new number
NR 12 +37122842915 added or
NR 12 +37122842915 exist ADDNUM +37122842915 Delnum Delete number NR 12 +37122842915 deletedor
NR +37122842915 not exist DELNUM +37122842915
Getnum Read number NR 167: +37122842915 GETNUM 001 001 - location in SIM phone book
Rstart Restart Restart (module work after 2 min)
MaxnnN
Set Max numbers note:
This SMS command support only new version software
INP=3F OUT=00 Pulse (sec) 5 MaxNN=60 N from 1 to 9 N=1 – 30 numbers N=2 – 60 numbers (default) ... N=8 – 240 Numbers N=9 – 250 numbers Note:
1): Not case sensitive. You can use GETNUM, Getnum,
SMS command module executed after 60 sec maximum.
SMS Reporting Message (Alarm SMS in SIM)
SMS MessageNumber in SIM SMS Message Cell Phone Number Input NR
1 Event 1 <Phone number> 1
2 Event 2 <Phone number> 2
3 Event 3 <Phone number> 3
4 Event 4 <Phone number> 4
5 Event 5 <Phone number> 5
Example SMS Message
Number Text of Messages Cell Phone Number Input Nr Connected to
1 Door open <Phone number> 1 Door sensor
2 Smoke detection <Phone number> 2 Smoke detectors
3 <Phone number> 3
4 <Phone number> 4
Not connected input state
Input state Status dataINP= with connected pull-up resistor Input state (J2) Input 1 0 0 1 Input 2 0 0 1 Input 3 0 0 1 Input 4 0 0 1 Input 5 0 0 1 Input 6 0 0 1
Active event on input
Input state Input 1 1-0 Input 2 1-0 Input 3 1-0 Input 4 1-0 Input 5 1-0
Output state
Output state Output state Status data
OUT=
Output 1 Open Drain 1 1
Output 2 Open Drain 1 1
Output 3 Relay NO 1 1
Output 4 Open Drain 1 1
Phone numbers from which management is authorized (optional)
Delete all entry in active phone book and write 3 phone numbers of mobile phone.
Phone Book
1 A1 <Phone number1>
2 A2 <Phone number2>
3 A3 <Phone number3>
Note 1: full phone number with country code
Example - enable 2 phone numbers for module management (A1 and A2); for gate open enable only number in SIM phone book (max. 250 numbers)
Phone Book
1 A1 37122842913
2 A2 37122842914
3 A3 37122842915
Example - enable all numbers (disable authorization numbers); all number enabled for gate open.
Phone Book
1 A1 99
Support
Biene Electronics SIA Riga, Latvia
www.bieneelectronics.com E-mail:
[email protected] Please send your comments, suggestions and bug reports to [email protected]