In this post we will show you how to connect IQRF Dev Board to the IQRF network as a node and how to manage it from IQRD IDE. The network is build on IQRF eval kit where the coordinator is connected directly to your computer.
IQRF development board helps you to design IOT devices within IQRF wireless network. Simply connect sensor or actuator you wish to, join the board to IQRF network and device is ready. If you are satisfied with such working device scale IQRF Board layout to final product and your IOT product is done.
Just one – working IQRF network. If you do not have any network around you, just simply create new one with this tutorial How to start with IQRF.
During our work we will refer to items of board like jumpers and pins. Here you can see the layout scheme.
Before any work with board ensure that JP6 (battery connection) and JP1 (Power to transceiver) are off. Then insert battery and IQRF tranceiver to board.
IQRF board does not have included programmer therefore you have to programm it via IQRF IDE and CK-USB-04A hardware programmer available in IQRF starter kit.
In the picture you see the wiring schema, or you can simply use programming cable delivered with IQRF Dev board.
Here is a procedure of connectivity:
- Unplug USB cable from CK-USB-04A
- Make sure that in CK-USB-04A SIM is empty, coordinator IQRF module is removed.
- Make sure that IQRF Dev Board is disconnected from microUSB (power charging) and JP6=OFF.
- Unplug TR module JP1=OFF.
- Make wiring or connect programming cable.
- Plug JP4=ON, JP1=OFF.
- Plug micro-USB to IQRFBB-10 to power-on. Indication LD1=ON (charging battery), LD4=ON.
- Plug micro-USB to CK-USB-04A
- Now the board is ready for software load.
If we are talking about software loading, we always mean loading software to IQRF transceiver TR-76D mounted on IQRFBB-10. Via software load you configure transceiver within IQRF network. Now we will configure board (transceiver) as a node of IQRF network.
General procedure of software load is this:
- Make sure that you made a proper wiring and both USB power sources (programmer + board) are on.
- Now you can upload DPA configuration and plug-in, just the same as you uploaded to other IQRF nodes. This procedure is described here.. Do not put any IQRF module into CK-USB-04A programmer SIM!
- Uploading data into transciever is signalized by LD3 diod on IQRF Dev board.
- Unplug micro USB of CK-USB-04A programmer
- Unplug micro USB of IQRF Dev Board.
- Unplug CK-USB-04A from IQRFBB-10.
Bond to Network
Bonding means a connection of wireless node to IQRF network. Generally we described it here. With IQRF Dev Board you can do it this way:
- Turn on battery power JP6 = ON. Diod indicating power on is LD4 = ON.
- Turn TR module power JP1 = ON.
- Insert IQRF coordinator to CK-USB-04A SIM holder.
- Connect CK-USB-04A to USB of your computer.
- Open IDE, then menu start Tools/IQMESH Network Manager and fill out the dialogue as shown (TX power, Auto address, …).
- Then pres Clear All Bonds for remove any previous bonded modules. Red LEDs of modules are blinking, at IQRF Dev Board it is diod LD3.
- If the RED LED are not blinking either on modules or IQRF Dev board we suggest to make hardware unbonding. For IQRF nodes in eval boards it is described here.. For IQRF Dev Board it is a little bit tricky – connect EQ12 and GND, then shortly remove JP1 and return it. Then green LD2 is ion, once it turns off release EQ12 and GND. Then LD3 starts flashing.
- Then pres Bond Node in IDE and during bonding period press and hold SW1 button at one node until green diod turns on. Repeat for each node. At IQRF Dev Board the SW1 is an external contact EQ12, GND, red diod is LD3 and green diods is LD2.
- Now you should see yellow spots indicating successful bonding. Now click Discovery and spots are in blue.
- Switch in IDE to Map View and you should see node structure something like in the picture.
- Try to turn on LD3 (RED diod) on IQRF Dev Board. Click right mouse button on spot indicating board (it depends on the bonding order) and select LED Red On.
Then the LD3 = ON on the board. The same way you can turn LD3 off.
Congratulations! Your first IQRF wireless device is working now. 🙂