How to Send GPS Data to a PHP Server

Hello, we need some guidance on how to send GPS data to our server for a tracking device we are creating for our project. The project consists of a NEOGPS6, SIM800L V2 and Arduino Uno device. The problem we seem to have is sending the data over to the server. We have two different programs, one with a send function, and one with our AT commands which are establishing a connection. The code that has the send function seems to not print out any AT commands and looking at my SIM card, is not making a connection. What can be done to rectify this. Attached are the 2 pieces of code along with sample output from both programs. Any and all help is appreciated!

GPS_3-25-21.ino (3.23 KB)

Here are the other attachments

GPS_3-26-21R2.ino (4.57 KB)

Attaching code as .ino file is a good way to lower the number of helpers reading Your question. Phones, tablets... usually don't run the IDE needed. Read the first topic "How to use this Forum", especially #7.

Use Serial monitor and debug print outs like Serial.print to find out what's happening in the code.
Does the execution not execute the sending or does it send rubbish? Serial.print can tell.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.