Avatar for PrimeTime0416

PrimeTime0416

Member since Oct 2017 • Last active May 2018
  • 0 conversations
  • 8 comments

I love all thing electronics.

Most recent activity

  • in News
    Avatar for PrimeTime0416

    100% I have seen your lectures on YouTube and I think you will make a great guest, plus you have an educational and compelling story. Maybe have a listen to a few episodes first to get a feel for the show, embedded.fm has a decent following and noticable guest but I am surprised your pr person wasn't hawking this angle.

  • in News
    Avatar for PrimeTime0416

    Lots of folks check YouTube and Podcast to get there info, the community can ways use some more sources for micros, Gordon it's ok with you I would like to submit your name to the Embedded FM podcast http://embedded.fm as a possible guest if you have not already been on the show.

  • in News
    Avatar for PrimeTime0416

    The book is great, I got it from Amazon but only in ebook right now. Also Gordon I would to read about how, why and the technical details of how you make Espruino. I am sure I could take a SC on complilers but I think your success story would be more interesting.

  • in News
    Avatar for PrimeTime0416

    Gordon good news, gots it working, thanks bro:
    *** history dump on how I was able to get the command line working
    #check to see what is installed, looking to remove nodejs if installed
    792 dpkg --list
    793 sudo apt-get --purge remove nodejs

    #checking to make sure nodejs was uninstalled, now looking to remove espruino
    794 dpkg --list
    795 sudo apt-get purge --auto-remove espruino

    #clean up and left over packages and junk, then check list to make sure no nodejs and espruino installed.
    797 sudo apt-get autoremove
    798 sudo apt-get clean
    799 dpgk --list

    #reinstall nodejs using Ubuntu and Node 6
    811 curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
    812 sudo apt-get install -y nodejs
    813 sudo apt-get update
    814 sudo apt-get upgrade

    #libudev-dev some package I thought I needed but not sure is mandatory, I think the main thing is to install the build-essential to allow install to compile anything needed.
    818 sudo apt-get install libudev-dev
    822 sudo apt-get install build-essential

    #install serial port manually in unsafe mode, this may have not been need but did want to take a chance so I through the kitchen sink at it :)
    823 sudo npm install serialport --unsafe-perm --build-from-source

    #And not for the main event reinstalling espruino! then run some quick test and connect.
    825 sudo npm install -g espruino
    826 espruino --list
    830 espruino --verbose
    831 espruino -p /dev/ttyUSB0 -b 115200

    #THANKS AGAIN GORDON AND PEACE OUT!


    a1kerr@a1kerr-Presario-CQ61-Notebook-PC ~ $ espruino --verbose
    0.0.34

    Espruino Command-line Tool 0.0.34

    Acorn library not found - you'll need it for compiled code
    Found /usr/lib/node_modules/espruino/libs/targ­z.js
    Found /usr/lib/node_modules/espruino/libs/utf8­.js
    Found /usr/lib/node_modules/espruino/espruino.­js
    Found /usr/lib/node_modules/espruino/core/code­Writer.js
    Found /usr/lib/node_modules/espruino/core/conf­ig.js
    Found /usr/lib/node_modules/espruino/core/env.­js
    Found /usr/lib/node_modules/espruino/core/flas­her.js
    Found /usr/lib/node_modules/espruino/core/modu­les.js
    Found /usr/lib/node_modules/espruino/core/noti­fications.js
    Found /usr/lib/node_modules/espruino/core/seri­al.js
    Found /usr/lib/node_modules/espruino/core/seri­al_audio.js
    Found /usr/lib/node_modules/espruino/core/seri­al_chrome.js
    Found /usr/lib/node_modules/espruino/core/seri­al_noble.js
    Found /usr/lib/node_modules/espruino/core/seri­al_nodeserial.js
    Found /usr/lib/node_modules/espruino/core/seri­al_socket.js
    No chrome.sockets - serial_socket disabled
    Found /usr/lib/node_modules/espruino/core/seri­al_web_bluetooth.js
    Found /usr/lib/node_modules/espruino/core/seri­al_websocket.js
    Found /usr/lib/node_modules/espruino/core/seri­al_winnus.js
    'winnus' module not found, no Windows Bluetooth Low Energy { Error: Cannot find module 'winnus'

    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at eval (eval at loadJS (/usr/lib/node_modules/espruino/index.js­:10:10), <anonymous>:5:14)
    at eval (eval at loadJS (/usr/lib/node_modules/espruino/index.js­:10:10), <anonymous>:126:3)
    at loadJS (/usr/lib/node_modules/espruino/index.js­:10:10)
    at loadDir (/usr/lib/node_modules/espruino/index.js­:20:7)
    at Object.init (/usr/lib/node_modules/espruino/index.js­:93:3)
    at Object.<anonymous> (/usr/lib/node_modules/espruino/bin/espr­uino-cli.js:574:24) code: 'MODULE_NOT_FOUND' }
    

    Found /usr/lib/node_modules/espruino/core/term­inal.js
    Found /usr/lib/node_modules/espruino/core/util­s.js
    Found /usr/lib/node_modules/espruino/plugins/a­ssembler.js
    Found /usr/lib/node_modules/espruino/plugins/b­oardJSON.js
    Found /usr/lib/node_modules/espruino/plugins/c­ompiler.js
    Found /usr/lib/node_modules/espruino/plugins/g­etGitHub.js
    Found /usr/lib/node_modules/espruino/plugins/l­ocalModules.js
    Found /usr/lib/node_modules/espruino/plugins/m­inify.js
    Found /usr/lib/node_modules/espruino/plugins/s­aveOnSend.js
    Found /usr/lib/node_modules/espruino/plugins/s­etTime.js
    Found /usr/lib/node_modules/espruino/plugins/u­nicode.js
    Found /usr/lib/node_modules/espruino/plugins/v­ersionChecker.js
    Initialising CodeWriter
    Initialising Config
    Initialising Env
    Initialising Flasher
    Initialising Modules
    Initialising Notifications
    Initialising Serial

    • Initialising Serial Noble
    • Initialising Serial Node Serial
    • Initialising Serial Web Bluetooth
      Initialising Utils
      Initialising Status
      Initialising Assembler
      Initialising BoardJSON
      Initialising Compiler
      Initialising GetGitHub
      Initialising LocalModules
      Initialising Minify
      Initialising SaveOnSend
      Initialising SetTime
      Initialising Unicode
      Initialising VersionChecker
      Searching for serial ports...
      No navigator.bluetooth - Web Bluetooth not enabled
      PORTS:
      /dev/ttyUSB0 (FTDI)
      /dev/ttyS0
      /dev/ttyS10
      /dev/ttyS11
      /dev/ttyS12
      /dev/ttyS13
      /dev/ttyS14
      /dev/ttyS15
      /dev/ttyS16
      /dev/ttyS17
      /dev/ttyS18
      /dev/ttyS19
      /dev/ttyS2
      /dev/ttyS20
      /dev/ttyS21
      /dev/ttyS22
      /dev/ttyS1
      /dev/ttyS24
      /dev/ttyS25
      /dev/ttyS26
      /dev/ttyS27
      /dev/ttyS28
      /dev/ttyS29
      /dev/ttyS3
      /dev/ttyS30
      /dev/ttyS31
      /dev/ttyS4
      /dev/ttyS5
      /dev/ttyS6
      /dev/ttyS7
      /dev/ttyS8
      /dev/ttyS9
      /dev/ttyS23
      Using first port, {"path":"/dev/ttyUSB0","usb":[1027,24577­],"description":"FTDI"}
      Connecting to '/dev/ttyUSB0'
      Connected Ok
      Got ""
      No Prompt found, got undefined - issuing Ctrl-C to try and break out
      Splitting at "\u0003", delay 250
      Sending...
      ---> "\u0010console.log(\"<\",\"<<\",JSON.str­ingify(process.env),\">>\",\">\")\n"
      Sent
      No result found - just got ""
      Connected
  • in News
    Avatar for PrimeTime0416

    I will give it a go, please I did try to install the serial port module and no dice! I will hunt to around to see why that is and get back to you, thanks again.

  • in News
    Avatar for PrimeTime0416

    Hi Gordon, thanks for getting back to me, list below is a screen shot and the text from the commands you asked me to try:

    a1kerr@a1kerr-Presario-CQ61-Notebook-PC ~ $ espruino --verbose
    0.0.34

    Espruino Command-line Tool 0.0.34

    Acorn library not found - you'll need it for compiled code
    Found /usr/local/lib/node_modules/espruino/lib­s/targz.js
    Found /usr/local/lib/node_modules/espruino/lib­s/utf8.js
    Found /usr/local/lib/node_modules/espruino/esp­ruino.js
    Found /usr/local/lib/node_modules/espruino/cor­e/codeWriter.js
    Found /usr/local/lib/node_modules/espruino/cor­e/config.js
    Found /usr/local/lib/node_modules/espruino/cor­e/env.js
    Found /usr/local/lib/node_modules/espruino/cor­e/flasher.js
    Found /usr/local/lib/node_modules/espruino/cor­e/modules.js
    Found /usr/local/lib/node_modules/espruino/cor­e/notifications.js
    Found /usr/local/lib/node_modules/espruino/cor­e/serial.js
    Found /usr/local/lib/node_modules/espruino/cor­e/serial_audio.js
    Found /usr/local/lib/node_modules/espruino/cor­e/serial_chrome.js
    Found /usr/local/lib/node_modules/espruino/cor­e/serial_noble.js
    'noble' module couldn't be loaded, no node.js Bluetooth Low Energy
    { Error: Cannot find module 'bluetooth-hci-socket'

    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/local/lib/node_modules/espruino/no­de_modules/noble/lib/hci-socket/hci.js:6­:26)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3) code: 'MODULE_NOT_FOUND' }
    

    Found /usr/local/lib/node_modules/espruino/cor­e/serial_nodeserial.js
    No 'serialport' module found
    Found /usr/local/lib/node_modules/espruino/cor­e/serial_socket.js
    No chrome.sockets - serial_socket disabled
    Found /usr/local/lib/node_modules/espruino/cor­e/serial_web_bluetooth.js
    Found /usr/local/lib/node_modules/espruino/cor­e/serial_websocket.js
    Found /usr/local/lib/node_modules/espruino/cor­e/serial_winnus.js
    'winnus' module not found, no Windows Bluetooth Low Energy { Error: Cannot find module 'winnus'

    at Function.Module._resolveFilename (module.js:469:15)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at eval (eval at loadJS (/usr/local/lib/node_modules/espruino/in­dex.js:10:15), <anonymous>:5:14)
    at eval (eval at loadJS (/usr/local/lib/node_modules/espruino/in­dex.js:10:15), <anonymous>:126:3)
    at loadJS (/usr/local/lib/node_modules/espruino/in­dex.js:10:10)
    at loadDir (/usr/local/lib/node_modules/espruino/in­dex.js:20:7)
    at Object.init (/usr/local/lib/node_modules/espruino/in­dex.js:93:3)
    at Object.<anonymous> (/usr/local/lib/node_modules/espruino/bi­n/espruino-cli.js:574:24) code: 'MODULE_NOT_FOUND' }
    

    Found /usr/local/lib/node_modules/espruino/cor­e/terminal.js
    Found /usr/local/lib/node_modules/espruino/cor­e/utils.js
    Found /usr/local/lib/node_modules/espruino/plu­gins/assembler.js
    Found /usr/local/lib/node_modules/espruino/plu­gins/boardJSON.js
    Found /usr/local/lib/node_modules/espruino/plu­gins/compiler.js
    Found /usr/local/lib/node_modules/espruino/plu­gins/getGitHub.js
    Found /usr/local/lib/node_modules/espruino/plu­gins/localModules.js
    Found /usr/local/lib/node_modules/espruino/plu­gins/minify.js
    Found /usr/local/lib/node_modules/espruino/plu­gins/saveOnSend.js
    Found /usr/local/lib/node_modules/espruino/plu­gins/setTime.js
    Found /usr/local/lib/node_modules/espruino/plu­gins/unicode.js
    Found /usr/local/lib/node_modules/espruino/plu­gins/versionChecker.js
    Initialising CodeWriter
    Initialising Config
    Initialising Env
    Initialising Flasher
    Initialising Modules
    Initialising Notifications
    Initialising Serial

    • Initialising Serial Web Bluetooth
      Initialising Utils
      Initialising Status
      Initialising Assembler
      Initialising BoardJSON
      Initialising Compiler
      Initialising GetGitHub
      Initialising LocalModules
      Initialising Minify
      Initialising SaveOnSend
      Initialising SetTime
      Initialising Unicode
      Initialising VersionChecker
      Searching for serial ports...
      No navigator.bluetooth - Web Bluetooth not enabled
      PORTS:

    /usr/local/lib/node_modules/espruino/bin­/espruino-cli.js:567

          throw new Error("No Ports Found");
          ^
    

    Error: No Ports Found

    at /usr/local/lib/node_modules/espruino/bin­/espruino-cli.js:567:17
    at eval (eval at loadJS (/usr/local/lib/node_modules/espruino/in­dex.js:10:15), <anonymous>:69:11)
    at Object.getPorts (eval at loadJS (/usr/local/lib/node_modules/espruino/in­dex.js:10:15), <anonymous>:92:7)
    at eval (eval at loadJS (/usr/local/lib/node_modules/espruino/in­dex.js:10:15), <anonymous>:52:14)
    at Array.forEach (native)
    at Object.getPorts (eval at loadJS (/usr/local/lib/node_modules/espruino/in­dex.js:10:15), <anonymous>:51:13)
    at /usr/local/lib/node_modules/espruino/bin­/espruino-cli.js:544:28
    at setupConfig (/usr/local/lib/node_modules/espruino/bi­n/espruino-cli.js:231:9)
    at main (/usr/local/lib/node_modules/espruino/bi­n/espruino-cli.js:533:3)
    at Object.init (/usr/local/lib/node_modules/espruino/in­dex.js:112:3)
    

    a1kerr@a1kerr-Presario-CQ61-Notebook-PC ~ $ ^C

  • in News
    Avatar for PrimeTime0416

    I am trying to run the command tool under Linux Mint but no dice! please note the WebIDE works great, can has anyone had success running the command line under Linux and can they help me, thanks:

Actions