Power Supply SIM Card - Montaza.lvmontaza.lv/content/files/Instrukcijas/BR160 manual.pdf · supply...

15
Power Supply The GSM commutator is 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 GSM Remote 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 Permanently on A call is active

Transcript of Power Supply SIM Card - Montaza.lvmontaza.lv/content/files/Instrukcijas/BR160 manual.pdf · supply...

Page 1: Power Supply SIM Card - Montaza.lvmontaza.lv/content/files/Instrukcijas/BR160 manual.pdf · supply is recommended. Power supply input has reverse polarity and overvoltage protection.

Power Supply

The GSM commutator is 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 GSM Remote 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

Permanently on A call is active

Page 2: Power Supply SIM Card - Montaza.lvmontaza.lv/content/files/Instrukcijas/BR160 manual.pdf · supply is recommended. Power supply input has reverse polarity and overvoltage protection.

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.

Page 3: Power Supply SIM Card - Montaza.lvmontaza.lv/content/files/Instrukcijas/BR160 manual.pdf · supply is recommended. Power supply input has reverse polarity and overvoltage protection.

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

5 Reset/ 6 GND

Page 4: Power Supply SIM Card - Montaza.lvmontaza.lv/content/files/Instrukcijas/BR160 manual.pdf · supply is recommended. Power supply input has reverse polarity and overvoltage protection.

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.

Page 5: Power Supply SIM Card - Montaza.lvmontaza.lv/content/files/Instrukcijas/BR160 manual.pdf · supply is recommended. Power supply input has reverse polarity and overvoltage protection.

Inputs / Outputs Schematic

Inputs

Digital Transistor Inputs

Connector: Screw terminal blockInversion: YesProtection: YesMax input voltage: +12V without external limited resistor.Free Input: logic "0"Logic "0": 0V…+1VLogic "1": +1.5V…+12VJ2 jumper – for pull-up resistor connections to +12V (+5V optional)

0-10V / 0-5V Analog Inputs

Connector: Screw terminal blockInput type: CMOS Input Voltage: 0 to +10VProtection: YesInput resistance: 100 KOm. ADC resolution: 10-bit249 Om resistor – optional for 0-20/4-20mA applications

Page 6: Power Supply SIM Card - Montaza.lvmontaza.lv/content/files/Instrukcijas/BR160 manual.pdf · supply is recommended. Power supply input has reverse polarity and overvoltage protection.

Outputs

MOSFET Open Drain Outputs

Connector: Screw terminal blockMOSFET transistor: Si9945 or IRF7103Max. Voltage: 50V

Relay Output

Connector: Screw terminal blockOutputs: NO/COM/NCRelay: SPDT power relayBreaking capacity: 5 A 230VAC / 28VDCMin load: 0.1 A, 5VDC

Page 7: Power Supply SIM Card - Montaza.lvmontaza.lv/content/files/Instrukcijas/BR160 manual.pdf · supply is recommended. Power supply input has reverse polarity and overvoltage protection.

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.

Solid-state-relay (SSR) connection.

Page 8: Power Supply SIM Card - Montaza.lvmontaza.lv/content/files/Instrukcijas/BR160 manual.pdf · supply is recommended. Power supply input has reverse polarity and overvoltage protection.

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 managementPhone Book

1 A1 +37129999383

2 A2 +37129999771

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 LatviaBITE and LMT +3718377937TELE2 28377937 (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)

Page 9: Power Supply SIM Card - Montaza.lvmontaza.lv/content/files/Instrukcijas/BR160 manual.pdf · supply is recommended. Power supply input has reverse polarity and overvoltage protection.

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 +37129999383 added' (you receive also position in phone book)- If number exist in phone book, you receive SMS 'NR 42 +37129999383 exist'

(number exist in phone book at position 042)- If number not exist in phone book, you receive SMS 'NR 250 +37129999383 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 +37129999383 not exist'- If number exist in phone book, you receive answer SMS 'NR 250 +37129999383 deleted'

You can read number from phone book – GETNUM SMS command.

New SMS command Maxnn1 … Maxnn9Maxnn1 – 30 numbers maximum; Maxnn2 – 60 numbers maximum (default setting)Maxnn8 – 240 numbers maximum; Maxnn9 – 250 numbers maximum

Page 10: Power Supply SIM Card - Montaza.lvmontaza.lv/content/files/Instrukcijas/BR160 manual.pdf · supply is recommended. Power supply input has reverse polarity and overvoltage protection.

Example:

ADDNUM +37129999383

Phone Book

001 A1 <Phone number 1>

002 A2 <Phone number 2>

003 A3 <Phone number 3>

004 +37129999383 +37129999383

249 +37129999771 +37129999771250 A250 <Phone number 250>

DELNUM +37129999771

Phone Book

001 A1 <Phone number 1>

002 A2 <Phone number 2>

003 A3 <Phone number 3>

004 +37129999383 +37129999383

249 249 249250 A250 <Phone number 250>

Add number to SIM phone book

ADDNUM +3712345555 - add number +3712345555 to SIM phone book orAddnum +3712345555 - add number +3712345555 to SIM phone book

Answer SMS:NR 12 +3712345555 added - if number added to SIM phone book at location 012NR 12 +3712345555 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 LatviaBITE and LMT +37129999383TELE2 29999383 (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)

Page 11: Power Supply SIM Card - Montaza.lvmontaza.lv/content/files/Instrukcijas/BR160 manual.pdf · supply is recommended. Power supply input has reverse polarity and overvoltage protection.

Delete number from SIM phone book

DELNUM +37129999771 - delete number +37129999771 from SIM phone book orDelnum +37129999771 - delete number +37129999771 from SIM phone book

Answer SMS:NR 11 +37129999771 deleted - if number deleted from SIM phone book (from position 011)NR +37129999771 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: +37129999383

Note:- If in your cell phone in phone book phone number exist with name, for example, SMN your cell phone display following answer SMS: NR 11 SMN deletedNR 001: SMNNR 12 SMN added

Set output impulse duration (accuracy +/- 20%)

SETDD 12 - set duration = 12 secSETDD 90 - set duration = 90 secSETDD 00 - disable output impulse - latch mode

SETDD 02 - set pulse duration = 2 secSETDD 00 - disable pulse – latch mode

Page 12: Power Supply SIM Card - Montaza.lvmontaza.lv/content/files/Instrukcijas/BR160 manual.pdf · supply is recommended. Power supply input has reverse polarity and overvoltage protection.

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 HEXPulse (sec) - output impulse duration (in sec)

If Pulse = 00 (see SMS command Setdd), then latch mode. First dial - turn on, second dial - turn off

Page 13: Power Supply SIM Card - Montaza.lvmontaza.lv/content/files/Instrukcijas/BR160 manual.pdf · supply is recommended. Power supply input has reverse polarity and overvoltage protection.

SMS Control Command List

Control Command List

Command

1)Function Return Message Description

Read Status

Getst Get Status INP=3F OUT=00 Pulse (sec) 5Input 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 NNSet output impulse duration

INP=3F OUT=00 Pulse (sec) 5Set output impulse duration, NN = 00..99 sec.; default 02if NN=00, then latch mode

Phone Book Settings

Addnum Add new numberNR 12 +37129999383 addedorNR 12 +37129999383 exist

ADDNUM +37129999383

Delnum Delete numberNR 12 +37129999383 deletedorNR +37129999383 not exist

DELNUM +37129999383

Getnum Read number NR 167: +37129999383GETNUM 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 9N=1 – 30 numbersN=2 – 60 numbers (default)...N=8 – 240 NumbersN=9 – 250 numbers

Note:1): Not case sensitive. You can use GETNUM, Getnum,

SMS command module executed after 60 sec maximum. If you change first number in SIM phone book, required restart module for new installation.

Page 14: Power Supply SIM Card - Montaza.lvmontaza.lv/content/files/Instrukcijas/BR160 manual.pdf · supply is recommended. Power supply input has reverse polarity and overvoltage protection.

SMS Reporting Message (Alarm SMS in SIM)

SMS Message Number 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 MessagesCell Phone

NumberInput 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 data

INP=Input state

with connected pull-up resistor (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

Page 15: Power Supply SIM Card - Montaza.lvmontaza.lv/content/files/Instrukcijas/BR160 manual.pdf · supply is recommended. Power supply input has reverse polarity and overvoltage protection.

Output state

Output state Output state Status dataOUT=

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 37122222213

2 A2 37122222214

3 A3 37122222215

Example - enable all numbers (disable authorization numbers); all number enabled for gate open.

Phone Book

1 A1 99

2 A2 <Phone number2>