Jump to content

Sokol-K1: Difference between revisions

103 bytes removed ,  4 hours ago
no edit summary
No edit summary
No edit summary
Line 143: Line 143:
Next, open the app and select '''“Connect to Weather Station (Controller).”'''
Next, open the app and select '''“Connect to Weather Station (Controller).”'''


Then, tap '''“Connect weather station”''' in the row corresponding to the station.[[File:Sokol app main 1.jpg|border|left|frameless]]
Then, tap '''“Connect weather station”''' in the row corresponding to the controller.[[File:Sokol app main 1.jpg|border|left|frameless]]
[[File:Sokol-K1 Sokol main page 1.jpg|border|frameless]]
[[File:Sokol-K1 Sokol main page 1.jpg|border|frameless]]


Line 154: Line 154:
* '''view current readings,'''
* '''view current readings,'''
* '''export black box data,'''
* '''export black box data,'''
* '''configure the meteo station.'''
* '''configure the controller.'''


== <big>'''Online data in the Sokol app'''</big> ==
== <big>'''Online data in the Sokol app'''</big> ==
To view '''current data''' via '''Bluetooth''', connect to the station and press '''Online Data'''.
To view '''current data''' via '''Bluetooth''', connect to the controller and press '''Online Data'''.


'''Enter the password.''' Default password: '''222'''.[[File:Sokol-K1 Online data 1.jpg|border|left|frameless]]
'''Enter the password.''' Default password: '''222'''.[[File:Sokol-K1 Online data 1.jpg|border|left|frameless]]
Line 170: Line 170:




'''GSM Status and signal strength''' - these parameters help determine why there is no data from the station on the server.
'''GSM Status and signal strength''' - these parameters help determine why there is no data from the controller on the server.


'''A negative GSM signal strength''' means the <u>'''message''' '''cannot be sent.'''</u>[[File:Sokol app meteo data.jpg|border|left|frameless]]
'''A negative GSM signal strength''' means the <u>'''message''' '''cannot be sent.'''</u>[[File:Sokol app meteo data.jpg|border|left|frameless]]
Line 187: Line 187:


== <big>'''Configurator. Data transmission settings.'''</big> ==
== <big>'''Configurator. Data transmission settings.'''</big> ==
In the '''application''' you can configure the station. To do this, connect '''via Bluetooth''' and select '''Configurator'''.
In the '''application''' you can configure the controller. To do this, connect '''via Bluetooth''' and select '''Configurator'''.


There are '''three tabs''' available in the '''Configurator''' section. On the '''“Data Transmission”''' tab, you can change:
There are '''three tabs''' available in the '''Configurator''' section. On the '''“Data Transmission”''' tab, you can change:
Line 198: Line 198:
* Send '''test message''' to '''server'''
* Send '''test message''' to '''server'''


'''By default,''' the station is already configured to work with  '''[[Natlogger]]''' or '''[https://sokolmeteo.com/login Sokolmeteo]''' servers. Operator '''APN settings''' can be found via any search engine - simply enter operator '''name + APN'''. Set the transmission channel to '''GSM.'''
'''By default,''' the controller is already configured to work with  '''[[Natlogger]]''' or '''[https://sokolmeteo.com/login Sokolmeteo]''' servers. Operator '''APN settings''' can be found via any search engine - simply enter operator '''name + APN'''. Set the transmission channel to '''GSM.'''


[[File:Sokol_app_GSM_settings_1.jpg|border|frameless]]
[[File:Sokol_app_GSM_settings_1.jpg|border|frameless]]
[[File:Sokol_app_gsm_setting_2.png|none|thumb|507x507px|Choosing a data transmission channel]]
[[File:Sokol_app_gsm_setting_2.png|none|thumb|507x507px|Choosing a data transmission channel]]
<blockquote><u>'''Important:''' In most cases, APN settings are stored on the SIM card itself, so the station usually receives them automatically when reading the SIM card. SIM cards with static white IP addresses (a practice common in corporate mobile service) deserve special attention. The APN for such SIM cards may differ from the publicly available ones and may require manual entry. You can only obtain the APN settings from your system administrator or the person responsible for corporate communications in your organization.</u></blockquote>
<blockquote><u>'''Important:''' In most cases, APN settings are stored on the SIM card itself, so the controller usually receives them automatically when reading the SIM card. SIM cards with static white IP addresses (a practice common in corporate mobile service) deserve special attention. The APN for such SIM cards may differ from the publicly available ones and may require manual entry. You can only obtain the APN settings from your system administrator or the person responsible for corporate communications in your organization.</u></blockquote>
[[File:Sokol_app_server_settings_1.jpg|border|left|frameless]]
[[File:Sokol_app_server_settings_1.jpg|border|left|frameless]]
[[File:Sokol_app_server_settings_2.jpg|frameless]]<blockquote>
[[File:Sokol_app_server_settings_2.jpg|frameless]]<blockquote>
Line 216: Line 216:


== <big>'''Controller Black Box'''</big> ==
== <big>'''Controller Black Box'''</big> ==
To '''receive and view''' the black box report '''via Bluetooth''', connect to the station '''via Bluetooth''' and select '''Black box.'''
To '''receive and view''' the black box report '''via Bluetooth''', connect to the controller '''via Bluetooth''' and select '''Black box.'''
[[File:Sokol_app_main_1.jpg|border|left|frameless]]
[[File:Sokol_app_main_1.jpg|border|left|frameless]]
[[File:Sokol_app_Natlogger_Black_box_1.jpg|border|frameless]]
[[File:Sokol_app_Natlogger_Black_box_1.jpg|border|frameless]]
Line 237: Line 237:


== <big>'''Retrieving and Reading GSM Logs'''</big> ==
== <big>'''Retrieving and Reading GSM Logs'''</big> ==
Retrieving '''GSM logs''' allows you to analyze '''the station's connection to the network''' and track the stages at which a particular '''failure occurs.'''
Retrieving '''GSM logs''' allows you to analyze '''the controller's connection to the network''' and track the stages at which a particular '''failure occurs.'''


<u>y retrieving logs, you can:</u>
<u>y retrieving logs, you can:</u>
Line 262: Line 262:




'''The LED''' on the station should flash very frequently - '''5 times per second.''' This means that the station is setting the time using '''GPS'''. If the time cannot be set, the LED will flash '''once every 2 seconds''' when attempting to connect.
'''The LED''' on the controller should flash very frequently - '''5 times per second.''' This means that the controller is setting the time using '''GPS'''. If the time cannot be set, the LED will flash '''once every 2 seconds''' when attempting to connect.


Next, connect the station to a PC using the '''USB cable''' supplied in the kit to configure it using the '''[https://drive.google.com/file/d/1j8E6x0aW2thIXI3c8o3VTUpnHF6pPLkd/view?usp=sharing SokolCFG]''' configurator. For the '''[https://drive.google.com/file/d/1j8E6x0aW2thIXI3c8o3VTUpnHF6pPLkd/view?usp=sharing SokolCFG]''' configurator to work correctly, you need to install [https://www.fmeter.ru/download/_ftp/eng/other/Component_registration.zip?v=270519154439 the system components and libraries from Microsoft.]
Next, connect the controller to a PC using the '''USB cable''' supplied in the kit to configure it using the '''[https://drive.google.com/file/d/1j8E6x0aW2thIXI3c8o3VTUpnHF6pPLkd/view?usp=sharing SokolCFG]''' configurator. For the '''[https://drive.google.com/file/d/1j8E6x0aW2thIXI3c8o3VTUpnHF6pPLkd/view?usp=sharing SokolCFG]''' configurator to work correctly, you need to install [https://www.fmeter.ru/download/_ftp/eng/other/Component_registration.zip?v=270519154439 the system components and libraries from Microsoft.]
[[File:Sokol-K1 USB 1.png|center|frameless|687x687px]]
[[File:Sokol-K1 USB 1.png|center|frameless|687x687px]]


Also, for '''correct connection and proper detection''' of the station by the '''computer''', it is necessary to install '''<u>[https://www.fmeter.ru/download/_ftp/escort_c-200m/Driver_for_Escort_C-200.zip?v=200320144623 THIS DRIVER]</u>'''. After proper installation, when connected '''via USB''', the station will be detected as '''<u>STMicroelectronics Virtual COM Port.</u>'''
Also, for '''correct connection and proper detection''' of the controller by the '''computer''', it is necessary to install '''<u>[https://www.fmeter.ru/download/_ftp/escort_c-200m/Driver_for_Escort_C-200.zip?v=200320144623 THIS DRIVER]</u>'''. After proper installation, when connected '''via USB''', the controller will be detected as '''<u>STMicroelectronics Virtual COM Port.</u>'''
[[File:Device_manager_window.png|center|frameless|608x608px]]
[[File:Device_manager_window.png|center|frameless|608x608px]]


Next, you need to configure the connection to the server. In the PC configurator, you need to connect to the station by selecting the '''correct COM port''' for the equipment and clicking the '''“Open port”''' button. Next, you need to enter '''a password''' to make changes to the station settings.
Next, you need to configure the connection to the server. In the PC configurator, you need to connect to the controller by selecting the '''correct COM port''' for the equipment and clicking the '''“Open port”''' button. Next, you need to enter '''a password''' to make changes to the controller settings.
[[File:SOKOL CFG MAIN.png|left|frameless|475x475px]]
[[File:SOKOL CFG MAIN.png|left|frameless|475x475px]]
[[File:SOKOL CFG PASSWORD.png|frameless|478x478px]]
[[File:SOKOL CFG PASSWORD.png|frameless|478x478px]]
Line 276: Line 276:
In the PC configurator, open the '''“Server”''' tab. Here you need to specify the '''GSM settings''' for your mobile operator. You can find them using any search engine. Just enter the name of the operator and '''APN.'''
In the PC configurator, open the '''“Server”''' tab. Here you need to specify the '''GSM settings''' for your mobile operator. You can find them using any search engine. Just enter the name of the operator and '''APN.'''


To ensure that the '''SIM card''' is detected correctly by the station, press the '''“Read SIM”''' button. The configurator should display the SIM card number and '''the station's IMEI.'''[[File:SOKOL CFG APN.png|center|frameless|690x690px]]
To ensure that the '''SIM card''' is detected correctly by the controller, press the '''“Read SIM”''' button. The configurator should display the SIM card number and '''the controller's IMEI.'''[[File:SOKOL CFG APN.png|center|frameless|690x690px]]
'''Server settings''' are configured depending on which resource you use ([https://sokolmeteo.com/login Sokolmeteo] or [https://app.natlogger.com/auth/sign-in Natlogger)]. Below are screenshots of the '''Sokolmeteo and Natlogger server''' settings in '''the SokolCFG configurator.'''<blockquote>If '''DNS''' does not work correctly, '''enter server IP manually''':
'''Server settings''' are configured depending on which resource you use ([https://sokolmeteo.com/login Sokolmeteo] or [https://app.natlogger.com/auth/sign-in Natlogger)]. Below are screenshots of the '''Sokolmeteo and Natlogger server''' settings in '''the SokolCFG configurator.'''<blockquote>If '''DNS''' does not work correctly, '''enter server IP manually''':


Line 282: Line 282:
* Natlogger.com → '''178.154.206.133'''</blockquote>  You can change the data transmission frequency from once '''every 10 minutes''' to once every '''59 minutes.'''
* Natlogger.com → '''178.154.206.133'''</blockquote>  You can change the data transmission frequency from once '''every 10 minutes''' to once every '''59 minutes.'''


'''The device access password''' is required for '''the server''' to accept data from the correct station. This password '''must match''' the one specified in the device settings '''when registering the meteo station''' on the server.
'''The device access password''' is required for '''the server''' to accept data from the correct controller. This password '''must match''' the one specified in the device settings '''when registering the meteo''' controller on the server.


Be sure to check that the '''GSM''' option is selected on the right.
Be sure to check that the '''GSM''' option is selected on the right.
Line 289: Line 289:
[[File:SOKOL_CFG_NATLOGGER_settings.png|center|thumb|665x665px|Natlogger settings]]
[[File:SOKOL_CFG_NATLOGGER_settings.png|center|thumb|665x665px|Natlogger settings]]


Once you have '''configured everything''', '''the GSM''' status in the '''“State”''' tab should change from '''0 to 25''' each time the station attempts to contact the server, i.e., every '''10 minutes'''. It will do this in accordance with the data transmission period you specified in the '''“Server”''' tab.
Once you have '''configured everything''', '''the GSM''' status in the '''“State”''' tab should change from '''0 to 25''' each time the controller attempts to contact the server, i.e., every '''10 minutes'''. It will do this in accordance with the data transmission period you specified in the '''“Server”''' tab.
[[File:CFG_STATE_PAGE.png|center|frameless|657x657px]]
[[File:CFG_STATE_PAGE.png|center|frameless|657x657px]]




'''To ensure''' that messages are being transmitted to the server, open '''[https://sokolmeteo.com/login the Sokolmeteo] or [https://app.natlogger.com/auth/sign-in Natlogger website]''' (depending on the server you are using).<blockquote>'''<u>Below are instructions for registering the Sokol-M1 station on the Sokolmeteo and Natlogger servers.</u>'''</blockquote>'''For Sokolmeteo''', open the '''“Messages”''' tab and enter the station name in the '''“All devices”''' tab to check if there is any data there.
'''To ensure''' that messages are being transmitted to the server, open '''[https://sokolmeteo.com/login the Sokolmeteo] or [https://app.natlogger.com/auth/sign-in Natlogger website]''' (depending on the server you are using).<blockquote>'''<u>Below are instructions for registering the Sokol-K1 controller on the Sokolmeteo and Natlogger servers.</u>'''</blockquote>'''For Sokolmeteo''', open the '''“Messages”''' tab and enter the controller name in the '''“All devices”''' tab to check if there is any data there.


'''For Natlogger,''' open the '''“Devices” -> “Meteomoonitoring” -> ‘Messages’ tab''' and enter the station name in the '''“Device”''' tab to check if there is any data there.[[File:Natlloger_messages_example_.png|center|thumb|711x711px|Natlogger]]
'''For Natlogger,''' open the '''“Devices” -> “Meteomoonitoring” -> ‘Messages’ tab''' and enter the controller name in the '''“Device”''' tab to check if there is any data there.[[File:Natlloger_messages_example_.png|center|thumb|711x711px|Natlogger]]
[[File:Sokolmeteo_messages_example.png|center|thumb|715x715px|Sokolmeteo]]
[[File:Sokolmeteo_messages_example.png|center|thumb|715x715px|Sokolmeteo]]


= <big>'''Polling the Sokol-K1 via Modbus'''</big> =
= <big>'''Polling the Sokol-K1 via Modbus'''</big> =
When working with the '''Sokol-M1 station''', data can be retrieved not only '''via GSM or a direct USB''' connection, but also by polling using '''third-party software and various RS-485 converters.'''
When working with the '''Sokol-K1 controller''', data can be retrieved not only '''via GSM or a direct USB''' connection, but also by polling using '''third-party software and various RS-485 converters.'''


Below are '''instructions''' for '''configuring, connecting, and polling the station''' using an '''RS-485''' interface converter, as well as for polling '''via Modbus.'''
Below are '''instructions''' for '''configuring, connecting, and polling the''' controller using an '''RS-485''' interface converter, as well as for polling '''via Modbus.'''


== '''Configuring the Controller for Modbus Operation''' ==
== '''Configuring the Controller for Modbus Operation''' ==
To connect the '''meteo station''' for '''Modbus''' polling via a computer or '''third-party hardware/software''' using an '''RS-485 converter''', you must configure '''the station itself.'''
To connect the Sokol-K1 controller for '''Modbus''' polling via a computer or '''third-party hardware/software''' using an '''RS-485 converter''', you must configure '''the controller itself.'''




Install the '''[https://www.fmeter.ru/download/_ftp/meteo-kontrol/sokol-m/%D0%9A%D0%BE%D0%BD%D1%84%D0%B8%D0%B3%D1%83%D1%80%D0%B0%D1%82%D0%BE%D1%80%20%D0%B4%D0%BB%D1%8F%20%D0%A1%D0%9E%D0%9A%D0%9E%D0%9B-%D0%9C.zip Sokol CFG]''' configurator, as well as the '''system component and library files from Microsoft''' if necessary. '''The drivers''' can be found in '''the folder containing the Sokol CFG configurator''' or downloaded from [https://www.fmeter.ru/download/_ftp/other/Component_registration.zip?v=270519154504 '''this link'''.] When these files are installed, a message should appear stating, '''“RuntimePack installed!”'''
Install the '''[https://www.fmeter.ru/download/_ftp/meteo-kontrol/sokol-m/%D0%9A%D0%BE%D0%BD%D1%84%D0%B8%D0%B3%D1%83%D1%80%D0%B0%D1%82%D0%BE%D1%80%20%D0%B4%D0%BB%D1%8F%20%D0%A1%D0%9E%D0%9A%D0%9E%D0%9B-%D0%9C.zip Sokol CFG]''' configurator, as well as the '''system component and library files from Microsoft''' if necessary. '''The drivers''' can be found in '''the folder containing the Sokol CFG configurator''' or downloaded from [https://www.fmeter.ru/download/_ftp/other/Component_registration.zip?v=270519154504 '''this link'''.] When these files are installed, a message should appear stating, '''“RuntimePack installed!”'''


You must also install '''the drivers''' to properly connect the station '''via USB''' and configure it.
You must also install '''the drivers''' to properly connect the controller '''via USB''' and configure it.


'''<u>[https://www.fmeter.ru/download/_ftp/escort_c-200m/Driver_for_Escort_C-200.zip?v=200320144623 Link to download drivers for the Sokol-M1 station]</u>'''
'''<u>[https://www.fmeter.ru/download/_ftp/escort_c-200m/Driver_for_Escort_C-200.zip?v=200320144623 Link to download drivers for the Sokol-K1 controller]</u>'''




When you connect the '''USB cable''' from the station to '''the computer,''' the device should be recognized as '''"STMicroelectronics Virtual COM Port":'''
When you connect the '''USB cable''' from the controller to '''the computer,''' the device should be recognized as '''"STMicroelectronics Virtual COM Port":'''
[[File:Device_manager_window.png|center|frameless|608x608px]]
[[File:Device_manager_window.png|center|frameless|608x608px]]
[[File:Sokol-K1 USB 1.png|center|frameless|617x617px]]
[[File:Sokol-K1 USB 1.png|center|frameless|617x617px]]
Line 329: Line 329:




By default, the station is set to '''"1 network address."''' You can '''<u>change or check this setting</u>''' in the configurator under the '''"Server"''' tab.
By default, the controller is set to '''"1 network address."''' You can '''<u>change or check this setting</u>''' in the configurator under the '''"Server"''' tab.
[[File:Sokol-CFG+_Sokol-M1_settings_1.png|center|frameless|676x676px]]
[[File:Sokol-CFG+_Sokol-M1_settings_1.png|center|frameless|676x676px]]


== '''Controller power supply''' ==
== '''Controller power supply''' ==
To ensure the station operates correctly '''via Modbus''', verify the following connection points:
To ensure the controller operates correctly '''via Modbus''', verify the following connection points:


* Station power supply. Be sure to turn the switch as follows: from the '''OFF position to ON''', then back to '''OFF''', and then to '''ON again'''. '''<u>An external power supply</u>''' must also be connected to the station
* controller power supply. Be sure to turn the switch as follows: from the '''OFF position to ON''', then back to '''OFF''', and then to '''ON again'''. '''<u>An external power supply</u>''' must also be connected to the controller


[[File:Sokol-K1 Key.jpg|center|frameless|1175x1175px]]<blockquote>'''<u>It is not possible to poll the station via Modbus without an external power source. Make sure the station is connected to an external power source.</u>'''</blockquote>Power supply pinout '''12V'''
[[File:Sokol-K1 Key.jpg|center|frameless|1175x1175px]]<blockquote>'''<u>It is not possible to poll the controller via Modbus without an external power source. Make sure the controller is connected to an external power source.</u>'''</blockquote>Power supply pinout '''12V'''
{| class="wikitable"
{| class="wikitable"
|'''Contact number'''
|'''Contact number'''
Line 354: Line 354:


== '''Modbus controller connection''' ==
== '''Modbus controller connection''' ==
Next, you need to connect the station to an '''RS-485''' '''converter''' (such as the '''C200M2 or any other converter''') via the station’s '''Modbus''' input. You can use '''any other RS-485 converter,''' provided you follow the pinout. The pinout for the station’s Modbus cable is as follows.
Next, you need to connect the controller to an '''RS-485''' '''converter''' (such as the '''C200M2 or any other converter''') via the controller’s '''Modbus''' input. You can use '''any other RS-485 converter,''' provided you follow the pinout. The pinout for the controller’s Modbus cable is as follows.


'''<u>Modbus connector pinout:</u>'''
'''<u>Modbus connector pinout:</u>'''
Line 382: Line 382:


== '''Pinout and Connection of RS-485 Converters (C200M2)''' ==
== '''Pinout and Connection of RS-485 Converters (C200M2)''' ==
To ensure the station operates correctly via the '''C200M2 or Bolid RS-485 converter''', you must verify that the '''wires are connected correctly''' and that the '''pinout is correct'''. You must also install the '''correct drivers''' so that the converters are recognized by the computer system.
To ensure the controller operates correctly via the '''C200M2 or Bolid RS-485 converter''', you must verify that the '''wires are connected correctly''' and that the '''pinout is correct'''. You must also install the '''correct drivers''' so that the converters are recognized by the computer system.
 




Line 393: Line 394:


= '''Example of a Modbus Controller Polling Request''' =
= '''Example of a Modbus Controller Polling Request''' =
You can poll the station using this '''<u>command</u>''' via '''<u>any program designed for this purpose.</u>'''
You can poll the controller using this '''<u>command</u>''' via '''<u>any program designed for this purpose.</u>'''


Via the '''RS-485 interface''', using '''Modbus''', you can poll the station with the following parameters/settings:
Via the '''RS-485 interface''', using '''Modbus''', you can poll the controller with the following parameters/settings:


Protocol - '''LLS'''
Protocol - '''LLS'''
Line 582: Line 583:


= <big>'''Connecting additional sensors/devices'''</big> =
= <big>'''Connecting additional sensors/devices'''</big> =
<blockquote>'''<u>WARNING! Additional sensors connected to the station via the RS-485 interface will not work without external power supply!</u>''' (Does not apply to BMVD wireless modules and Sokol-DVP sensors.)</blockquote>
 


Below are instructions for connecting additional devices to the '''Sokol-K1 controller.'''
Below are instructions for connecting additional devices to the '''Sokol-K1 controller.'''