Page 1 of 1

Lua RTOS

Posted: Wed Nov 23, 2016 7:43 pm
by luartos
We are glad to announce a preview of Lua RTOS for ESP32. Lua RTOS is the main-core of the Whitecat ecosystem, that is being developed by a team of engineers, educators and living lab designers, designed for build Internet Of Things networks in an easy way.

There are many things to do, but for the moment the following is available:

* Lua 5.3.2 interpreter at the top
* Lua Threads
* LMIC LoRa WAN stack
* GPIO driver
* SPI driver
* SD Card driver
* FAT files ystem
* SPIFFS file system
* TFT ST7735 driver

Lua RTOS is available as an esp-idf component in https://github.com/whitecatboard/Lua-RTOS-ESP32

Best regards,

Lua RTOS team

Re: Lua RTOS

Posted: Wed Nov 23, 2016 10:21 pm
by WiFive
Thanks for sharing. Maybe should be in the Showcase forum?

Re: Lua RTOS

Posted: Thu Nov 24, 2016 12:55 pm
by luartos
You are right.

Post have been submitted to Showcase forum.

Thanks,

Lua RTOS team

Re: Lua RTOS

Posted: Thu Nov 24, 2016 9:36 pm
by ESP_Angus
Awesome project, Lua RTOS team! Nice work.

For clarity, I've moved the original topic here and removed the duplicate.

Re: Lua RTOS

Posted: Tue Nov 29, 2016 10:41 am
by luartos
LoRa WAN support updates,

Now ABP end-point activation is supported in Lua RTOS.

https://github.com/whitecatboard/Lua-RT ... e4d187e340

Best regards,

Lua RTOS team

Lua RTOS updates

Posted: Mon Dec 12, 2016 11:40 am
by luartos
We are proud to announce that Lua RTOS has recently added support for:

* ADC
* PWM (led)

Lua RTOS is available as an esp-idf component in https://github.com/whitecatboard/Lua-RTOS-ESP32

A preview of the Whitecat Ecosystem Blockly Based Web IDE is available yet in github:

https://github.com/whitecatboard/blockly-environment

This IDE allows to program your ESP32 board in two ways:

* Program using blocks
* Program using Lua

Best regards,

Lua RTOS team

Re: Lua RTOS

Posted: Thu Feb 09, 2017 12:30 pm
by loboris
LUA RTOS ESP32 is an excelent porgramming environment.
It is WIP and new modules and features are added frequently.

Some features I was interested in are not yet available in the main repository https://github.com/whitecatboard/Lua-RTOS-ESP32,
so I've opened my own repository with some additional features and modules:
https://github.com/loboris/Lua-RTOS-ESP32-lobo
I'll try to keep this repository in full sync with the main Whitecat's.

Added modules
* led
* support for WS2812 - NeoPixel RGB leds
* tft
* full support for ILI9341 & ST7735 based TFT modules in 4-wire SPI mode.
* Supported are many graphics elements, fixed width and proportional fonts (7 included, unlimited number of fonts from file)
* jpeg, bmp and raw bitmap images.
* Touch screen supported

Modified modules
* io
* added support for ymodem file transfer (io.ymsend & io.ymreceive functions)
* os
* added function os.exists() for checking file existance
* i2c
* added high level functions: send, receive, sendreceive
* spi
* spi driver modified to support spi on any pin (needed for tft module)
* sensor
* added i2c support
* extended read support with read functions
* enhanced sensor list function
* support for BME280 temperature, humidity and pressure sensors in I2C mode
* support for 1-wire devices on multiple 1-wire buses
* DS1820 temperature sensors support (including parasite power support)

Short video demonstrating capabilities of tft module is available on youtube
tftdemo.lua program
https://www.youtube.com/watch?v=esOO3fN1xDw

Pictures of running paint.lua
Image Image

Re: Lua RTOS

Posted: Thu Feb 09, 2017 3:37 pm
by kolban
Howdy Loboris,
Is there a reason to create a fork of the original Lua project? Was the original maintainer not accepting pull requests or enhancement submissions?

Re: Lua RTOS

Posted: Thu Feb 09, 2017 4:18 pm
by loboris
Hi, Kolbain
This fork is mainly for my own usage and testing the features which I need most. It is in no way intended to compete with original Whitecat's Lua project.
The original maintainer has his own time line and priorities, and some of the changes and additions will eventually be (and were) accepted.
For my usage scenarios, Lua is mostly used for top level programming, and I always try to write most of the code in C (as Lua C functions), which may not be what the original Lua project intention is.

Re: Lua RTOS

Posted: Thu Feb 09, 2017 6:30 pm
by luartos
Hi guys,

Now we are working on The Whitecat IDE, with which you can program any Lua RTOS compatible board. This IDE will be available on the cloud shortly, and has support for two programming models: Blocks or Lua.

Now our efforts are focused on finish the first version of this tool, and then we will include the contributions of the community to the Lua RTOS project.

Best regards,

Lua RTOS team