FAQs

Why are my blocks not appearing in the app on Windows?

On Windows, sometimes there are conflicts with the Bluetooth drivers that SAM Space installs and the Bluetooth drivers that Windows installs, which leads to SAM blocks not appearing. The Bluetooth drivers that Windows installs are not compatible with SAM Space and will need to be uninstalled.

The Windows Store SAM app is not working

The SAM app which is downloaded from the Windows store requires:

  • 1) The Windows Creators update (version 1703) for Windows 10 or higher
  • 2) Disabled default Windows Bluetooth drivers.

  • To disable the default Windows Bluetooth drivers:

  • 1) Right-click the Windows icon > Click on `Device Manager`
  • 2) Open the `Bluetooth` section
  • 3) Unplug and plug in the SAM Bluetooth dongle
  • 4) There should be a device called `Broadcom BCM20702 Bluetooth 4.0 USB Device`. Make sure this is enabled
  • 5) If there are other bluetooth device drivers under `Bluetooth` eg, `Intel(R) Wiresless Bluetooth(R)`, then disable it. Right click on it, and select `Disable device`
  • Windows 10

    Windows 10 will automatically update hardware drivers, and replace the SAM Space one, which can trigger the problem of blocks not appearing.


    To disable Windows 10 from automatically updating Bluetooth drivers:

  • 1) Install the "Show or hide updates" tool from Microsoft (Download here)
  • 2) Open the tool, click Next, select `Hide updates`, and choose `Broadcom BCM20702 Bluetooth 4.0 USB Device`. If it doesn't exist, skip to step 2.
  • 3) More information about this is on the Microsoft support page

  • If Windows still updates the driver to the faulty one, you can disable auto update with the following steps:

  • 1) Right-click Windows logo and select System
  • 2) Click on Advanced System Settings
  • 3) Select the Hardware tab and click on Device Installation Settings
  • 4) Select `No` button and click on Save Changes`
  • 5) Unplug the dongle and insert it into a different USB port (otherwise Windows will use a cached driver)
  • 6) Install the SAM driver, by clicking on `SAM Driver setup` on the desktop

  • If an update led to the faulty driver being installed, you can fix it by:

  • 1) Right-click on the Windows logo and select Device Manager
  • 2) The correct Bluetooth driver should be under `Universal Serial Bus devices`, and the faulty driver will be under `Bluetooth`. If `Broadcom BCM20702 Bluetooth 4.0 USB Device` under `Bluetooth` exists, right-click it and select `Properties`.
  • 3) Click on `Roll Back Driver` to get the previously working driver back.

  • If this does not work, uninstall the drivers and reinstall the SAM Space app:

  • 1) Right-click on the Windows logo and select Device Manager
  • 2) Uninstall the `Bluetooth` > `Broadcom BCM20702 Bluetooth 4.0 USB Device`, and the `Universal Serial Bus devices` > `BCM20702A0` drivers, by right-clicking and selecting `Uninstall`
  • 3) Tick the checkbox `Delete the driver software for this device`
  • 4) Install the SAM driver, by clicking on `SAM Driver setup` on the desktop
  • Windows 8

    If an update led to the faulty driver being installed, you can fix it by:

  • 1) Right-click on the Windows logo and select Device Manager
  • 2) The correct Bluetooth driver should be under `Universal Serial Bus devices`, and the faulty driver will be under `Bluetooth`. If `Broadcom BCM20702 Bluetooth 4.0 USB Device` under `Bluetooth` exists, right-click it and select `Properties`.
  • 3) Click on `Roll Back Driver` to get the previously working driver back.

  • If this does not work, uninstall the drivers and reinstall the SAM Space app:

  • 1) Right-click on the Windows logo and select Device Manager
  • 2) Uninstall the `Bluetooth` > `Broadcom BCM20702 Bluetooth 4.0 USB Device`, and the `Universal Serial Bus devices` > `BCM20702A0` drivers, by right-clicking and selecting `Uninstall`
  • 3) Tick the checkbox `Delete the driver software for this device`
  • 4) Install the SAM driver, by clicking on `SAM Driver setup` on the desktop
  • Windows 7 and below

    We only support Windows 8.1+. Please upgrade Windows to use SAM space.

    More Information

    You can view more information about issues with Windows drivers here: http://www.makeuseof.com/tag/take-back-control-driver-updates-windows-10/

    Where can I find documentation?

    We're excited for you to start setting up your kit. When you download the app, you can select the kit you have and then a “getting started” video will appear. The video includes, “connecting,” “dragging and dropping” the wireless blocks and saving your projects. Once, you’ve followed the on-boarding process you should be ready to get inventing. In case you missed it, you can watch it again on [YouTube](https://www.youtube.com/watch?v=rmTjNAUP-M4). Our reference page will be available soon. On our reference page, you will find more detailed explanations.

    How do I open multiple camera menus?

    The camera block can only take a photo if you open the camera block menu, by double-clicking on the camera block on a board. To enable multiple cameras to be used, you can open multiple camera menus by holding shift while you click on the different camera blocks.

    Windows error "This app can't run on your PC" after installing

    The default Windows download is for 64-bit machines. You may need the 32-bit version of the app. Download the 32 bit Windows version here.

    The problem also sometimes happens when you double click on the desktop SAM app icon, and the app opens then immediately closes.

    How do I use the Code Module?

    The code module is what we call a “behaviour” to customise the way your wireless blocks talk to each other. To start writing your own JavaScript, simply “drag and drop” the Cloud Module in between a sensor and an actor wireless block. Within the app, you can see the help documentation on the right taskbar. If you can’t see it, simply go to the “?” and click on the “+” to read more. Want an example? When you place a Code Module between a sensor or an actor, these will be listed at the top of code module as “Input” and “Output.” You will need to use the names exactly as they appear in the code. For example, if you have a blank screen, connect a Button to a Code Module, and connect the Code Module to a button and a light. Then you double-click on the Code Module to write JavaScript. You can write the following (highlighted in green) in the to turn on the light: function CustomCode(Button0, CM){ 'use strict'; var output = 100; return output; } If you change the ‘output’ value to ‘[0,100,0]’, you can change the light to show as green. Using simple JavaScript you can also control the light through the button, with the following code:

    function CustomCode(Button0, CM) {
    'use strict';
    var output = 0;
    var green = [0,100,0];
             if (Button0) {
                  output = green;
              }
    return output;
    }

    This turns the light green when you press the button and turns it off when the button is not pressed. The value you “return” becomes what you send to the connected actor modules. Want to add more? When more than one wireless block is connected, you can use CM.sendTo(“Button0”, [0,100,0])` to send to each one. If you have any further questions you can send them over to us via the application. Just click on the “?” on the bottom right of the app and click on the “Talk to SAM” and send us any questions you may have.