IQRF click
IQRF click
Share
IQRF click carries the DCTR-76DA RF transceiver, operating in the 868/916 MHz frequency. The click is designed to run on a 3.3V power supply. It communicates with the target microcontroller over SPI or UART interface, with additional functionality provided by the following pins on the mikroBUS™ line: AN, RST, PWM, INT.
Module features
DTCR-76DA is an RF transceiver operating in the 868/916 MHz license-free ISM (Industry, Scientific, and Medical) frequency band. Its highly integrated ready-to-use design containing MCU, RF circuitry, serial EEPROM and optional onboard antenna requires no external components.
How the click works
RF transceiver modules DCTR-72DA fit in the SIM connector. They are fully programmable under IQRF OS operating system and allow to utilize hardware profiles under DPA framework.
To upload application codes in DCTRs and configure DCTR parameters, CK-USB-04A kit is intended. When the application is uploaded to the IQRF it can be put in microBUS™ socket and communicate with it with MCU.
Specifications
Type | RF Sub 1GHz |
Applications | Point-to-point or network wireless connectivity, Telemetry, AMR (automatic meter reading), WSN (wireless sensor network), Building automation, Street lighting control, etc. |
On-board modules | DCTR-76DA RF transceiver |
Key Features | Selectable RF band 868 / 916 MHz, multiple channels |
Interface | UART,Analog,GPIO,SPI |
Input Voltage | 3.3V |
Compatibility | mikroBUS |
Click board size | S (28.6 x 25.4 mm) |
Pinout diagram
This table shows how the pinout on IQRF click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Programming
Code examples for IQRF click, written for MikroElektronika hardware and compilers are available on Libstock.
Code snippet
This code snippet contains receiver and transmitter code for IQRF click board working with Thermo K click. When in transmit mode, MCU reads the temperature from Thermo K and if a certain threshold has been reached, byte data is sent to IQRF board via UART communication. Then, IQRF is broadcasting that byte to every other IQRF within range. Every Other IQRF click board is receiving that byte via RF communication and sending data to his local MCU via UART. Every event is displayed on easyTFT.
01 while(1) 02 { 03 #ifdef __TX__ 04 05 status = &Read_MCP9600_Status; 06 Temp_Data_Ready = (status & 0x40); 07 08 temp = Read_Temperature(); 09 10 if (Temp_Data_Ready) 11 { // Check is Temperature Data ready 12 sprintf(txt, "%2.1f C", temp); // Format Temperature Data and store it to txt 13 res = strcmp(txt,old_txt); // Compare old_txt and txt 14 15 if(res != 0) // If old_txt and txt are not equal 16 { 17 updateLabel(txt, 135, 90, lab1); // Write temperature value on display 18 strcpy(old_txt,txt); // Copy txt to old_txt string array 19 } 20 } 21 22 if (temp <= LOW_TEMP_POINT) // If low temperature point has been reached 23 { 24 if (!low_point_reached) 25 { 26 UART3_Write_Text("L"); // Send byte via UART 27 } 28 low_point_reached = true; 29 30 } 31 else if (temp >= HIGH_TEMP_POINT) // If high temperature point has been reached 32 { 33 if(!high_point_reached) 34 { 35 UART3_Write_Text("H"); // Send byte via UART 36 } 37 high_point_reached = true; 38 39 } 40 else 41 { 42 low_point_reached = false; 43 high_point_reached = false; 44 } 45 Delay_ms(500); 46 #endif 47 48 #ifdef __RX__ 49 50 TFT_Set_Font(&HandelGothic_BT21x22_Regular, CL_BLACK, FO_HORIZONTAL); 51 52 // Writing warnings on display 53 if(high_point_reached) 54 { 55 TFT_Set_Font(&HandelGothic_BT21x22_Regular, CL_RED, FO_HORIZONTAL); 56 high_point_reached = false; 57 TFT_Write_Text("HIGH ", 130, 100); 58 Delay_ms(2000); 59 TFT_Set_Font(&HandelGothic_BT21x22_Regular, CL_WHITE, FO_HORIZONTAL); 60 TFT_Write_Text("HIGH ", 130, 100); 61 } 62 if(low_point_reached) 63 { 64 TFT_Set_Font(&HandelGothic_BT21x22_Regular, CL_BLUE, FO_HORIZONTAL); 65 low_point_reached = false; 66 TFT_Write_Text("LOW", 130, 100); 67 Delay_ms(2000); 68 TFT_Set_Font(&HandelGothic_BT21x22_Regular, CL_WHITE, FO_HORIZONTAL); 69 TFT_Write_Text("LOW ", 130, 100); 70 } 71 #endif 72 } 73 74 }
Featured collection
-
Sold out
Crazyflie V2.1
Vendor:Regular price Rs. 24,949.00Regular priceUnit price / perSold out -
Getting Started Bundle
Vendor:Regular price Rs. 26,399.00Regular priceUnit price / per -
Happy hacker bundle
Vendor:Regular price Rs. 33,599.00Regular priceUnit price / per -
STEM ranging bundle
Vendor:Regular price Rs. 43,999.00Regular priceUnit price / per -
Lighthouse explorer bundle
Vendor:Regular price Rs. 89,999.00Regular priceUnit price / per -
Lighthouse positioning deck
Vendor:Regular price Rs. 9,899.00Regular priceUnit price / per -
Lighthouse V2 base station
Vendor:Regular price Rs. 30,349.00Regular priceUnit price / per -
Lighthouse swarm bundle
Vendor:Regular price Rs. 425,899.00Regular priceUnit price / per -
Loco explorer bundle
Vendor:Regular price Rs. 187,999.00Regular priceUnit price / per -
Loco positioning deck
Vendor:Regular price Rs. 9,899.00Regular priceUnit price / per -
Loco positioning node
Vendor:Regular price Rs. 18,699.00Regular priceUnit price / per -
Loco Swarm Bundle
Vendor:Regular price Rs. 529,609.00Regular priceUnit price / per -
Active marker deck
Vendor:Regular price Rs. 16,499.00Regular priceUnit price / per -
Motion capture marker deck
Vendor:Regular price Rs. 659.00Regular priceUnit price / per -
AI-Deck 1.1
Vendor:Regular price Rs. 27,999.00Regular priceUnit price / per -
AI-Deck Color Camera Module
Vendor:Regular price Rs. 2,199.00Regular priceUnit price / per -
AI-deck monocrome camera module
Vendor:Regular price Rs. 2,199.00Regular priceUnit price / per -
Flow deck v2
Vendor:Regular price Rs. 5,499.00Regular priceUnit price / per -
Crazyflie Bolt
Vendor:Regular price Rs. 21,999.00Regular priceUnit price / per -
Thrust upgrade bundle for Crazyflie 2.X
Vendor:Regular price Rs. 1,949.00Regular priceUnit price / perSold out -
Qi 1.2 wireless charging deck
Vendor:Regular price Rs. 3,849.00Regular priceUnit price / per -
7 mm DC-motor
Vendor:Regular price Rs. 439.00Regular priceUnit price / per -
Male long deck connector
Vendor:Regular price Rs. 219.00Regular priceUnit price / per -
250mAh LiPo battery
Vendor:Regular price Rs. 659.00Regular priceUnit price / per -
6 mm DC-motor
Vendor:Regular price Rs. 329.00Regular priceUnit price / per