Vous êtes sur la page 1sur 20

GSM Controller BR160SM-GATE-A

BR161SM-GATE-A
-v11

Gate opener version for Gate control.

GSM module for SMS remote monitoring and control applications

Alarm Notification
Remote Control

www.bieneelectronics .com
Features
Internal 2-band (BR160SM) / 4-band (BR161SM) GSM-modem SIM900R / SIM900
6 digital input
3 Open-Drain MOSFET output
1 Power Relay output
Alarm notification using SMS messaging via cell phone
Control via SMS
Configuration from cell phone

Input Signal Monitoring


The BR160SM-Gate-A and BR161SM-Gate-A has 6 voltage-free digital inputs. Each input can
with jumper connect to pull-up resistor (to +5V or +12V optional). Text for Alarm SMS can
change with SMS command. Alarm SMS BR160SM-Gate-A can send up to 4 cell phone
numbers.

Output Control
BR160SM-Gate-A and BR161SM-Gate-A 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.
For Gate control call to module from phone. Relay output output for Gate automation device
control. Abonent numbers can write to module and SIM card can with SMS command.

Users and Administrator


Phone numbers for administration users and for gate open are contained in the SIM card phone
book. BR160SM-Gate-A and BR161SM-Gate-A supports 2 administrator, who can add-delete
abonent numbers.

Alarm SMS
SMS messages can be sent to users when an input reaches an alarm state.
Alarm when 0-1 or 1-0 event at digital input (see jumpers setting). Text for Alarm SMS can
change with SMS command. Alarm SMS BR160SM-Gate-A can send up to 4 cell phone
numbers.

Phone numbers for Gate open


Phone numbers for Gate open contains in SIM card (also in EEPROM after power ON)
You can write numbers to SIM direct with use special device or GSM modem and with use SMS
command

Module Programming/Configuration
BR160SM-Gate and BR161SM-Gate can be configured (programming) remotely with SMS
command.
Technical Specification

BieneRemote160SM Hardware Specification

BR160SM-S BR160SM-4A/-2A BR160SM-SMT BR160SM-GATE-A


GSM band support GSM850/900/1800/1900
Internal GSM modem Simcom SIM900
RF Transmit Power Class 4 (2W) 900Mhz, Class 1 (1W) 1800Mhz, 1900Mhz
Command and data SMS
transmission
SIM card reader Yes
SIM card type Phase 1 and phase 2+; SIM 3V / 1.8V
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
- 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 +130C -
Events Temperature range - - -45 to +99 C -
Accuracy - - 1.2 - 1.7C -
Protection - - Yes -
Analog inputs
Number of analog inputs - 4/2 - -
- Maximum voltage 10VDC 10VDC 10VDC 10VDC
- Analog input event - min / norm / max - -
- ADC resolution - 10-bit - -
Outputs
Number of outputs 4
- MOSFET Open Drain 3 (50V max)
outputs
- 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, 1,7A minimum
Power requirement 60mA typ, 300mA(rms) max, 2A typ. (3A max) peak during transmission
Voltage regulator Internal voltage regulator
Power protection Reverse-polarity and overvoltage protection

Environmental Conditions
Normal operating -20+55C
temperature.range
Restricted operating -25+70C
temperature range (SIM900 can work, but the deviation from the GSM specification may occur)
Storage temperature range -40 to +80C
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

BieneRemote160SM Firmware Specification


BR160SM-S BR160SM-4A/-2A BR160SM-SMT BR160SM-GATE-A

Number of controlled outputs 4

Number of digital event inputs 6 6 4 6


Number of readable digital 6 6 4 6
inputs

Number of analog event inputs - 4/2 - -


Number of readable analog - 4/2 - -
data

Authorization cell phone 3 2/3 3 2


numbers
Events cell phone numbers 3 4/3 3 4

SMS events format Text message


SMS digital data format Binary Binary Binary HEX
SMS message format for In % from
analog data Reference level
00 - 99
SMS message format for C
temperature data min level,
max level
-45 C - +99 C
BR160SM-Gate-A and BR161SM-Gate-A -Gate-A

Communication via GSM


900/1800Mhz BR160SM
850/900/1800/1900Mhz BR161SM

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 Simcom SIM900R / SIM900
SIM card reader Yes
SIM card type Phase 1 and phase 2+ SIM 3V, 1.8V
Firmware Yes
Inputs
Number of inputs 6
Events Inputs 6
Outputs
Number of outputs 4
- Relay outputs 1
(NO, NC, COM; 28VDC/230VAC/5A)
- MOSFET transistor outputs 3
(50V max)
Output signal duration, sec 01 - 99 sec (pulse mode)
(output 2 and 3) 00 (ON/OFF with dialing - latch mode)
Power Supply
Required Power supply External +12 VDC stabilized, 1.7A minimum
Power requirement 60mA typ
300mA (rms) max,
2A peak typ (3A peak max) during transmission (rms)

Voltage regulator Internal voltage regulator


Power protection Reverse-polarity protection
Environmental Conditions
Normal operational temperature range -20+55C
Extreme operational temperature range -25+70C
(these temperature can affect the sensitivity
and performance of the module)

Board dimension 103 x 86.5 mm


Hardware

BR160SM-Gate-A and BR161SM-Gate-A module consists of the microprocessor, voltage


regulator, inputs driver, MOSFET output driver, relay, built-in GSM module, SIM-card holder,
GSM antenna connector and screw terminals for external power supply and for input and output
signal connection.
Power Supply
BR160SM-Gate-A and BR161SM-Gate-A operates from a 12VDC power source. It draws less
then 70mA standby, less then 350mA rms and 2A peak typ. (3A peak max.). 12VDC/1.7A...2.5A
switching stabilized power supply is recommended. Power supply input has reverse polarity and
overvoltage protection.

SIM Card
Small SIM-card with 3V / 1.8V technology

Preparation of SIM card

1. Disable PIN code request so it will not prompt for a PIN code on turning on.

Note:
The BR160SM and BR161SM can only be used with small SIM-cards with 3V/1.8V
technology.
For SIM card preparation (add SMS message and phone numbers) 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 SIM900 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 SIM card read process
periodic blinking
Short blinking Module in work
Permanently on Module work with modem

GSM Module SIM900 LED indication (Green LED)

LED status Modem status


Off SIM900 is not running
64ms On / 800ms Off SIM900 does not find the network
64ms On / 3000ms Off SIM900 find the network
64ms On / 300ms Off GPRS communication
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.
SIM holder (X1)

Power Supply Connection

+12VDC stabilized Power Supply must be connected


with screw terminal block.
We recommend use stabilized 2...2.5A 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
+5V - +5V output (50mA max)
Gate Automatic Connection

For gate automatic control used relay output:

Jumpers

Jumper J2

Connection pull-up resistor to digital inputs. 2k2


resistor for each inputs is used. All resistor pulled up
to +5V (+12V optional).

Note: Use this jumper only for Open Collector or


Relay Output.
INPUTS Text SMS
1 Input 1 1-0 0-1
2 Input 2 1-0 0-1
3 Input 3 1-0 0-1
4 Input 4 1-0 0-1
5 Input 5 1-0 0-1
6 Input 6 0-1 1-0

INPUTS Text SMS


1 Input 1 1-0 0-1
2 Input 2 1-0 0-1
3 Input 3 1-0 0-1
4 Input 4 1-0 0-1
5,6 Input 5 1-0 0-1
5,6 Input 6 0-1 1-0

Jumper for set both password as default 2345 and 6789


Inputs / Outputs Schematic

Inputs

Digital Transistor Inputs

Connector: Screw terminal block


Inversion: Yes
Driver: ULN2003
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 +12VDC

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-6)

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 4)

Electromechanical relay connection.

Solid-state-relay (SSR) connection.


Module programming

For module programming:

SIM card preparation


Programming with send control SMS (see paragraph 'SMS Control Command List')

SIM card preparation

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). It can make with SMS command
First two numbers should consist + and country code
Write gate open user cell phone numbers to Phone Book (position from 3);
you can added and deleted numbers with SMS command.
Note:
1) for some operators and countries required + and country code before cell phone
numbers;
2) for other operators and countries without + and country code;
write in the form in which you can see on your phone number when to you call other
abonent. (see Note page 11)
Repeat the first two numbers (positions 1 and 2) at position from 3

Note:
The module can only be used with small SIM-cards with 3V/1.8V 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)

Note 1: full phone number with country code

Example: enable 2 phone numbers for module management


Phone Book
1 A1 +37122842915
2 A2 +37122842914

Example: enable all phone numbers (disable authorization numbers; all cell phone enabled for
gate open)
Phone Book
1 A1 99
2 A2 <Phone number2>
Phone Book in SIM and EEPROM

Phone Book stored in SIM BR160SM-GATE-A and BR161SM-GATE-A module.


After restart module Phone Book from SIM card copy to EEPROM.
After SMS command 2345A number added to Phone Book in SIM card.
After SMS command 2345D number deleted from Phone Book 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 249>


250 A250 <Phone number 250>

Number at location 001 and 002 - privileged .number: from this cell phone you can send
SMS command for setting and control. For example +37122842915
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 2345A or deleted number from
SIM Phone Book with SMS command 2345D

You can add new number to phone book 2345A SMS command.
- for example 2345A,+37122842915
- 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 2345D SMS command.
- for example 2345D,+37122842915
- 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'
Example:

2345A,+37122842915

Phone Book
001 A1 <Phone number 1>
002 A2 <Phone number 2>
003 A3 <Phone number 3>
004 +37122842915 +37122842915

249 +37122842914 +37122842914


250 A250 <Phone number 250>

2345D,+37122842914

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

2345A,+37122842915 - add number +37122842915 to SIM phone book


or
2345a,+37122842915 - add number +37122842915 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

Delete number from SIM phone book

2345D,+37122842915 - delete number +37122842915 from SIM phone book


or
2345d,+37122842915 - delete number +37122842915 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


NOTE:
For difference mobile operators can be difference number format in CLIP.
For example for Latvia
BITE and LMT +37122842915
TELE2 22842915 (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)

Remote control

You can with dialing (without connection) open your gate.


Output 3 for gate control. Pulse duration can set with SMS command 2345T

We can turn on and turn off module outputs with SMS command: 2345S and 2345R.

2345S3 - set output 3 to active state.


2345R3 - reset output 3 to passive state.

Answer SMS example:


I1=0 I2=0 I3=0 I4=0 I5=0 I6=0
O1 OFF, O2 OFF, O3 ON, O4 OFF
Pulse(sec):2 MaxNN=30
B= 11.9V
SMS Control Command List

SMS command Answer SMS Function


2345A,+37122842913 NR001: +37122842913 added Add number (add subscriber)
NR203: +37122842913 exist
2345D,+37122842914 NR033: +37122842914 deleted Delete number (delete subscriber)
NR +37122842914 not exist
2345M2 I1=0 I2=0 I3=0 I4=0 I5=0 I6=0 Set maximum numbers
O1 OFF, O2 OFF, O3 OFF, O4 OFF MaxNN = N* 30
Pulse(sec):2 MaxNN=60 1: 30, 2: 60 8: 240, 9: 250
B= 11.9V default 30
2345N1,+37122842914 1: +37122842914 Set number at position 1 4 for alarm SMS
... Note: after add new number for alarm SMS please
2345N4,+37122842914 4: +37122842914 check with event number
to make sure that the number is recorded properly
2345N1 1: Clear number at position 1 4 for alarm SMS
...
2345N4 4:
2345C1 2345C4 OK Clear number at position 1 4 for alarm SMS
(with password 1)
2345U1 2345U4 OK Set number directly at position 1 4 for alarm
SMS (with password 1)

2345P2010 Psw1: 2010 Change password 1; new password 2010

6789Q1234 Psw2: 1234 Change password 2; new password 1234


with password 2

6789S1 6789S4 I1=0 I2=0 I3=0 I4=0 I5=0 I6=0 Set output
O1 OFF, O2 OFF, O3 OFF, O4 OFF
Pulse(sec):2 MaxNN=250 with password 2
B= 11.9V
6789R1 6789R4 I1=0 I2=0 I3=0 I4=0 I5=0 I6=0 Reset output
O1 OFF, O2 OFF, O3 OFF, O4 OFF
Pulse(sec):2 MaxNN=250 with password 2
B= 11.9V

2345T1 2345T9 I1=0 I2=0 I3=0 I4=0 I5=0 I6=0 Set pulse length; 0- latch mode
2345T0 O1 OFF, O2 OFF, O3 OFF, O4 OFF 1 - 1 sec 9 9 sec
Pulse(sec):2 MaxNN=30 default 2 sec
B= 11.9V
2345B10 I1=0 I2=0 I3=0 I4=0 I5=0 I6=0 00 - Enable Gate Open Pulse (default)
2345B00 O1 OFF, O2 OFF, O3 OFF, O4 OFF 10 Disable (Blocking) Gate Open Pulse
2345B01 Pulse(sec):2 MaxNN=30 01 All numbers enable for Gate Open
B= 11.9V

2345X1,Input 1 1:Input 1 Set text message for inputs 1...6


... text up to 18 characters
2345X6,Input 6
2345I I1=0 I2=0 I3=0 I4=0 I5=0 I6=0 Get Status
O1 OFF, O2 OFF, O3 OFF, O4 OFF with Passw.1
Pulse(sec):2 MaxNN=30
B= 11.9V

2345L,0100 BAT.voltage Min:100 Max:150 Set MIN level in V for BATTERY voltage
(with password 1)
0100 = 10.0V
if use analog input A4 (Jumper J0 not set)
maximum voltage on AN4 10V
2345L BAT.voltage Min:100 Max:150 Get BATTERY Voltage setpoint levels

2345G,001 1:+37122832798 Get number from SIM phone book , position 001 ..
250
(with password 1)
2345Z OK Restart (with password 1)

SMS command
with password 1 for all SMS command, except 'S', 'R', 'Q',
with password 2 for SMS command 'S', 'R', 'Q',

If you change first number in SIM phone book, required restart module for new installation.

Vous aimerez peut-être aussi