Hello, I made a projecto with Arduino Uno to control when people enter in my gym, Im using a NFC sensor (as you can ser in the picture) to control ir, I can send all Im using but I dont think thats relevant.
When people pass the card it should add a new entrance in MySQL Database (phpmyadmin) and then appear in the computer, thats actually happening but Im using another program called processing, plus the Arduino program. The problem is, that program and the refresh rate that I have to use in the webpage (JavaScript+HTML+PHP) is making the computer super slow and almost impossible to use, is there anyway to use the Arduino program to add directly to a Database or send something to refresh a webpage? Any ideas are welcome, even if you have any idea on what to Change in the processing program or Java/PHP/HTML etc (if I cant ask about this here sorry)
I prefer for the MCU not have direct access to the Internet. All my remote ESP32's use MQTT to send and receive information from a MQTT Broker running on a RPi. The RPi is the unit that communicates with the MySQl dB and the ESP32's
Not being familiar with the code, the web site, the database, and a few other things that you have done, I do not know if your code is missing anything.
BTW, please use code tags.
As a note, I do not use the MySQl connector. I do not allow my ESP32's access to the internet.