Avatar for Vladimir

Vladimir

Member since Feb 2018 • Last active Sep 2020
  • 2 conversations
  • 15 comments

Most recent activity

    • 7 comments
    • 224 views
  • Avatar for Vladimir

    installing the native app version: http://www.espruino.com/Web+IDE#as-a-nat­ive-application

    It works! Thanks for the answer. I think it would be usefull to include this to the Troubleshooting page.

  • Avatar for Vladimir

    I did not know there is a difference btw Web-IDE and Web store IDE. In fact I use Web Store IDE. In the past it worked fine with the same PC and Win7, but something went wrong and I can not connect any more. I will provide later some screenshoots with the "status".
    Are there any way that some antivirus or corporate security system can block access to the com port? There were some updates on PC to porvide more security

  • Avatar for Vladimir

    Hi,
    I have not found my case in Troubleshooting. So I'm describing the problem here.

    • The Esp WIFI with the same cable works fine with Win10.
    • In Win7 I've got the board in Windows Control Panel's 'Devices and Printers' page - 'STMicroelectronics Virtual COM Port (COM8)'. The status is Ok. The IDE reports 'searching ... no ports found'. I tried all different options: reinstalled drivers, reinstalled WEB-ide, reset and cleaned COM ports. No changes.
      Moreover when i Hold down the button, and then plug the board in while keeping it held, I get 'Red and Green light brightly for a fraction of a second, then they start 'pulsing', and sound signal of a connection to PC. But nothing happens on the side of IDE
  • in Pico / Wifi / Original Espruino
    Avatar for Vladimir

    Is it logging water flow, or does it also control solenoid valves as well?

    Of course it controls solenoids. You can find 5V 2-Channel Relay Module inside the plastic box. Solenoids are powered by 12v. I use Adafruit DC-DC converter to power the Espruino. So the hole sistem is powered by one DC trasnformer.
    And I plan to add Soil Humidity Sensor Modules for better control and more statistic.

  • in Pico / Wifi / Original Espruino
    Avatar for Vladimir

    It works for two weeks w/o errors.
    What I did:

    1. I use your code to work with water-flow sensor. I avoid calling
      flowSensor[0].on('pulse', function () {}
    2. I do not call console.log!
      And, enclosed some pics how it works
  • in Pico / Wifi / Original Espruino
    Avatar for Vladimir

    How much data is there in the JSON?

    [["A0",49.06],["A1",0]]

    And you are using one of the recent firmwares like 1v97 or later?

    1v98 and 1v99

    but you say nothing is connected to the flow sensor pins?

    A0 pin connected to nowere produced to many "noise" - probably that triggered the problem. Now I connect the real sensor to the pin A0 to make situation close to the real life usage

    Is there any chance you could come up with a self-contained example you could send me that actually exhibits the problem?

    Well, I'm motivated to identify the problem if it still exists. But for now after your advices probably the solution is found. At least for now the test module works correctly for 1.5 day and I'm planning to use it in real life

  • in Pico / Wifi / Original Espruino
    Avatar for Vladimir

    Just leaving the board alone for a few minutes will cause a FIFO_FULL message?

    Well, After I have looked at this topic http://forum.espruino.com/conversations/­311969/ I found that there is also some logic for FIFO_FULL message to appear in my case. What I do?
    My server sends TCP request to Espruino to get consumption statistic from water-flow sensor.
    After I read data from the variable (flowSensor[0].volume()), I send data to console.log and back to the server in JSON-format through TCP connection.
    So I suppose the problem arise when simultaneously three functions execute their commands: setWatch, console.log, socket.write
    I need more tests to locolize the problem, but for now it works for 20 hours with a real waterflow sensor connected to the pin A0 with this change in the code: I execute socket.write("JSON formated data") with a delay of 200 ms.!
    If I occasionaly send simultaneously 2 TCP requests in a row, I will get FIFO_FULL error because to many instances of functions will occupy the input buffer

  • in Pico / Wifi / Original Espruino
    Avatar for Vladimir

    You could just try using something like this instead

    Thanks, It's quite simple and more clear for me.
    I implemented the code, but after some time I again recieve "New interpreter error: FIFO_FULL"
    It's important to mention that no sensors are connected to the pins (I do testing at home without any sensors) A0 and A1

Actions