• Does someone already tried to install Espruino on the Heltec/TTGO/Lolin/WEMS (or any of its dozen names) esp32 lora board?

    This board features:

    • an esp32 controller
    • a sx127x lora module
    • an OLED screen (don't know which model)
    • a cp2102 micro USB interface
    • a battery connector and charging circuit

    Ex: https://www.aliexpress.com/item/TTGO-LOR­A32-868-915Mhz-SX1276-ESP32-Oled-display­-Bluetooth-WIFI-Lora/32840222847.html

    The controller is an ESP32 so I guess that it's possible to flash it with Espruino but I'm not 100% sure...

  • Yes, have a couple of the Heltec boards with Lora 868/915 and one with just the Wifi Kit.

    Espruino generally works very well. With connected sensors, power sensitivity seems pretty fussy at times so see more reboots than I was expecting but otherwise able to get OLED, Lora, WiFi client all working well.

    Support for Wifi Base, Bluetooth and ESPNow are not yet functional as far as I can see.

    Example to use OLED:

     I2C1.setup({ scl: D15, sda: D4 });
     var g = require("SSD1306").connect(I2C1, startLogo, { rst: D16 });
    
  • Thanks @guycreate, I received my two TTGO boards and it was really easy to install Espruino on it.
    I started to play with it and it sounds really promising :)

    Do you know if it is possible to use the built in RST and PRG buttons with Espruino ?

    Here is the pin diagram of my board: https://ae01.alicdn.com/kf/HTB1V_aBbTnI8­KJjSszbq6z4KFXaH.jpg

    I don't know which pins correspond to these buttons :(

  • Answer to my own question: the RST button works perfectly with Espruino if you don't forget to call the "save" function to save your code in the board. Always read the doc...

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Espruino on the Heltec/TTGO/Lolin/WEMS esp32 lora board

Posted by Avatar for Grumpf @Grumpf

Actions