2025-08-31 2:34 PM
Hi everyone,
I’m working on a small project where I want an STM32-based device to communicate with a PHP server that hosts a tool. The idea is that the device sends/receives status checks through a simple API, and the server handles all the backend logic.
Right now, the server side is already working — I built a status-check tool in PHP that runs on a hosted server — but I’d like to experiment with connecting an STM32 board to interact with it.
My questions are:
What’s the best way to set up communication from STM32 firmware to a PHP server? (HTTP client, MQTT, or something else?)
Are there any recommended STM32 libraries for making simple web requests securely?
Would mbedTLS be overkill here if I just need basic HTTPS requests?
I’d love to hear if anyone has tried integrating STM32 projects with PHP or web servers like this. Any suggestions on the tools or workflows you use would be awesome.
Thanks!