![]() ![]() If I am writing my browser side apps in JavaScript that means that we can assume a programmer is already familiar with that language. It seems (opinion) that the language of browsers is JavaScript with connectivity via HTTP (REST) and data format of JSON. ![]() If I needed power and a full OS, I’d probably look at a Raspberry PI … so why then would someone want to use an ESP8266? The answer (to me) is that they want to connect to the Internet … and for a large number of applications, that means browser based interaction. If my needs were more electronics based, I’d look at an Arduino. However, and this is where we get into religion, to me the “secret sauce” of the ESP8266 as an MCU is that it is a first class WiFi device for a few dollars. Some are frivolous in that (for me) working on the ESP8266 is a hobby and fun so since there is no personal compensation for doing work I don’t want to do … I do work that I do want to do (a JS port in this case). I mention this as one post asked why effort was being spent on a JS port when effort could be better spent on better docs … I think the answer to that one is that both are being done.Īs for why JS? There are many answers to that. I was one of the chaps doing a lot of coding on the port … however … prior to that … I spent months writing up a book on the ESP8266 ( ). To my mind, choices of programming languages come close to religion and no-one is going to be happy until all languages are everywhere. Posted in Microcontrollers Tagged ESP, ESP8266, Espruino, javascript Post navigation He’s set up an Espruino board on the ESP8266 community forum, that should eventually be filled with new examples of JavaScript running on an ESP. There are samples of JavaScript running on the ESP available, and binaries that can be flashed onto an ESP are available here. Right now the JS interpreter for the ESP is in testing, with expectations high that everything will be brought over into the main branch of the Espruino firmware. This interpreter runs on dozens of different microcontrollers, but being the latest, greatest, and most popular new microcontroller platform means a new solution for the ESP is very, very exciting. This build is based on the Espruino firmware, a JavaScript interpreter for microcontrollers. It’s taken months of work, but finally there’s an open source version of JavaScript available for the ESP8266. Lua is okay, but a real win would be a JavaScript interpreter for this tiny WiFi platform. It’s a microcontroller platform unto itself, with a real development environment and support for the scripting language Lua. It was released a little more than a year ago, and since then developers and hardware hackers have turned the ESP into much more than a serial to WiFi bridge. The ESP8266 is a popular WiFi chip that provides a relatively transparent connection between the TX and RX pins of a microcontroller and a WiFi network. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |