This is a framework support for php control arduino

The php framework support control electronic board like be Arduino, Atmega2560, Uno Nano ...etc

Currently it's not completed but you can consider if interested in then let's go together. We need a some members.

You are really only work with PHP in this framework

Interesting project !
I forked your git and submit some suggestions (pull request) for further dev.

Will it ever be?

PHP is a scripting language that's typically compiled at run-time. Given the limitations of boards like Arduino Nano, UNO etc., this is evidently not feasible in a typical low-end microcontroller environment. On platforms like ESP32, it's conceivable that some dressed-down, minimal variant of PHP could run.

Or is the plan here to have some kind of interface run on the Arduino that makes the hardware functions available through an API so that a host computer connected through UART can control them using PHP scripts? If that's the case, have you thought about the feasibility of such an interface, and how its limitations relate to the functionality of the platform? After all, there will be clear limits to what functionality you can make available through a generic interface; in fact, even the Arduino core itself hits upon such limitations regularly and proves how hard (impossible) it is to really unlock everything a particular controller has to offer to the user.

In any case, the question would primarily be - why? To suit the needs of high-level programmers on more powerful platforms, there's already Python. PHP was very specifically intended for web development and this is what it continues to be used for. Theoretically, you could butcher and sculpt it to do other things, but why force-fit PHP into something it was never designed to do, let alone do particularly well?

I've had a quick peek at your GitHub repo and so far I don't get any answers on these questions. There's nothing there that will actually work on a board and make a LED blink. There's no hint whatsoever of how the crucial step from written scripts to executable machine code will be made. There's no information at all about what the project is intended to achieve.

So maybe you could fill us all in on the actual plan, thoughts about feasibility, purpose etc. behind this.

I think this is the idea.

Diagramm1

You need two projects:

When looking at the latter one, I wonder how the protocol will be extended.

...I see a virtually empty placeholder.
The whole PIOT thing only exists on that one GitHub page. As far as I can tell, the whole thing is tautological. It's supposed to work because it's supposed to work and it'll work if someone drops by who will make it work, which will make it a success.

It's a bit like those 'inventors' whose invention consists of "a device that makes an unlimited amount of free energy", with the only missing components being the technical implementation and underlying physics. But hey, we've got all the rest covered....

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.