2 Install your Sense software
Note: you should do this before you connect your SenseBoard to your computer.
For a Windows machine there are two stages to installing the software: the first installs the Sense programming environment, while the second installs the driver software that allows the Sense environment to communicate with the hardware board.
Download the Sense software to your computer by clicking on the link below.
- If you are using Internet Explorer, you may be asked whether to Run or Save the download – click on Run. You may see an ‘unknown publisher’ warning that asks if you are sure you want to run the software – click on Run (or Yes) again.
- If you are using Mozilla Firefox, you may be asked whether to Save File or Cancel. Choose Save File and a Downloads window will appear. Locate TU100_Sense_installer in this window and double-click on it. You may be asked if you are sure you want to open the file – click on OK.
The software installation should now start. Click on Next at the first screen and you will see the Copyright notice, which you should accept. You may then see a series of dialogue boxes, which you should click through accepting the default options. Click on Finish at the final screen and the first stage of your installation will be complete.
Download Sense for Windows Build 140, released September 2012
You now need to install the drivers that will allow your SenseBoard to communicate with Sense. Download the driver installer by clicking on the link below, using the method that is appropriate to your browser (see above). When you start the installation, a window will pop up and then vanish again as the installer checks the drivers on your computer and installs new ones if necessary.
Sense should now be installed and you should see a shortcut to it on your desktop (don’t open this yet).
Note that the Sense installation includes some project files, including one you will need for testing the installation in step 5. Depending on the setup of your machine, the installer may not have been able to put these files in the right place to be picked up by Sense. Go to your Documents area and look in TU100 > Sense. If you can’t see a file called ‘TU100_SenseInstall_TestYourSetup’ in a folder called ‘Projects’ then please download this zip file and unzip the contents to the Sense folder:
If you are a Mac user then everything you need to install Sense is provided in a single file. Download and save this to your computer, then double-click on it to run it. You will see three icons showing the three components you need to install. Double-click on each of these in turn and follow the on-screen instructions.
Download full Sense installer for Mac (Build 140, released September 2012)
Once you have done that, download the zip file from the link below and unzip the contents to /Users/<user_name>/Documents/TU100/Sense/Projects. This will provide you with some Sense project files that will allow you to start using Sense before the module starts, if you wish (explained in step 6).
Download zip file for Mac (Build 140, released S 2012)
If you are an Ubuntu user then everything you need to install Sense is provided in a single file. These instructions work for Ubuntu 11.04 (Natty Narwhal) and probably work for other Debian-based distributions. If you don’t have Ubuntu, or the package doesn’t work for you, you can follow the instructions for a manual installation.
Depending on whether your computer is running 32-bit architecture or 64-bit architecture, click on the appropriate link below to download the installer you need.
Download full Sense installer for Linux (32-bit) (Build 140, released October 2012)
Download full Sense installer for Linux (64-bit) (Build 140, released October 2012)
For the 32-bit option, once downloaded, extract the contents of the zip file. You will see two folders: ‘Multiarch (Ubuntu 11.04 and on)’ and ‘Pre-multiarch (before Ubuntu 11.04)’. Select the folder for the version of Ubuntu you are running and double-click on the file name (which begins with ‘sense_220.127.116.11-1…’). The package installer will launch and go through the installation process. This should take no more than two minutes at most.
For the 64-bit option, click the file name and the package installer will launch and go through the installation process. This should take no more than two minutes at most.
Sense can be launched by selecting ‘Applications/Programming/TU100 Sense’ from the top toolbar in Ubuntu, but don’t do this until after you have connected your SenseBoard (step 3).
You will have to manually create a shortcut to Sense. Create the file /usr/share/applications/sense.desktop:
[Desktop Entry] Encoding=UTF-8 Name=Sense Comment=Run Open University Sense Software Exec=sh /usr/bin/sense.sh Icon=sense Terminal=false Type=Application StartupNotify=true Categories=Development
You will also need to download the Sense icon and install it into /usr/share/pixmaps/.
If you had any difficulty with the installation then click on Help. Otherwise you are ready to connect your SenseBoard, so move on to Step 3.
Raspian on Raspberry Pi
If you are using Raspian on the Raspberry Pi, then everything you need to install Sense is provided in a single file. Please note this is a development version and has only been tested on Raspian.
This file contains the latest Sense and a modified Squeak VM to run it.
Once downloaded copy it into /opt on a Raspberry Pi running Raspbian and extract the contents. You should end up with directories /opt/sense and /opt/squeak-3.11.3/
Use run /opt/sense/usr/bin/sense.sh to start Sense
The cylon.sb program (included from the Open menu) cycles through the LEDs on the SenseBoard if you have one.
You may need to manually set the USB port before it will recognise the SenseBoard. To do this right-click on the watcher displayed on the stage when you load the cyclone.sb program, click on 'select serial/USB port' and enter the port. That's probably: