background image

 

                                         

smartDEN Opener

 User Manual 

24 Apr 2018 

 

- 22 - 

 

 

6.6.  Connecting one wire temperature sensor 

 

 

Figure 6.11.

 Connecting one wire temperature sensor 

 

The temperature input is designed especially for the one wire temperature sensors of company 

DALLAS.  The  "Data"  line  is  pulled  up  with  internal  resistor  (usually  with  value  of  2.0K).  The 
sensors  are  supplied  with  +3.3V  output  power  supply  from  the 

smartDEN  Opener

.  Maximum 

cable length is about 20 meters. Supported models are: 

  DS1820; 

  DS18S20; 

  SD18B20; 

Содержание smartDEN Opener

Страница 1: ...smartDEN Opener User Manual 24 Apr 2018 1 smartDEN Opener Multifunctional Opener Module for garage doors barriers blinds awnings roofs User Manual Date 24 Apr 2018 For firmware version v1 00 Apr 2018...

Страница 2: ...tallation 16 7 Default settings 41 8 Wi Fi Interface 43 9 Main Controlled Device 44 10 Web access 46 11 HTTP server 97 12 MQTT protocol 103 13 Security considerations 108 14 Mechanical drawing 109 15...

Страница 3: ...For system integrators we provide two communication protocols MQTT and HTTP XML JSON for embedding in third parity systems such as home automation servers for example and lot of software examples Mot...

Страница 4: ...tenna 3 dBm for better range Supported Wi Fi modes Access Point AP Station STA Supported Wi Fi encryption modes o WEP o WPAPSK TKIP o WPAPSK AES o WPA2PSK TKIP o WPA2PSK AES Protocols HTTP DHCP DNS NT...

Страница 5: ...ions selectable during purchase DC power supply DC12V DC power supply DC24V Physical and Environment Working temperature range 25 C 70 C Working humidity range 40 85 Two types of housing selectable du...

Страница 6: ...n Easy set up of the opening closing time from web browser RF remote Open close from web browser computer software or mobile smart phone for example using mobile app DAE aModules Embedding IP camera i...

Страница 7: ...he door automatically when the car is approaching it using GPS Embedding IP camera in the web server allows integrates solution for monitoring control the door An RFID reader with SPST output can be c...

Страница 8: ...rom web browser computer software or mobile smart phone for example using mobile app DAE aModules A light sensor can be used to open close the awning The internal weekly standalone schedule with RTC c...

Страница 9: ...nual open close RF remote can open close the door up to 20 unique RF remotes can work with single smartDEN Opener module A sensor can close the window if rain is detected smartDEN Opener internal log...

Страница 10: ...DAE aModules web browser computer wall switch RF remote Easy set up of the up down time from web browser RF remote Set up down from web browser computer software or mobile smart phone for example usin...

Страница 11: ...A 4 Supported motor types Reversible AC asynchronous induction motors equipped with limit switches Reversible DC motors equipped with limit switches Programmable opening closing time Yes Over current...

Страница 12: ...s parameters 10A 250VAC 15A 120VAC 10A 28VDC Electrical life expectancy operations 100 000 Mechanical life expectancy operations 10 000 000 Table 3 8 Temperature Inputs Parameter Value NTC inputs numb...

Страница 13: ...smartDEN Opener User Manual 24 Apr 2018 13 4 Internal block diagram Figure 4 1 Internal block diagram of smartDEN Opener...

Страница 14: ...smartDEN Opener User Manual 24 Apr 2018 14 5 Connectors ports and led indicators Bellow is shown a picture with the device connectors ports and led indicators Figure 5 1 DIN rail version overview...

Страница 15: ...smartDEN Opener User Manual 24 Apr 2018 15 Figure 5 2 Distribution box version overview...

Страница 16: ...ng power o Connecting to an IP network and configuring via a web browser 6 1 Box mounting 6 1 1 DIN rail box Figure 6 1 Mounting the device to DIN rail smartDEN Opener can be mounted to a standard 35m...

Страница 17: ...the AC voltage is supplied between COM and Close terminals For stop position no voltage is supplied to the motor Please note that LSW1 and LSW2 are limit switched recommend to be installed for the end...

Страница 18: ...r stop position no voltage is supplied to the motor Please note that LSW1 and LSW2 are limit switched recommend to be installed for the end positions up down of the main controlled device door barrier...

Страница 19: ...ly by using the smartDEN Opener two relays contact outputs to switch the external supply to the external load Figure 6 5 and Figure 6 6 show basic output connections 6 3 1 Controlling AC load Figure 6...

Страница 20: ...the digital inputs using the 12VDC 24VDC power output of the smartDEN Opener In this case GND and DIN are shorted and contacts are connected between VDD and the appropriate digital input DIN 6 4 2 Usi...

Страница 21: ...with analog output preferable linear should be compatible with the analog input with range 0 5V For convince it is provided and additional power out 5VDC for such sensors as usually they are supplied...

Страница 22: ...e temperature input is designed especially for the one wire temperature sensors of company DALLAS The Data line is pulled up with internal resistor usually with value of 2 0K The sensors are supplied...

Страница 23: ...smartDEN Opener User Manual 24 Apr 2018 23 6 7 Power supply 6 7 1 Power supply with DC12V Figure 6 12 12VDC Power Supply 6 7 1 Power supply with DC24V Figure 6 13 24VDC Power Supply...

Страница 24: ...power supply using terminal wires Figure 6 15 smartDEN Opener power supply using 2 5mm DC Jack smartDEN Opener must be with voltage either 12VDC or 24VDC stabilized and filtered The polarity of the ja...

Страница 25: ...ener smartDEN Opener does not accept AC supply voltage It is highly recommended to check the power supply source parameters before supply the module The power supply equipment shall be resistant to sh...

Страница 26: ...433MHz RF remotes However user may prefer to delete or add another remotes 6 8 1 Delete all the saved RF remotes 1 Open the smartDEN Opener box and find IC4 RF receiver module There are PROG button an...

Страница 27: ...n and status led mounted on it 2 Press the PROG button for a second the RF module status led blink at this moment 3 Release the PROG button 4 Press some button from the RF remote within 20 seconds aft...

Страница 28: ...it mobile and easy to connect The built in web server makes the configuration easy to set up smartDEN Opener can act in two network modes Access Point and Station Figure 6 18 Connecting to smartDEN Op...

Страница 29: ...168 4 1 Web username admin Web password admin Initially it is recommended to connect a computer to the module s Wi Fi network The Wi Fi network should look like this Figure 6 20 smartDEN Opener Wi Fi...

Страница 30: ...Network Connection with right click and select Properties Figure 6 21 Wireless card properties The next step is to enter into IPv4 properties Figure 6 22 Enter in IPv4 properties section Set the IP ad...

Страница 31: ...eb browser address bar 192 168 4 1 Figure 6 24 Open the device via browser If the network settings are O K the log in page should appear Figure 6 25 Login page smartDEN Opener modules connected locall...

Страница 32: ...n both Access Point and Station operating mode The example below is given in Access Point mode Be sure that Admin Enable option is checked from smartDEN Opener s web server General Settings page see 1...

Страница 33: ...tion Timeout the default by DAE aModules is 3000ms o Connection Retries the default by DAE aModules 3 4 Click Test Connection button if successful connection is obtained smartDEN Opener XML found mess...

Страница 34: ...relay will be toggled 8 When click in upper left corner button another available tabs will be visualized Figure 6 29 o Device List will go to home page and show all devices o Relays will go to Relays...

Страница 35: ...DAE aModules application and click Add New Device button 2 Add smartDEN Opener Cloud board In this example default settings are used Figure 6 32 o MQTT Server in this example is used the default iot...

Страница 36: ...y when has Internet access This could be done by connecting the module to a router By default smartDEN Opener is shipped with default settings which starts the board in Access Point mode AP The user m...

Страница 37: ...e the appropriate addresses 6 Click Save button 7 Changes take effect after restart so click Reboot button Figure 6 33 Connecting smartDEN Opener to Wi Fi network After restart smartDEN Opener should...

Страница 38: ...ge Garage Door Main Controlled Device the second page after Home page from menu see 10 4 Main Controlled Device s page 3 Click button CLOSE and wait until the Main Controlled Device is CLOSED 4 Click...

Страница 39: ...t protection for Main Controlled Device s motor It measures the current through Main Controlled Device s motor and if the measured current consumed by the motor is more than certain level the Main Con...

Страница 40: ...e of protection is not suitable for all types of applications Please use it with care Set up the parameters only as per the Main Controlled Device manufacturer 6 14 2 Setting the secondary protection...

Страница 41: ...Mode AP SSID SmartDEN_Opener_XXXXXX Password Disabled Open Network Channel AUTO DHCP Enabled IP Address 192 168 4 1 Subnet Mask 255 255 255 0 Output Power 20 5 dBm HTTP XML Access HTTP Port 80 Access...

Страница 42: ...back as those in chapter 7 1 from the current document Figure 7 1 Loading the default settings button 1 Turn off the power supply of the device 2 Press and hold the default button 3 Turn on the power...

Страница 43: ...s is the typical and recommended operating network mode of smartDEN Opener Using the module as a Station network device with Internet access will allow all of the features to operate such as MQTT acce...

Страница 44: ...CLOSE command is received from RF remote web server etc Then voltage is provided between COM and CLOSE terminals on motor output terminal Open Close Time starts decrementing until time elapse When ti...

Страница 45: ...trolled Device was interrupted during OPENING or CLOSING or STOP command was received during any state Then no voltage is provided on motor output terminal If during STOPPED state OPEN command is rece...

Страница 46: ...ess Figure 10 1 Web Access To access the setup pages run a web browser Google Chrome Mozilla Firefox or similar and enter the smartDEN Opener IP address for example http 192 168 4 1 Figure 10 2 Open v...

Страница 47: ...usernames and passwords are case sensitive Note When the username and password are entered they are transmitted across the network in encrypted form so eavesdropping on the data transmission will not...

Страница 48: ...for HTTP MQTT access web server access device settings IP camera settings o Network settings for the network IP addresses MAC address DHCP settings etc o Date Time settings for date and time NTP serve...

Страница 49: ...smartDEN Opener User Manual 24 Apr 2018 49 Figure 10 5 Navigation menu mobile screen Figure 10 6 Settings administration and logs submenus...

Страница 50: ...ment of the Main Controlled Device Progress bar below the buttons is located progress bar containing information about the Main Controlled Device For example on Figure 10 7 the device is named Garage...

Страница 51: ...trator s MQTT and HTTP access Guest shows the state ENABLED DISABLED of Guest s MQTT and HTTP access Last Opened On shows the last time and reason user that opened the Main Controlled Device Last Clos...

Страница 52: ...ction secondary protection etc Here is detailed explanation of the page OPEN STOP CLOSE buttons with these buttons you can program the time for opening closing of the Main Controlled Device Open Close...

Страница 53: ...e several available options o Never this option will not log Main Controlled Device s state changes o State Change this will log OPENED CLOSED and STOPPED states o Open this option will log OPENED sta...

Страница 54: ...evel on the selected Digital Input is LOW High Level will attach the selected Digital Input and will be ACTIVATED when the level on the selected Digital Input is HIGH Figure 10 10 DI Protection Sensor...

Страница 55: ...ction if DISABLE event occurs Current Protection Limit This value is used when Main Controlled Device is CLOSING If the current units become higher than this value the Main Controlled Device will star...

Страница 56: ...LOSING the garage door At given moment the door reaches the car and motor s current increases above the Current Protection Limit which changes Main direction and garage door starts OPENING Figure 10 1...

Страница 57: ...bling logs for events Remaining Events the number of remaining events that can be created Maximum allowed events are 20 Garage Door specifies the state of the Main Controlled Device There are three op...

Страница 58: ...No Change will not affect state of the Temperature Input alarm o ENABLED will enabled Temperature Input alarm o DISABLED will disable Temperature Input alarm Admin Specifies the state of Admin User HT...

Страница 59: ...of the digital input for example Button There are up 10 allowed symbols for description see Appendix 3 Enable Alarm this will allow the digital input to control its peripheral if desired or just writ...

Страница 60: ...n of the digital input falling edge o High Alarm controller will write logs only on low to high transition of the digital input rising edge o Any Alarm will write logs on both LOW ALARM event and HIGH...

Страница 61: ...N on LOW ALARM event and CLOSE on HIGH ALARM event o NC Sensor in this mode the Main Controlled Device will start CLOSING if Control On option is set to Low Alarm If Control On option is set to High A...

Страница 62: ...smartDEN Opener User Manual 24 Apr 2018 62 Figure 10 18 Digital input controlling relay examples...

Страница 63: ...xt transition generates HIGH ALARM In Normal Control Mode if the Relay 1 was turned off then it turns on In Inversed Control Mode if the Relay 1 was turned on then it turns off In Toggle Control Mode...

Страница 64: ...smartDEN Opener User Manual 24 Apr 2018 64 Figure 10 20 Digital Input controlling Main Controlled Device examples...

Страница 65: ...w OPEN command is received and Main starts OPENING Before Open Close time expires a new alarm is generated and the Main Controlled Device goes to STOPPED state If Toggle Control Mode is selected the M...

Страница 66: ...32767 0 Max this value is the maximum value of the linear scaled voltage on analog input Its value should be in range 32768 0 to 32767 0 Equations of scaled value of Analog Input is given below There...

Страница 67: ...logs about analog input o Low Alarm controller will write logs only on LOW ALARM event o High Alarm controller will write logs only on HIGH ALARM event o Any Alarm will write logs on both LOW ALARM a...

Страница 68: ...martDEN Opener User Manual 24 Apr 2018 68 The next example situation shows how the analog input controls the Main Controlled Device Figure 10 22 Analog Input controlling Main Controlled Device setting...

Страница 69: ...smartDEN Opener User Manual 24 Apr 2018 69 Figure 10 23 Analog Input controlling Main Controlled Device examples...

Страница 70: ...mand is sent from web server The Main Controlled Device starts OPENING and goes to OPENED state Lately LOW ALARM event is generated and Main starts CLOSING and goes to CLOSED state The next HIGH ALARM...

Страница 71: ...smartDEN Opener User Manual 24 Apr 2018 71 The next example situation shows how the analog input controls Relay1 Figure 10 24 Analog Input controlling Relay 1...

Страница 72: ...tured with Relay 1 configured to operate in Normal Relay Switch Mode see 10 6 4 Relays In Normal Control Mode Relay 1 in our example will be turned on when LOW ALARM event is generated and will be tur...

Страница 73: ...Fahrenheit o F Low Alarm sets the value on which LOW ALARM event will be generated LOW ALARM event is generated when the temperature has been higher than High Alarm parameter value and then falls belo...

Страница 74: ...output is controlled by the temperature input There are four choices o Nothing this analog input will not control any output If some of the previous settings are set it will be used for monitoring so...

Страница 75: ...smartDEN Opener User Manual 24 Apr 2018 75 Figure 10 27 Temperature Input controlling Main Controlled Device settings...

Страница 76: ...es are written on any alarm LOW ALARM event and HIGH ALARM event respectively but emails are sent only on HIGH ALARM event When Control Mode is set to Open the Main Controlled Device will start OPENIN...

Страница 77: ...ntrolled Device is OPENED on every HIGH ALARM event and CLOSED on every LOW ALARM event The Main Controlled Device is CLOSED and STOP command is received from web server which makes Main Controlled De...

Страница 78: ...F command is send no matter who what sends the command o Timer On in this mode the relay could be turned on with ON command but when turned off it will turn on again after defined interval by the Time...

Страница 79: ...smartDEN Opener User Manual 24 Apr 2018 79 Figure 10 30 Relay Switch Mode settings Figure 10 31 Relay Switch Mode examples...

Страница 80: ...smartDEN Opener User Manual 24 Apr 2018 80 10 7 General Settings Figure 10 32 General Settings page...

Страница 81: ...oth together If only username change is desired for example you must enter the old password in New Password field Admin Enable this parameter allows Admin access for HTTP and MQTT resources With this...

Страница 82: ...s displaying IP camera on Home Page If enabled animation will be hide and IP camera view will be available By default this value is disabled Type of Streaming this parameter gives two choices o Image...

Страница 83: ...uration of smartDEN Opener smartDEN Opener could work in two network modes Access Point AP and Station STA Default factory mode is Access Point AP which is just for initial settings When AP mode selec...

Страница 84: ...int s MAC Address IP Address DHCP Gateway this is the IP address of the Access Point When a device connects to this AP this address will be its gateway Subnet Mask this is AP s subnet mask Wi Fi Outpu...

Страница 85: ...gnal Strength this parameters visualize signal strength of the network which smartDEN Opener is currently connected With the Refresh button this value will be refreshed Useful parameter especially whe...

Страница 86: ...6 10 9 Date Time Figure 10 36 Date Time page Date Time page consist of settings about the onboard RTC module and automatic synchronization with NTP time server or manual date and time settings Figure...

Страница 87: ...own Time got from NTP server will be Greenwich Mean Time GMT This parameter will work only in STA network mode Time Server this could be any public or private NTP server On the right is located port n...

Страница 88: ...ener to send emails There are 15 allowed symbols reserved for this parameter see Appendix 3 SMTP Server this is sender s SMTP server for sending emails There are 20 allowed symbols reserved for this p...

Страница 89: ...his parameter see Appendix 3 MQTT Port this is MQTT Broker s port It could be a number from 1 65535 MAC Address read only field It will be necessary when setting up smartDEN Opener as Cloud Device in...

Страница 90: ...By default this value points to Denkovi Assembly Electronics smartDEN Opener firmware update page There are 50 allowed symbols reserved for this parameter see Appendix 3 Current Version read only fiel...

Страница 91: ...could not be started Up to date message Figure 10 42 You are up to date message In this situation Firmware Update button is shown and firmware update could be done but new version is not available New...

Страница 92: ...onfiguration Restore Configuration this parameter gives a possibility to restore previous configuration of smartDEN Opener When clicked Choose File a dialog will be opened and configuration file shoul...

Страница 93: ...own for confirmation If confirmed smartDEN Opener will reboot Figure 10 46 Reboot Button 10 16 System log Figure 10 47 System log System Log page visualizes log messages written in system log file wit...

Страница 94: ...Event Heap There are several possible system log events indicated with the following message type Boot up message it is written every time device boots up Network status messages they are written on...

Страница 95: ...ed log messages will be written to logs else log messages will be not written no matter what is set to be logged Download a button which on click will open a dialog for saving eventslog txt file Delet...

Страница 96: ...abled Guest User access is disabled Reason source for writing this line of log is that smartDEN Opener booted up System Heap is 26464 bytes Delete logs when reach maximum size checkbox is reflecting b...

Страница 97: ...page current_state xml or current_state json for example http 192 168 1 134 current_state xml pw password http 192 168 1 134 current_state json pw password 11 1 Authentification non encrypted passwor...

Страница 98: ...des two type of response to obtain current state depend on request XML or JSON 11 2 1 XML response To get XML response the request should look like this for example http 192 168 1 134 current_state xm...

Страница 99: ...99 11 2 2 JSON response To get JSON response the request should look like this for example http 192 168 1 134 current_state json pw admin Example response from smartDEN Opener is given below Figure 1...

Страница 100: ...1 134 current_state json pw admin R1 1 R2NAME Heater 11 4 1 Single relays control Example requests http 192 168 1 134 current_state xml pw admin R1 0 R2 1 http 192 168 1 134 current_state json pw adm...

Страница 101: ...tp 192 168 1 134 current_state xml pw admin AIALARM 1 TIALARM http 192 168 1 134 current_state xml pw admin TIALARM 0 11 4 6 Change descriptions of inputs outputs and device Table 11 4 Descriptions co...

Страница 102: ...Guest user access This request could be made only by Admin User Request should look like this http 192 168 1 134 current_state xml pw admin GUEST 1 http 192 168 1 134 current_state json pw admin GUEST...

Страница 103: ...smartDEN Opener uses MQTT QoS 0 subscription The communication is not secured and messages are sent over network in plain text smartDEN Opener s default MQTT Broker is iot eclipse org but some other...

Страница 104: ...te as each other command should be posted in Admin Reading Topic MQTT_COMMAND GETSTATUS When command is sent response will be received in admin writing topic The response of all successful commands is...

Страница 105: ...1 AIALARM MQTT_COMMAND AIALARM 1 TIALARM MQTT_COMMAND TIALARM 0 12 2 7 Change descriptions Table 12 4 Descriptions commands table Param eter Description Example Request Max allowed length Possible Val...

Страница 106: ...DEVLO C Device Location MQTT_COMMAND DEVLOC Bulgaria 15 12 2 8 Grant Guest user access This request could be made only by Admin User Request should look like this MQTT_COMMAND GUEST 1 Possible values...

Страница 107: ...smartDEN Opener User Manual 24 Apr 2018 107 12 2 9 MQTT command reply Figure 12 2 MQTT successful response...

Страница 108: ...e open is when it is being changed and submitted in General Settings form Therefore you must set passwords in the secure environment where you can make sure that no one is eavesdropping MQTT operation...

Страница 109: ...smartDEN Opener User Manual 24 Apr 2018 109 14 Mechanical drawing Figure 14 1 DIN Rail device size Figure 14 2 Distribution box device size...

Страница 110: ...gital input and closed on open circuit Controlling is made by OPEN and CLOSE buttons commands and could be controlled by web server HTTP XML and JSON requests MQTT commands and RF Remote Controller Fi...

Страница 111: ...1 16 Appendix 2 DAE aModules DAE aModules application provides some unique features One of them is notification receiving and the other is GPS controlling of the Main Controlled Device 16 1 Notificati...

Страница 112: ...ny notifications Show few DAE aModules will show the last notification from last added device in device list which sends notifications If smartDEN Opener sent the last notification and is last in the...

Страница 113: ...ote that smaller Refresh Time will cause faster battery discharging Triggering Distance this option defines the minimum distance between every two GPS measurements Note that smaller Triggering Distanc...

Страница 114: ...smartDEN Opener User Manual 24 Apr 2018 114 Figure 16 4 Relays Tab Figure 16 5 Main Controlled Device s modes...

Страница 115: ...ase note an internet connection is required for this command otherwise it won t be executed Figure 16 6 GPS Inside control by location GPS Outside In this mode the output relay will be set ON when the...

Страница 116: ...smartDEN Opener User Manual 24 Apr 2018 116 Figure 16 8 GPS outside mode notification...

Страница 117: ...able below Table 17 1 Char set Character Description A Z Capital letters English Alphabet a z Small letters English Alphabet 0 9 Numbers zero to nine Minus sign Plus sign Space character Percent sign...

Страница 118: ...r door window awning Main Main Controlled Device means the motor controlled device barrier door window awning MQTT MQ Telemetry Transport or Message Queuing Telemetry Transport XML Extensible Markup L...

Страница 119: ...or use in applications where failure or malfunction of an Denkovi Assembly Electronics LTD product can result in personal injury death property damage or environmental damage Denkovi Assembly Electron...

Отзывы: