These instructions work with v0.1 and v0.2 of the Muon Hunter kit.
If you have a working Pi skip to Step 4.
An example of a simple, direct connection to a Raspberry Pi under Ubuntu is here:
For Windows see this link:
Step 4: Raspi-config
Information about the config tool can be found here.
I'd recommend expanding the file system and changing your password.
You can also change the device name as described here.
Here are the steps in pictures.
Optional time configuration - the Pi will get the correct time from NTP servers once connected to the internet. To set the time zone type:
sudo dpkg-reconfigure tzdata
and select your time zone.
Step 5: Initial GPIO configuration
2. Connect the RPI connector to the Muon Hunter and the Raspberry Pi.
3. Power up the Raspberry Pi - this should start the detector, too. However, unless you run the init.py script the detector will not register any hits.
4. Download this file and run it as root:
sudo python init.py
4.2 create a /home/pi/logs folder. Type: mkdir /home/pi/logs
4.3 type: chmod +x /home/pi/init.sh to make the script executable
4.4 type: sudo crontab -e to edit the crontab
then choose 2
4.5 include this line at the end of the file:
@reboot sh /home/pi/init.sh > /home/pi/logs/cronlog 2>&1
4.6 hit CTRL+O then CTRL+X
4.7 reboot your pi by typing sudo reboot
STEP 6: Install Wiring PI
Step 7: Install the datalogging program
git clone https://github.com/mvadai/muonhunter
chmod +x MV_bmp085
sudo python main.py
For the settings see the settings.py file.
If you made some changes but would like to revert back to the version stored on git:
git reset --hard origin/master