Placa de desenvolvimento ESP32 LuaNode32

: ARD02084
9,95 €
preço com IVA incluído

Esta placa é a evolução do Node Lua que usa o ESP8266 e que nesta versão adota o ESP32 ( LuaNode32 ).

Com este CPU dual core a 266MHz de clock, confere-lhe um maior poder computacional, o que lhe permitirá até enveredar por pequenos projectos com cameras e identificação de objetos.

Quantidade
Sem Stock


DESCRIÇÃO EM PORTUGUÊS BREVEMENTE DISPONÍVEL

Se tiver alguma dúvida neste produto não hesite em contactar-nos.

*Atenção: as imagens são meramente ilustrativas.

Introduction:

This ESP32 board is an upgrade of the Node Lua ESP8266. It has already an integrated antenna, power amplifier, low-noise amplifiers, filters, power management module and USB to serial converter CP2102 from SILABS. The entire solution takes up the minimum amount of printed circuit board area. This board is used with 2.4 GHz dual-mode Wi-Fi and Bluetooth chips by TSMC 40nm low power technology, power and RF properties best, which is safe, reliable, and scalable to a variety of applications.

 

PINOUT:

PINOUT

  • Small volume to easily embeded on other products
  • Strong function with LWIP protocol support, Freertos
  • Wi-Fi Supporting three modes: AP, STA, and AP+STA
  • Supporting Lua programing, easily to develop
  • Development Board based on: https://github.com/Nicholas3388/LuaNode 

The following information was obtained from https://github.com/Nicholas3388/LuaNode

This new version of LuaNode32 is developed based on esp-idf and compatible with Esplorer.

The following figures show the ESP32 dev-board size:

size

Download the DOIT dev-board schematic here

 

How To Build LuaNode32

  • Download prebuild toolchain Here, you can also build the tools from source, follow the steps Here
  • Export build tools' directory by executing the following command on terminal, export PATH=/your_path/toolchains/esp32/bin:$PATH, where the your_path is the path the toolchains stored.
  • Export esp-idf path by the following command: export IDF_PATH=the_esp-idf_path
  • Change current directory to LuaNode32, then input make to build firmware.

For more details, view LuaNode wiki page

 

LUA PROGRAMMING

Programming with Lua is easy, some samples are as follow:

-- create file on file system
file.open("myfile.lua", "w+");
file.write("hello world");
file.close();

-- read file from file system
file.open("myfile.lua", "r");
-- read 1024 bytes from myfile.lua and save them
-- to content
content=file.read(1024);
print(content);
file.close();

-- remove file
file.remove("myfile.lua");

-- restart device
node.restart();

You can add your own Lua modules to LuaNode at will, visit the LuaNode wiki page for more details.

LuaNode is compatible with Esplorer now, you can edit and download Lua Code to ESP32 with Esplorer conveniently.

Get Esplorer Here

 

HOW TO BUILD For ESP32/ESP8266:

For details, see LuaNode wiki page Here.

 

HOW TO FLASH THE FIRMWARE:

See LuaNode wiki page Here.

 

HOW TO DEBUG:

See wiki page Here.

 

APPS:

  • task: This is a sample to show how to create an os task. Build the example by executing the gen_misc.sh.

How to create a task:

void task1(void *pvParameters) {
    // do something
}

void user_init(void) {
    xTaskCreate(task1, (signed char *)"tsk1", 256, &mainqueue, 2, NULL);
}

Note: There is a task to receive uart input. You'd better alloc more than 512k memory for this task, since the lua command handler will be called in this task, more memory is required for lua handler.

  • luaapp: A lua app.

  • wifikiller: An wifi sample. Set baud rate to 115200pbs, using UART0. It will disconnect WiFi connection.

  • wifilister: List all APs, along with clents connected to them, near your device. The list info then sent to Android device via OTG, and display on Android.



Package included:

1 x ESP32 Development Board

ARD02084

Produtos Associados