I'm doing a project with Arduino Uno and the Sim900 module. I want to do a query to a MySql server with PHP and the Arduino code. Could you help me doing the Arduino code? I've already written the database connection and the query with PHP, the only thing I need is to do the query, read the answer of the database and print them in the serial monitor. If it helps me, I will mark as the best answer. Thanks
Asked
Active
Viewed 92 times
2
-
1you may make `POST` or `GET` requests from sim900 to your PHP app on the server, which can then interact with the MySQL DB and execute commands and return responses. – dmSherazi May 20 '19 at 05:35
-
Have a look at this post https://www.allaboutcircuits.com/projects/using-a-sim900a-to-send-sensor-data-to-a-website/ – dmSherazi May 20 '19 at 05:37