- Thu Feb 09, 2017 11:48 am
#62309
Hi,
This is certainly possible. I have successfully programmed a robotics bytecode interpreter on an ESP8266 over http from a browser. The user interface was Google Blockly, but this generated Logo, which was compiled (into a VM assembly language then assembled) using JavaScript, to bytecodes in JSON. This json was POSTed to the 8266 web server. Since the toolchain is JavaScript it sould be able to integrate with Scratch, and it has always been in the back of my mind to do just that.
That was over a year ago, and my focus moved to other platforms including more recently the ESP32. I am currently working on getting my newer code working on the 8266 again, but am having some issues with memory usage with the newer SDK. Hopefully that will be sorted, but in the worst case I might have to regress back to the old SDK I used way back.
So, if you don't find some other solution then watch this space. In the meantime does it have to be an ESP8266? You have the robot built? If not then the ESP32 might be a better option. Not quite as cheap as the 8266 but still very reasonable. Much more I/O to play with. Would a Blockly programming environment do, or have you already invested in Scratch. Scratch is on my list, but the VM and Blockly are my priority at the moment.
If you are interested then we can converse off list. So much is happening in this field at the moment and you will probably find another solution anyway.
Regards,
Murray