12 063
правки
(Новая страница: «Consider the main controls of the module and their purpose.») |
(Новая страница: «== Images and drawings of the device == <!--{{WBPicturesNoDrawing|1}}--> {{WBPictures|1}}») |
||
(не показано 5 промежуточных версий этого же участника) | |||
Строка 318: | Строка 318: | ||
Consider the main controls of the module and their purpose. | Consider the main controls of the module and their purpose. | ||
<div class="mw-translate-fuzzy"> | |||
{| class="wikitable" | {| class="wikitable" | ||
! | ! The name of the control | ||
! | !Appointment | ||
|- | |- | ||
|Input Voltage|| | |Input Voltage||module supply voltage | ||
|- | |- | ||
|Learn to RAM|| | |Learn-to-RAM||Write the IR signal in the operational buffer (see section [[#Operational mode|Operational mode]]). For learning, the control is transferred to ON position, after learning — OFF. | ||
|- | |- | ||
|Play from RAM|| | |Play from RAM||Play the IR signal from the operating buffer (see [[#Operating mode|Operating mode]]). | ||
|- | |- | ||
|Learn to ROMx|| | |Learn to ROMx||IR signal Recording ACC. the cell of the ROM (see section [[#DC mode|DC mode]]). For learning, the control is transferred to ON position, after learning — OFF. | ||
|- | |- | ||
|Play from ROMx|| | |Play from ROMx||Play IR signal from resp. ROM cells (see [[#Constant mode|Constant mode]]]). For training, the control is transferred to THE on position, after training — OFF. | ||
|- | |- | ||
|ROMx -> RAM|| | |ROMx -> RAM||Copy data from ACC. ROM cells to the online buffer for editing (see [[#Constant mode|Constant mode]]). For editing, control is transferred to ON position, after editing — OFF. | ||
|- | |- | ||
|Internal/External Temperature Sensor|| | |Internal/External Temperature Sensor||Internal/external digital temperature sensor. If the sensor is missing or defective, its name is highlighted in red. | ||
|- | |- | ||
|Serial NO|| | |Serial NO||the Serial number of the WB-MIR module may be required when contacting technical support. | ||
|- | |- | ||
|Reset all ROM|| | |Reset all ROM||Resets the contents of all memory locations. '''Be careful, ROM cleaning will be done without asking for confirmation!''' | ||
|- | |- | ||
|} | |} | ||
</div> | |||
== | == Command-line device management == | ||
The Wiren Board controller software includes modbus_client utility to work with devices connected to the RS-485 outputs, via Modbus Protocol, the detailed description of the command is on the page [[Modbus-client/en| Modbus client]]. Access to the command line is described in [[SSH/en| SSH]]. | |||
=== | === Register reading example === | ||
Let's check whether it is true that we are connected to the module of the desired type. (Module wb-mqtt-serial needs to be stopped). At address 200, a unique signature of 6 registers is stored. Let's read 6 registers, starting with the address 200, and convert the received answer from hexadecimal digits into a character string: | |||
<syntaxhighlight lang="bash">echo -e `modbus_client --debug -mrtu -pnone -s2 /dev/ttyAPP1 \ | <syntaxhighlight lang="bash">echo -e `modbus_client --debug -mrtu -pnone -s2 /dev/ttyAPP1 \ | ||
Строка 352: | Строка 354: | ||
grep Data | sed -e 's/0x00/\\\x/g' -e 's/Data://' -e 's/\s//g'` </syntaxhighlight> | grep Data | sed -e 's/0x00/\\\x/g' -e 's/Data://' -e 's/\s//g'` </syntaxhighlight> | ||
As a result of the command, we receive string '''WBMIR'''. The WB-MIR module in the example has Modbus address 1. | |||
== | == Device firmware update == | ||
Starting with the new firmware versions of the device, the firmware update functionality (firmware) via the Modbus Protocol is supported. This makes it possible to extend the functionality of the devices and eliminate errors in the firmware directly at the installation site. Read more about flashing devices described in the article [[WB-MCU-Flasher|Download firmware to Wiren Board devices]]. A list of firmware versions that support the update, as well as devices for which this feature is implemented, can be found in [[Firmware_Changelog/en| Firmware Changelog]]. | |||
== | == Images and drawings of the device == | ||
<!--{{Wbincludes:WBPicturesNoDrawing|1}}--> | <!--{{Wbincludes:WBPicturesNoDrawing|1}}--> | ||
{{Wbincludes:WBPictures|1}} | {{Wbincludes:WBPictures|1}} |
правки