You are reading a single comment by @rethus and its replies. Click here to read the full conversation.
  • Hi there,
    I have ordered some esp chipsets and got it last week.
    Today I found Espruino and was totally flashed, that I can code with JS on the chipset.

    I have the Mini-Breadboard HW-305 and ESP-01S plugged on it. (It's the same hardware like in this Video (from 0:00 till 0:30) : https://www.youtube.com/watch?v=6uaIWZCR­Sz8

    ).

    Now I try to connect it to the Espruino-Web-IDE, but without success. Because I use Linux, I've followed the instructions to add my user to plugdev group and re-login to get this new permissions active.

    Then I've opened the Espruino-Web-IDE in Chrome and click the yellow Button above.
    I see an Popup with the USB-Port, but if I choose this, I got an error:"Connection failed".

    In the Settings ⇒ Console, I see this:

    We have chrome.serial - not using 'serialport' module
    serial_audio: Audio Sample rate : 44100
    serial_audio: Audio Serial Baud 9600 Bit time 4.59375
    UTF8 Library loaded successfully
    GET chrome.storage.sync = {"AUTO_SAVE_CODE":true,"BAUD_RATE":9600,­"BLOCKLY_EXTENSIONS":"|bluetooth|robot|"­,"BLOCKLY_LANGUAGE":"en","BLOCKLY_TO_JS"­:false,"BOARD_JSON_URL":"http://www.espr­uino.com/json","CODE":"var  on = false;\nsetInterval(function() {\n  on = !on;\n  LED1.write(on);\n}, 500);","COMPILATION":true,"COMPILATION_U­RL":"https://www.espruino.com/service/co­mpiler","DISABLE_CODE_HINTS":false,"ENAB­LE_Testing":false,"ENV_ON_CONNECT":true,­"FONT_SIZE":12,"KEYMAP":"sublime","MINIF­ICATION_DeadCode":true,"MINIFICATION_LEV­EL":"","MINIFICATION_Literal":true,"MINI­FICATION_Mangle":true,"MINIFICATION_Unre­achable":true,"MINIFICATION_Unused":true­,"MODULE_AS_FUNCTION":false,"MODULE_EXTE­NSIONS":".min.js|.js","MODULE_MINIFICATI­ON_LEVEL":"ESPRIMA","MODULE_PROXY_ENABLE­D":false,"MODULE_PROXY_PORT":"","MODULE_­PROXY_URL":"","MODULE_URL":"https://www.­espruino.com/modules","OFFLINE_DATA":"",­"OFFLINE_DATA_DOWNLOAD":"","OFFLINE_DATA­_UPLOAD":"","OFFLINE_ENABLED":false,"PRE­TOKENISE":false,"RESET_BEFORE_SEND":true­,"SAVE_ON_SEND":0,"SERIAL_AUDIO":"0","SE­RIAL_FLOW_CONTROL":true,"SERIAL_IGNORE":­"/dev/ttyS*|/dev/*.SOC|/dev/*.MALS","SER­IAL_TCPIP":"","SERIAL_THROTTLE_SEND":fal­se,"SET_TIME_ON_WRITE":false,"SHOW_CODE_­LINK_ICON":false,"SHOW_WEBCAM_ICON":0,"S­TORE_LINE_NUMBERS":true,"Sound_Error":""­,"Sound_Info":"","Sound_Success":"","Sou­nd_Warning":"","Speak_Error":false,"Spea­k_Info":false,"Speak_Success":false,"Spe­ak_Warning":false,"UI_MODE":"Normal","WE­BCAM_CONSTRAINTS":0,"WEB_BLUETOOTH":true­,"WEB_SERIAL":true}
    Initialising SettingsConsole
    Initialising Utils
    Initialising Config
    Initialising Notifications
    Initialising Status
    Initialising App
    Initialising File
    Initialising Code
    Initialising Serial
      - Initialising Serial Chrome Serial
      - Initialising Serial Chrome Socket
      - Initialising Serial Web Audio
      - Initialising Serial Web Bluetooth
      - Initialising Serial Web Serial
    Initialising Terminal
    Initialising CodeWriter
    Initialising Modules
    Initialising Env
    Initialising Flasher
    Initialising EditorBlockly
    Initialising EditorJavaScript
    Initialising Send
    Initialising MenuPortSelector
    Initialising MenuSettings
    Initialising MenuFlasher
    Initialising SettingsAbout
    Initialising SettingsFlasher
    Initialising BoardJSON
    Initialising VersionChecker
    Initialising Compiler
    Initialising Assembler
    Initialising GetGitHub
    Initialising Unicode
    Initialising Minify
    Initialising Pretokenise
    Initialising SaveOnSend
    Initialising SetTime
    Initialising Tutorial
    Initialising Webcam
    Initialising FontSize
    Initialising UiMode
    Initialising URLHandler
    Initialising CodeLink
    Initialising Project
    Initialising Testing
    Initialising Notification_Sound
    Initialising Tern
    Initialising Debugger
    Initialising Tour
    Initialising SettingsProfile
    Initialising HelpLinks
    Initialising Offline
    Initialising CoreModules
    Loaded code from storage.
    GET chrome.storage.local.OFFLINE_DATA = 0 bytes
    No navigator.bluetooth - Web Bluetooth not enabled
    No navigator.serial - Web Serial not enabled
    >>> Connecting...
    Set Slow Write = true
    Unable to open device (connectionInfo=undefined)
    ERROR: Unable to open device (connectionInfo=undefined)
    ERROR: [notify_error] Connection Failed.
    >>> Connection Failed.
    >>> Connecting...
    Set Slow Write = true
    Unable to open device (connectionInfo=undefined)
    ERROR: Unable to open device (connectionInfo=undefined)
    ERROR: [notify_error] Connection Failed.
    >>> Connection Failed.
    

    Can anybody give me a helping hand to start with my first IoT and Espruino? I would love to do it with Espruino and not with Arduino, becauese I'm still familiar with JS-Coding.


    1 Attachment

    • screenshot_ 8_54_12.jpg
About

Avatar for rethus @rethus started