Espruino WiFi and Espruino Pixl.js with 2 Lora RYLR896

Posted on
  • Hello everybody,
    Based on this tutorial REYAX RYLR896/406/895/405 LoRa modules I connected an Espruino WiFi and Espruino Pixl.js with two Lora RYLR896 (see attached photos).

    By the way, the line:

    var RYLR = require('RYLR.js');
    

    must be

    var RYLR = require('RYLR');
    

    So I had an issue with lora in the Pixl.js, but when I removed the VDD pin from D9 and put it on 3.3v everything worked perfectly fine and the 2 Espruino devices are transmitting and receiving data. now my problem is, when I connect the Espruino WiFi to a 5v power supply instead of the PC USB, it powered on and connects to the wifi but the lora doesn't send or receive data, once I plug it in on any PC it works fine.

    This issue is only with the Espruino WiFi because when I connect the Pixl.js to the same 5v power supply everything works fine as long as the Espruino WiFi is powered from the PC.

    Help will be appreciated.


    2 Attachments

    • IMG_20191113_115126.jpg
    • IMG_20191113_114935.jpg
  • Hi! Thanks - I'll update the docs to remove the .js.

    I'd be pretty sure you're experiencing this issue: http://www.espruino.com/Troubleshooting#­espruino-works-when-connected-to-a-compu­ter-but-stops-when-powered-from-somethin­g-else

    It's explained better there, but in short the 'REPL' - the left hand side of the IDE - defaults to Serial1 when USB isn't connected, and that can stop 2-way communication on Serial1. It's an easy fix though!

  • Exactly!
    Thank you Gordon!

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

Espruino WiFi and Espruino Pixl.js with 2 Lora RYLR896

Posted by Avatar for michael_101 @michael_101

Actions