New DPA version and documentation

Go to www.iqrf.org and check out a new DPA v3.02 for OS 4.02D and appropriate documentation.

The documentation contains guide for quick start and framework technical guide.

The DPA package contains DPA plug-ins HWP (hardware profiles), included in IQRF Startup package and also custom DPA handler headers and examples. The examples may be more up-to-date than the ones in Startup package.

DPA SW and documentation is compatible with TR-7xD transceivers.

Integrating IQRF_IDE_Command to Windows 7 (10) – a bit different programming of TR modules

The newly released IQRF_IDE_Command application allows programming of TR modules without the need to use IQRF IDE. This article shows you how to use this pure console application in Windows GUI.

 

 

All examples assume the placement of IQRF_IDE_Command.exe in the directory C:\IQRF\IQRF_IDE_Command\, customize it according to your own folder location.

If you do not want to re-enter this address over and over again and you want to have the ability to run the application anywhere, you can add this address to the PATH variable system – guide how to do it is at the end of this article.

 

The first option…

Drag and drop programming by using a shortcut on the desktop

 

Use the context menu to create a shortcut on the desktop and name it e.g. IQRF Upload.

Use the Properties menu to set up new properties.

Change the content of Target field to the following

C:\IQRF\IQRF_IDE_Command\IQRF_IDE_Command.exe  -p /Color /Sound /Confirm /Auto

For the meaning of the parameters, see help at help.txt. Important is the /Confirm parameter, which will cause that a terminal window remains open and we see the result, it closes by pressing any key. The /Auto parameter ensures that the application is waiting for the module to be inserted into the CK, if it is not present.

Now you can choose (in Windows Explorer or any file manager) any HEX, IQRF, XML, or TRCNFG files (files) to grab, drag over the shortcut, and release.

The terminal window will open to inform you about the progress of the programming.

If you want to control the order of programming, just select the group of files per file we require to program first.

If you use multiple CKs or GWs connected at the same time, you need to order the application which one to use. You have two options, assign any CK as fixed using a serial number, which you find using IQRF_IDE_Command.exe -d

Then the command for shortcut is:

C:\IQRF\IQRF_IDE_Command\IQRF_IDE_Command.exe  -p 0E0001D9 /Color /Sound /Confirm /Auto

Or, before each programming, select the USB device using the console:

C:\IQRF\IQRF_IDE_Command\IQRF_IDE_Command.exe  -p  /Color /Sound /Confirm /Auto/ Select

or GUI:

C:\IQRF\IQRF_IDE_Command\IQRF_IDE_Command.exe  -p /Color /Sound /Confirm /Auto /Select=GUI

The advantage of GUI is the ability to identify the appropriate USB device using the Indicate button or by pressing the space bar – the corresponding device flashes.

If only one USB device is connected, the selection is not activated, and a free device is selected automatically.

Using the above procedure, you can create for example a shortcut to identify modules, e.g.:

C:\IQRF\IQRF_IDE_Command\IQRF_IDE_Command.exe  -m /Color /Sound /Confirm /Auto=Repeat /Select=GUI

Parameter /Auto=Repeat ensures repeated running of the -m command, then just replace the modules one by one.

The same parameter can also be used for automatic repeated multi-module programming, just inserting the next module will trigger the programming process, significantly faster compared to the IQRF IDE.

C:\IQRF\IQRF_IDE_Command\IQRF_IDE_Command.exe  -p /Color /Sound /Confirm /Auto=Repeat /Select=GUI

This way, we can create different * .cmd batches with different parameter combinations of IQRF_IDE_Command application. See IQRF_IDE_Command.exe -h

 

 

The second option…

Adding an item to the system context menu – Send to …

In the C:\Users\User\AppData\Roaming\Microsoft\Windows\SendTo directory, create a text file IQRF Upload.cmd. The AppData directory is system-based, so hidden by default. One way to access it is to write your entire path to Windows Explorer.

From now on, the item will be in the context menu under the same name

Insert this to the IQRFUpload.cm file

C:\IQRF\IQRF_IDE_Command\IQRF_IDE_Command.exe  -p %1 %2 %3 /Color /Sound /Confirm /Auto /Select=GUI

If you would require simultaneous programming of more than three files, add another parameter %4 etc.

Now you only need to right click on the HEX, IQRF, XML, or TRCNFG and select Send to → IQRF Upload.

The same can be done with a group of selected files.

If you want the terminal window to close and remain open only in case of an error, modify the IQRF Upload.cmd file as follows:

@echo off

C:\IQRF\IQRF_IDE_Command\IQRF_IDE_Command.exe  -p %1 %2 %3 /Color /Sound /Auto /Select=GUI

if %errorlevel% GTR 0 Pause

 

 

The third option…

Association file extensions with IQRF_IDE_Command

Association can be performed by double-clicking any HEX, IQRF, XML, or TRCNFG file.

Use Browse to select IQRF_IDE_Command.exe. Do not forget to check the option “Always use …”

If you want to avoid editing registers, it is enough to associate the files with a batch, for example, IQRF Upload.cmd mentioned above.

The XML extension is usually already associated with Internet Explorer in the system, change it using the context menu above the XML file.

 

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Classes\hex_auto_file]

@=””

[HKEY_CURRENT_USER\Software\Classes\hex_auto_file\shell]

[HKEY_CURRENT_USER\Software\Classes\hex_auto_file\shell\open]

[HKEY_CURRENT_USER\Software\Classes\hex_auto_file\shell\open\command]

@=“\”C:\\IQRF\\IQRF_IDE_Command\\IQRF_IDE_Command.exe\” -p \”%1\” /Sound /Color /Auto /Select=GUI /Confirm”

[HKEY_CURRENT_USER\Software\Classes\iqrf_auto_file]

@=””

[HKEY_CURRENT_USER\Software\Classes\iqrf_auto_file\shell]

[HKEY_CURRENT_USER\Software\Classes\iqrf_auto_file\shell\open]

[HKEY_CURRENT_USER\Software\Classes\iqrf_auto_file\shell\open\command]

@=“\”C:\\IQRF\\IQRF_IDE_Command\\IQRF_IDE_Command.exe\” -p \”%1\” /Sound /Color /Auto /Select=GUI /Confirm”

[HKEY_CURRENT_USER\Software\Classes\trcnfg_auto_file]

@=””

[HKEY_CURRENT_USER\Software\Classes\trcnfg_auto_file\shell]

[HKEY_CURRENT_USER\Software\Classes\trcnfg_auto_file\shell\open]

[HKEY_CURRENT_USER\Software\Classes\trcnfg_auto_file\shell\open\command]

@=“\”C:\\IQRF\\IQRF_IDE_Command\\IQRF_IDE_Command.exe\” -p \”%1\” /Sound /Color /Auto /Select=GUI /Confirm”

Don’t forget to change the paths and possibly add parameters according to your own requirements. Saving it to the registry is done by double-clicking the association.reg file.

If everything was okay, then.

Unfortunately, the direct association of the XML file is not easy because of the interconnection of this format throughout the Windows. There is nothing more than to associate with a * .cmd or * .bat batch.

From now on, double-clicking the HEX, IQRF, XML, or TRCNFG file will execute IQRF_IDE_Command. The same effect is achieved by the right click and the Open menu.

 

The fourth option…

Create a submenu in the system context menu

Create the MainMenu.reg file with the content:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\IQRF_IDE_CMD_Menu]

“SubCommands”=”IQRF_IDE_CMD.0;IQRF_IDE_CMD.1;IQRF_IDE_CMD.2;IQRF_IDE_CMD.3;IQRF_IDE_CMD.4;IQRF_IDE_CMD.5;IQRF_IDE_CMD.6;IQRF_IDE_CMD.7;IQRF_IDE_CMD.8;IQRF_IDE_CMD.9;IQRF_IDE_CMD.10;IQRF_IDE_CMD.11;IQRF_IDE_CMD.12;IQRF_IDE_CMD.13”

“MUIVerb”=”IQRF IDE Command”

“icon”=“c:\\IQRF\\IQRF_IDE_Command\\IQRF_IDE_Command.exe”

;”Position”=”Top”

“SeparatorBefore”=””

“SeparatorAfter”=””

 

[HKEY_CLASSES_ROOT\Directory\Background\shell\IQRF_IDE_CMD_Menu]

“SubCommands”=”IQRF_IDE_CMD.0;IQRF_IDE_CMD.1;IQRF_IDE_CMD.2;IQRF_IDE_CMD.3;IQRF_IDE_CMD.4;IQRF_IDE_CMD.5;IQRF_IDE_CMD.6;IQRF_IDE_CMD.7;IQRF_IDE_CMD.8;IQRF_IDE_CMD.9;IQRF_IDE_CMD.10;IQRF_IDE_CMD.11;IQRF_IDE_CMD.12;IQRF_IDE_CMD.13”

“MUIVerb”=”IQRF IDE Command”

“icon”=“c:\\IQRF\\IQRF_IDE_Command\\IQRF_IDE_Command.exe”

“SeparatorBefore”=””

“SeparatorAfter”=””

Open the file by right-clicking the Desktop. You should see the IQRF IDE menu Command that has no items yet.

If you want the item on the top of the submenu, right-click it and simply comment it "Position"="Top".

You do not cancel the function simply by commenting. This is done by modifying "Position"=-

More experienced users can use the Regedit registry editor to modify them. Find the appropriate key and modify.

To add submenu items, create a MenuItem.reg file with the following content:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.0]

@=”Upload”

“Icon”=”

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.0\command]

@=“c:\\IQRF\\IQRF_IDE_Command\\IQRF_IDE_Command.exe -p \”%1\” /Auto /Sound /Color /Confirm /Select=GUI”

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.1]

@=”Upload – autorepeat”

“Icon”=”

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.1\command]

@=“c:\\IQRF\\IQRF_IDE_Command\\IQRF_IDE_Command.exe -p \”%1\” /Auto=Repeat /Sound /Color /Confirm /Select=GUI”

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.2]

@=”Module info”

“Icon”=”

;”CommandFlags”=dword:00000020

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.2\command]

@=“c:\\IQRF\\IQRF_IDE_Command\\IQRF_IDE_Command.exe -m  /Auto /Sound /Color /Confirm /Select=GUI”

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.3]

@=”Module info – autorepeat”

“Icon”=”

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.3\command]

@=“c:\\IQRF\\IQRF_IDE_Command\\IQRF_IDE_Command.exe -m  /Auto=Repeat /Sound /Color /Confirm /Select=GUI”

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.4]

@=”Upload FLASH”

“Icon”=”

;”CommandFlags”=dword:00000020

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.4\command]

@=“c:\\IQRF\\IQRF_IDE_Command\\IQRF_IDE_Command.exe -p \”%1\” /Auto /Sound /Color /Confirm /F /Select=GUI”

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.5]

@=”Upload internal EEPROM”

“Icon”=”

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.5\command]

@=“c:\\IQRF\\IQRF_IDE_Command\\IQRF_IDE_Command.exe -p \”%1\” /Auto /Sound /Color /Confirm /EE /Select=GUI”

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.6]

@=”Uplload external EEPROM”

“Icon”=”

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.6\command]

@=“c:\\IQRF\\IQRF_IDE_Command\\IQRF_IDE_Command.exe -p \”%1\” /Auto /Sound /Color /Confirm /EEE /Select=GUI”

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.7]

@=”Errase all”

“Icon”=”

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.7\command]

@=“c:\\IQRF\\IQRF_IDE_Command\\IQRF_IDE_Command.exe -c /Auto /Sound /Color /Confirm /Select=GUI”

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.8]

@=”Factory”

“Icon”=”

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.8\command]

@=“c:\\IQRF\\IQRF_IDE_Command\\IQRF_IDE_Command.exe -Factory /Auto /Sound /Color /Confirm /Select=GUI”

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.9]

@=”List IQRF device”

“Icon”=”

;”CommandFlags”=dword:00000020

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.9\command]

@=“c:\\IQRF\\IQRF_IDE_Command\\IQRF_IDE_Command.exe -l /Sound /Color /Confirm”

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.10]

@=”Device info”

“Icon”=””

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.10\command]

@=“c:\\IQRF\\IQRF_IDE_Command\\IQRF_IDE_Command.exe -d /Sound /Color /Confirm /Select=GUI”

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.11]

@=”Support IQRF device”

“Icon”=”

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.11\command]

@=“c:\\IQRF\\IQRF_IDE_Command\\IQRF_IDE_Command.exe -s /Sound /Color /Confirm”

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.12]

@=”Version”

;”CommandFlags”=dword:00000020

“Icon”=”

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.12\command]

@=“c:\\IQRF\\IQRF_IDE_Command\\IQRF_IDE_Command.exe -v /Sound /Color /Confirm”

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.13]

@=”Updates”

“Icon”=”

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\IQRF_IDE_CMD.13\command]

@=“c:\\IQRF\\IQRF_IDE_Command\\IQRF_IDE_Command.exe -u /Sound /Color /Confirm”

You should see the item in IQRF IDE Command menu by right-clicking the Desktop or any file.

For WIN10, you can comment the lines “CommandFlags” = dword: 00000020 and use separators. Unfortunately, for WIN7, functionality is not entirely without problems. If more than two separators are used, the last menu item does not work. According to MSDN, this feature should already be supported.

 

Adding an address to the PATH variable system

Inserting the IQRF_IDE_Command application address to the PATH variable system will allow you to run this application without any restrictions from anywhere. How to do it?

Run the command line (Win+R) and then run the cmd terminal.

And set this command:

setx PATH “%PATH%;C:\IQRF\IQRF_IDE_Command”

The change will take effect only after the restart of the terminal, so close the window and open it again by Win + R, cmd and verify functionality, for example, using IQRF_IDE_Command -v

There is certainly even more effective use of the IQRF_IDE_Command, such as integrating it together with CC5x into C code editor, but this is the topic for next time. The above-mentioned options are more for the users who use the IQRF and do not create their own HEX files, or program higher layers over the IQRF. It can be a simplification for them without a need to install the IQRF IDE, creating a project, importing files, etc.

New IQRF IDE and IDE Command available

Popular software tool for management of IQRF transceivers got an update.

IQRF IDE, software tool for controlling IQRF transceivers and managing IQRF mesh network in graphical user interface, is available in new version. The update contains bug fixes, performance tweaks and adds new supported devices. For complete list od changes visit release notes.

New IQRF IDE software tool for controlling IQRF transceivers from command prompt got update too. Update is aimed on bug fixes and optimization.

Defrosting of coal wagons in Slovak powerplant

Introduction

The main goal of Austyn International was to design and deliver modern and economical system for brown coal wagons thawing in Slovak power plants – ENO Nováky. The system must use existing facilities, ensure continual and effective defrosting, minimize operating costs, reduce heat losses, increase reliability and accuracy of control.

Solution

The thawing system consists of 450 infrared heaters with 3.6 kW outpout and 108 heaters with 1.2 kW output, automatic RS AGS system, which controls thawing based on input data (on wagons and outside temperature). Data are transferred wirelessly through the IQRF mesh network.

Conclusion

Thanks to this solution (infrared heaters with 1.8 MW input power controlled by the AGS system) there is no threatened electricity production and heating for the town of Prievidza, and the risk of failure of fuel supply to boilers is reduced to a minimum. Thanks to a reliable and secure IQRF network it is possible to obtain data from a large number of sensors at once and control the infrared heaters. IQRF wireless mesh network can transfer data even under such harsh environment.

IQRF IDE Command is a new software for controlling IQRF transceivers

IQRF IDE Command is a TR programmer (uploader) running from the command line.

This new software tool is intended for experienced developers, to provide them with faster and more effective design process, or for unskilled operators, to speed up and secure the manufacturing. IQRF Simply run a batch file by a single stroke, avoiding an operator’s failure.

IQRF IDE Command is supported by transceivers (TR-5xB, TR-5xD, TR-7xD or higher), IQRF USB development kits (CK-USB-04(A), …), IQRF gateways with USB interface (GW-USB/ETH/GSM/WIFI). IQRF IDE Command works under Windows 10, Windows 8.x, Windows 7 and Vista (not tested for Windows XP).

To prevent any issues always use the latest IDE Command version from www.iqrf.org. The upgrade is very simple – just unzip the .ZIP package.

Air quality monitoring in a Prague school

Introduction

Because of the assumption that there is a bad air in schools, and therefore students have concentration problems, Protronix and his partners (O2 IT Services, IQRF Alliance, MICRORISC, Camea, …) decided to make a long-term 4-months measurement. The CO2, temperature and relative humidity values were monitored. They were continuously analyzed and finally followed by recommendations for ventilation.

Solution

This solution consists of 10 combined sensors of CO2, temperature and relative humidity, and an IQRF wireless mesh network for data transfer, a gateway enabling data transfer from the IQRF network to TCP/IP network, a data storage and a web application with visualization of measured data.

Conclusion

As a result, it was found that minimum recommended values of relative air humidity had not been reached for most of the schooltime and maximum allowed CO2 values had been exceeded for almost half of the time. These variables and their values are directly linked to the concentration and health of students.

The IQRF network is easy to install, so installation of all sensors and their subsequent removal took place within a very short time without disturbing the teaching. The entire large school for 600 students was covered by a network with 10 hops, although the IQRF network has more than 240 hops. Extention of additional sensors would be easy.

Visit www.iqrfalliance.org for more cool case studies.

DAVOS MATRIX by CTI Software brings AI to IoT

Last year DAVOS MATRIX started its presence within IoT as an intelligent service that can call you on your mobile phone as soon as the emergency situation detected by wireless sensors develops. Now it has made a big step forward integrating the IQRF wireless technology.

Thanks to the presence of the IQRF wireless technology, the system has completely new functionality. Our intelligent lighting control allows remote management of public lighting and industrial luminaires, including monitoring of unusual operating conditions. It is designed for all types of luminaires.

In addition to automatic behavior of the lighting system, it is possible to change the settings of individual luminaires manually by an authorized user. If the luminaire provides the option of adjusting various lighting intensities (dimming), this parameter can be changed as well.

The control unit (including IQRF gateway) communicates with all the luminaires wirelessly via the IQRF meshnetwork. At a short point in time, it sends all the IQRF receiving modules in the luminaires requests to change settings or query the current status. The IQRF receiving modules send back to the control unit responses to its requests and, moreover, transmit all memorized error states since the last communication.

IQRF receiving module can be placed directly inside the luminaire’s construction if the dimensions allow it, or attached to a plastic pocket above the luminaire (via the NEMAconnector). The receiving module checks the connected luminaire for its functioning. At defined intervals, the drawn current is measured. It can then evaluate deterioration or degradation of the luminaire in order to prevent an early failure.

Next to this project we plan to use the IQRF technology also in our air quality sensors as it is the best solution for local stationary deployments. Together with our telephonyalarmnotification service DAVOS MATRIX can bring an excellent added value for many IQRF based devices and solutions.

DAVOS MATRIX in Products section.