What next?

Posted on
  • I have followed the start instructions for Mac. The puck is working as verified by using the app nRF Connect which sees it on my iPhone. I have Chrome 55 with the Web Bluetooth (chrome://flags/#enable-web-bluetoothBluetooth enabled I have relaunched Chrome.

    I am not clear what I do next. How to I see the puck? It does not appear as a device in Bluetooth devices. Should it. What do I need to do now?

  • Open the Espruino IDE in your browser (https://www.espruino.com/ide/#). Then hit the orange icon in the top left corner. A bluetooth menu will pop up from which you can select the Puck. You then be connected, and you can start sending Javascript to it!

  • It's also worth noting that the Puck can only be connected to one device at a time - so you'll need to make sure that the 'nRF connect' app is disconnected on your iPhone or you won't be able to see it on your Mac.

    edit: also, moving this to the Puck.js part of the forum

  • Wow. That worked. I sent the code and the puck is flashing a red LED. Thanks very much. Any pointers to any code I can throw at it. Will it monitor temperature or do I have to solder on a sensor

  • Great! It does have a temperature sensor in it - there are some examples of how to access the various sensors here: http://www.espruino.com/Puck.js

    On that page there are a few tutorials, but I'll be trying to add a whole bunch more there this week

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

What next?

Posted by Avatar for SimonAllen @SimonAllen

Actions