ESPToy 1.2 for easier Easier start with ESP8266

It seems that ESP8266 WiFi module is successfully building a community around itself. And there are dozens of reasons for that. First of all – module is really cheap, then it can connect things to internet via WiFi and lastly it can be programmed as stand alone microcontroller by using Lua language. So it dives quite some opportunities. Ray recently discovered its potential. In the beginning he was playing with this module like with any other unit which accepts AT commands from host controller and does bring WiFi connectivity. But then he gave a try to its programming capability. Of course there is an initial hustle to flash it with Lua firmware that enables it to be programmed with scrips (there is even an Arduino IDE for scripting). Then he thought that this module could be wrapped with some hardware to make things much easier for starters, so he built ESPToy board which plugs ESP8266 module with programmed Lua firmware, then it carries USB to serial converter for easier interfacing to PC, additional there are button and RGB LED. Continue reading

eLua code editor runs on ARM

If you are not familiar with eLua you should take a look at Simply speaking eLua is an embedded program running inside microcontroller which is capable to run code written in Lua language. This is simple programming/scripting language which is fast and lightweight. It doesn’t need any operating system rather it’s a bare-metal software. So it runs fast, takes small amount of RAM. So this is a nice candidate for embedded projects. Some time ago Karl has shown mbed platform running eLua. It proved it’s efficiency. The only annoying thing in running Lua programs, that in order to edit or create new program, they had to be loaded from PC in to SD and then run. Eventually he started to look for faster options and decided to write a simple editor which would run in microcontroller itself. He wrote editor in same Lua language which is about 440 lines of code. Editor is capable to perform many basic operations like scroll, delete, insert, copy, cut paste and finally execute the code. Editor runs through terminal screen where programs can… Continue reading