The idea is to prepare a set of scintillators stations and make an array of detectors for cosmic ray showers detection (E >~10^15 eV). The scintillator stations will be deployed in the roof of the Physics Departement of IST (Lisbon) in the framework of the Lab of Cosmic Rays course. These stations will be connected to a PC installed in the laboratory from where they are powered and controlled.
Define a testing workbench inside the laboratory (LabRC, IST) for a full test of all chain: scintillators, PMT power up and control, data acquisition
Install Raspberry-Pi Image: --------------------------- Go to the Raspberry Pi website, and download the latest Raspbian image and follow the instructions to burn it to the SD card. http://www.raspberrypi.org/downloads There is an easy setup guide on the wiki, just follow it through. When you have got it installed, run the config tool, and get everything going nicely. In my case, I am running it headless via SSH, which is enabled as default, at firstname.lastname@example.org.X (check on your router to find the IP). raspi-config Select “8 Advanced Options” Select “A7 I2C” Select “Yes” The screen will ask if you want the interface to be enabled : Select “Yes” Select “Ok” The screen will ask if you want the module to be loaded by default : Select “Yes” The screen will state the module will be loaded by default : Select “Ok” Select “Finish” to return to the command line Step 2 – Manually Edit Module File Next we need to edit the modules file using : sudo nano /etc/modules and add the following two lines : i2c-bcm2708 i2c-dev Use CTRL-X, then Y, then RETURN to save the file and exit. Step 3 – Install Utilities To help debugging and allow the i2c interface to be used within Python we can install “python-smbus” and “i2c-tools” : sudo apt-get update sudo apt-get install -y python-smbus i2c-tools Checking If I2C Is Enabled (Optional) When you power up or reboot your Pi you can check the i2c module is running by using the following command : lsmod | grep i2c_ That will list all the modules starting with “i2c_”. If it lists “i2c_bcm2708″ then the module is running correctly. Enable I2C ---------- edit /etc/modprobe.d/raspi-blacklist.conf comment the line: blacklist i2c-bcm2708 (add the # at beginning of the line)