In recent days, I wrote about low cost MCU boards such as the $2 BluePill, and the One Dollar Board project, but several people commented that while the board themselves are very cheap, it might still be a problem in some developing countries, where access to computers cannot be taken for granted. So person suggested that such initiative would work better in some countries if programming was possible via a smartphone instead. Is that true?
Anyway ideally a low cost board should support both computer and smartphones or cellphone with a web browser. 陳亮 has provided instructions to program ESP8266 WiFi boards with Lua using the web browser of his smartphone, for people who may want to program on the go, but this may also be useful for educators in developing countries.
- Build and download NodeMCU firmware with your required modules @ http://nodemcu-build.com/
- Flash NodeMCU firmware using a computer via a USB to TTL board
- Download the web server code based on Marcos Kirsch’s nodemcu-httpserver with Lua editor on Github.
- Configure the firmware with serial port and WiFi details
- Run NodeMCU uploader to load nodemcu-httpserver to the board
- Connect the board acting as an access point, and type the board’s IP in a web browser to start coding on your smartphone or other device with a web browser.
This solution would also work in locales where electricity is unreliable, as ESP8266 could run on batteries, and the phone already has its own.
Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.
|Support CNX Software - Donate via PayPal, become a Patron on Patreon, or buy review samples|