Hello guys, how are you?
First of all, sorry if I write something wrong, I'm not fluent in english.
Now, here is my purpose:
I'm doing a project with Arduino that is something like a medicine box, that have slots where you can deposite some pills. It will be a circular structure, where a servomotor will rotate when the real time hour be the same as programmed. I have a page using HTML and PHP, where I want to set the times and send it to Arduino via Ethernet.
Resuming: when the correct hour reach, it will do the action.
My problem is: I'm new in Arduino and in PHP. I searched a lot projects that has the same objective, but normally is Arduino sending strings to pages, or Arduino creating his own page in the code.
I received my W5100 Ethernet Shield 2 days ago, and I'm testing it to know better how it works. I got working the NTP/UDP code available here in the official tutorials (https://www.arduino.cc/en/Tutorial/UdpNtpClient), and turned on a Led using the clock.
Could you guys give me a path to follow, say me the best way (and easiest, if possible) to reach my goal. I would be happy if could transmit 2 strings (hour and minute) from PHP database to Arduino, and it turn on a led if the data transmited is the same as NTP hour.
Thank you for reading, bye!