I want to know if there is a possibility of a serial communication between a web interface in PHP and my arduino uno.
I want to know if there is a possibility of a serial communication between a web interface in PHP and my arduino uno.
Maybe. PHP can communicate with the serial port. Your Arduino can communicate with the serial port. Whether you can connect your Arduino to the serial port of the server that PHP is running on remains to be seen.
Typically, the Arduino would be used as a web server, and the communications would be via http, and no PHP would be involved.
Or the Arduino would be a client, making GET requests to the server, but then there is no user interface.
PaulS:
I want to know if there is a possibility of a serial communication between a web interface in PHP and my arduino uno.
Maybe. PHP can communicate with the serial port. Your Arduino can communicate with the serial port. Whether you can connect your Arduino to the serial port of the server that PHP is running on remains to be seen.
Typically, the Arduino would be used as a web server, and the communications would be via http, and no PHP would be involved.
Or the Arduino would be a client, making GET requests to the server, but then there is no user interface.
thanks Pauls,
in my project I have to visualize the output of the arduino in a website that is in the intranet, I'm not good in asp.net! and I don't know if with php it will be easier !!
in my project I have to visualize the output of the arduino in a website that is in the intranet
Visualize it how? It seems to me that, in your case, the Arduino should be wearing an Ethernet shield, and should be acting as a server. It should NOT be pushing information anywhere.
PaulS:
in my project I have to visualize the output of the arduino in a website that is in the intranet
Visualize it how? It seems to me that, in your case, the Arduino should be wearing an Ethernet shield, and should be acting as a server. It should NOT be pushing information anywhere.
this is exactly what I proposed, but for now I have an application desktop in c# and I can see the output of the Arduino using a simple program , how will be the procedure for storing the output of the arduino every once in a database if I use with the ethernet shield??
but for now I have an application desktop in c# and I can see the output of the Arduino using a simple program
So, what's the problem with this? Why do you think you need PHP?
how will be the procedure for storing the output of the arduino every once in a database if I use with the ethernet shield??
"every once in a database"? The words are correctly spelled, but the order makes no sense.
What database? Handwaving will get you exactly nowhere.