Temperature and Humidity Parameters
•
Step 1
: Enter the APPLICATION created in TTN, click on the data
page to view the reported data
Страница 1: ...K BPSK G MSK LoRa modulations Grove LoRa E5 can endow your development boards strong features of ultra long transmitting range by easily plug and play with Grove connector on board As an upgrade of our old version Grove LoRa Radio powered by RFM95 ultra long range Transceiver Module Grove LoRa E5 embedded with LoRa E5 STM32WLE5JC Module is a high performance and easy to use wireless radio LoRa mod...
Страница 2: ...ki More comparison between the LoRa E5 and RFM95 chip By connecting Grove LoRa E5 to your development boards your devices are able to communicate with and control LoRa E5 conveniently by AT command through UART connection Grove LoRa E5 will be a superior choice for IoT device development testing and long distance ultra low power consumption IoT scenarios like smart agriculture smart office and sma...
Страница 3: ...ng range up to 10km Ideal value in open space Easy control by AT command via UART connection Rapid prototyping with plug and play Grove interfaces Ultra low power consumption and high performance Harware Overview 1 LoRa E5 STM32WLE5JC Datasheet 2 MHF IPEX Connector 3 Wire Antenna 4 Grove Connector 5 LED Indicators ...
Страница 4: ...upply 3 3V 5V Power Output Up to 20 dBm at 3 3V Working Frequency 868 915MHz Protocol LoRaWAN Sensitivity 116 5dBm 136dBm Modulation LoRa G FSK G MSK and BPSK Current Only 60uA in sleep mode Size 20 40mm Working Temperature 40 85 Part List Grove LoRa E5 PCBA 1 Grove Universal Cable 1 ...
Страница 5: ...midity parameters from the environment and send them back to TTN The flashing LED lights on the Seeeduino Xiao indicate the status of the temperature and humidity sensor as connecting to TTN cloud Attention Please ensure the consistent of the frequency band among the end nodes gateway and TTN configuration you are using by following this instruction The frequency plan this demo applied is for EU86...
Страница 6: ...E5 module directly to the UART slot Step 2 Put DH11 into the A0 D0 socket As shown below Step 3 Download the code please refer to the software part Software Preparation Notes If this is the first time you work with Arduino we strongly recommend you to see Getting Started with Arduino before the start Click to learn about detail about how to install an Arduino Library Download Library Step 1 Instal...
Страница 7: ...IN_NONE U8X8_SSD1306_128X64_NONAME_SW_I2C u8x8 clock SCL data SDA reset U8X8_PIN_NONE OLEDs without Reset of the Display static char recv_buf 512 static bool is_exist false static bool is_join false static int led 0 static int at_send_check_response char p_ack int timeout_ms char p_cmd int ch int num 0 int index 0 int startMillis 0 va_list args memset recv_buf 0 sizeof recv_buf va_start args p_cmd...
Страница 8: ...snr 0 p_start strstr p_msg RX if p_start 1 sscanf p_start RX d r n data Serial println data u8x8 setCursor 2 4 u8x8 print led led data u8x8 print led if led digitalWrite LED_BUILTIN LOW else digitalWrite LED_BUILTIN HIGH p_start strstr p_msg RSSI if p_start 1 sscanf p_start RSSI d rssi u8x8 setCursor 0 6 u8x8 print u8x8 setCursor 2 6 u8x8 print rssi u8x8 print rssi p_start strstr p_msg SNR ...
Страница 9: ... at_send_check_response ID AppEui 1000 AT ID r n at_send_check_response MODE LWOTAA 1000 AT MODE LWOTAA r n at_send_check_response DR EU868 1000 AT DR EU868 r n at_send_check_response CH NUM 1000 AT CH NUM 0 2 r n at_send_check_response KEY APPKEY 1000 AT KEY APPKEY 2B7E151628AED2A6ABF7158809CF4F3C r n at_send_check_response CLASS C 1000 AT CLASS A r n at_send_check_response PORT 8 1000 AT PORT 8 ...
Страница 10: ... Serial print t Serial print Temperature Serial print temp Serial println C u8x8 setCursor 0 2 u8x8 print u8x8 setCursor 2 2 u8x8 print temp u8x8 print temp u8x8 setCursor 2 3 u8x8 print humi u8x8 print humi if is_exist int ret 0 if is_join ret at_send_check_response JOIN Network joined 12000 AT JOIN r n if ret is_join false else at_send_check_response ID AppEui 1000 AT ID r n Serial print JOIN fa...
Страница 11: ... recv_prase recv_buf else Serial print Send failed r n r n delay 5000 else delay 1000 TTN Console Configuration Setup Step 1 Load into TTN website https www thethingsnetwork org and create your account then access Console and first click on APPLICATIONS Step 2 Add an Application Application ID Enter a unique name ...
Страница 12: ... Description Enter a description Handler registration select the same handler as the gateway router Select Add Application to continue Step 3 Add a decoding script to the application and save ...
Страница 13: ... bytes 0 8 bytes 1 decoded humi bytes 2 8 bytes 3 return decoded Step 4 Add Grove LoRa E5 device to the TTN Console Run the downloaded program module view the DEVEUI and APP EUI of the LoRa E5 module through the serial port 1 Add these two EUIs to the application ...
Страница 14: ...r the registered device page 1 Device ID Enter a unique name 2 Device EUI Select the E5 dev EUI 3 APP KEY Use this APPkey 2B7E151628AED2A6ABF7158809CF4F3C 4 App EUI Select the E5 App EUI Step 6 Gateway Registration on TTN Console ...
Страница 15: ...Please refer to the instruction shown in The Things Indoor Gateway wiki page The Things Indoor Gateway Get Started with SenseCAP Step 7 Review Result you can check the readings via the Serial Monitor ...
Страница 16: ...Temperature and Humidity Parameters Step 1 Enter the APPLICATION created in TTN click on the data page to view the reported data ...
Страница 17: ... Step 2 LED control Enter the current device control page Send the specified data in the DOWNLINK window Send 01 to turn on LED light Send 00 to turn off ...
Страница 18: ...5 AT Command Specification STM32WLE5JC Datasheet Certifications LoRa E5 HF Certification CE VOC RED LoRa E5 HF FCC Certification DSS LoRa E5 HF FCC Certification DTS Relevant SDK STM32Cube MCU Package for STM32WL series Tech Support Please submit any technical issue into our forum https wiki seeedstudio com Grove_LoRa_E5_New_Version ...