receive data using cytron lora shield and send to thingspeak using esp8266 wifi

Hi, everyone. I am currently a final year student who is doing fyp project. currently i am using two lora shield, one as transmitter and another one as receiver. i have successfully transmit the data from one lora to another lora. beside, i also success to transit data from my arduino to thingspeak using esp8266 wifi module.
however, when i combine the code of lora receiver and wifi, i found out that after i initialize the lora shield, the at command for the esp8266 cant function. it make me can receive from lora and send via wifi. any guidance on how to solve this problem?

Chiang0430:
it make me can receive from lora and send via wifi. any guidance on how to solve this problem?

You probably need to study your code.

The forum cannot help you there, we dont know the code you are using (hint).

i have study on it, every time i initialize my lora shield, the AT command after it is fail to function. is AT command contradict with other code?

Please post your full sketch.

If possible, you should always post code directly in the forum thread as text using code tags:

  • Do an Auto Format (Tools > Auto Format in the Arduino IDE or Ctrl + B in the Arduino Web Editor) on your code. This will make it easier for you to spot bugs and make it easier for us to read.
  • In the Arduino IDE or Arduino Web Editor, click on the window that contains your sketch code.
  • Press “Ctrl + A”. This will select all the text.
  • Press “Ctrl + C”. This will copy the selected text to the clipboard.
  • In a forum reply here, click on the reply field.
  • Click the </> button on the forum toolbar. This will add the forum’s code tags markup to your reply.
  • Press “Ctrl + V”. This will paste the sketch between the code tags.
  • Move the cursor outside of the code tags before you add any additional text to your reply.
  • Repeat the above process if your sketch has multiple tabs.

This will make it easy for anyone to look at it, which will increase the likelihood of you getting help.

If the sketch is longer than the 9000 characters maximum allowed by the forum, then it’s OK to add it as an attachment. After clicking the “Reply” button, you will see an “Attachments and other settings” link.

When your code requires a library that’s not included with the Arduino IDE please post a link (using the chain links icon on the forum toolbar to make it clickable) to where you downloaded that library from or if you installed it using Library Manger (Sketch > Include Library > Manage Libraries in the Arduino IDE or Libraries > Library Manager in the Arduino Web Editor) then say so and state the full name of the library.

I am using the online code
the code for data connection to thingspeak is from Using the ESP8266 WiFi Module with Arduino Uno publishing to ThingSpeak | by Christopher Grant | Medium
and the code for receiver of lora shield is from Arduino Sketches Overview - Point-to-point Communication of Arduinos with RFM LoRa Shield