Avatar for JamesS

JamesS

Member since Dec 2016 • Last active Jun 2017
  • 3 conversations
  • 22 comments

Most recent activity

  • in Puck.js
    Avatar for JamesS

    Gordon,
    Will try U17.04
    In the meantime, the Console Tab shows the following:

    We have chrome.serial - not using 'serialport' module
    'noble' module couldn't be loaded, no node.js Bluetooth Low Energy  Error: No compatible USB Bluetooth 4.0 device found!
    'winnus' module not found, no Windows Bluetooth Low Energy Error: The specified module could not be found. \\?\C:\Program Files\EspruinoIDE\node_modules\winnus\bu­ild\Release\winnus.node
    serial_audio: Audio Sample rate : 44100
    serial_audio: Audio Serial Baud 9600 Bit time 4.59375
    Web Bluetooth available, but Windows Web Bluetooth is broken in <=56 - not using it
    GET chrome.storage.sync = undefined
    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 Audio
    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 NPMModules
    Initialising ExamplePlugin
    Initialising Unicode
    Initialising SaveOnSend
    Initialising Minify
    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
    
  • in Puck.js
    Avatar for JamesS

    Hi Gordon,
    I am keen to avoid using a phone but that does look like a neat solution.
    Setting those environment variables in a CMD prompt did not change anything.
    I noticed a slight discrepancy
    you quoted BLUETOOTH_HCI_SOCKET_USB_PID=0x21e8 but Zadig shows a slightly different address so I also tried PID=0x21e6 both as an environment variable and in USB.js. But still no joy.
    Two qns: does your IDE report back if no compatible adaptors are found like node-Bluetooth-hci-socket code does?

    79 if (!this._usbDevice) { 80 throw new Error('No compatible
    USB Bluetooth 4.0 device found!'); 81 }

    Are you aware of any Live CDs that are likely to work with BLE with minimal config? I figure this might help prove the capabilities of the device.
    James

  • in Puck.js
    Avatar for JamesS

    lets try again. Three PNG files attached relating to the above post.

  • in Puck.js
    Avatar for JamesS

    Hi all,
    Are there any updates to the above issues?
    basically I’m having similar difficulty connecting a puck to my Windows 7 desktop with its inbuilt Broadcom Bluetooth adaptor.
    I have downloaded what I think is the native Espruino IDE and have used the Zadig tool as shown below but when I click Connect I am not finding any devices.
    I have also tried editing the usb.js file as suggested but no change noticed.
    See below for screenshots:
    Am I trying to achieve the impossible with Windows 7?

    James

  • in Puck.js
    Avatar for JamesS

    I have an idea to use two Puck.js devices as a rudimentary remote temperature monitoring system.
    The two pucks would be located within about 4 metres of each other. The sensor puck will not be easily accessible once installed but the monitoring puck will obviously need to be visible. Precision is not important in this application but I envisage some form of regular heartbeat to provide reassurance that the sensor puck and the monitoring puck are working and a red flash when the measured temperature is above a set level.

    Has anyone already done anything similar that they would be happy to share?

    Tnx

  • in Puck.js
    Avatar for JamesS

    Ah! Tnx. After several failures this did install on my Samsung handset running Android 4.4.4. I have the puck.js extn installed too but I have not yet been able to connect to a puck.js.

  • in Puck.js
    Avatar for JamesS

    mmm could find the puck extension but not the main app.

  • in Puck.js
    Avatar for JamesS

    Nice graph - says it all:-)
    I have to say that the three pucks I have currently tested are only consistent to within +- 3 degrees of each other at best. This is worse that I was expecting so I will be investing use of a DS18B20 when I find some time to do this. I was wondering whether this might be due to small differences in the config of each. Eg one may not have had its firmware updated yet. One may have had other code loaded previously.

Actions