As I was debugging serial communication between an ST Nucleo F303 board and a Raspberry Pi I found that the RPi baud rates are a way off on a RPi3. Then googled and found this git post that discusses the issue:
Here are some measurements to prove it at 115200 and 230400 bit/s baud rates. The slower speeds are equally off. Read more for working around this problem.
The new firmware is out for the detector and so is the new python scripts for datalogging.
What's new? Quite a lot:
Check out the details here: https://github.com/mvadai/muonhunter
Download the setup and programs available for the Muon Hunter kit as a single Raspbian image onto a minimum 8 Gb memory card. It's based on Raspbian Jessie.
It includes the AVR programmer feature and the datalogging interface, too.
here it is (now ver v0.3). See v0.3 notes.
The installation instructions are exactly the same as the Raspberry Pi image installation instructions found here:
The latest firmware update for the MCU is available on git. Now it displays the total number of GM counts, too. Thanks for the feature request, Paco. :) You can switch between the averaging and the total modes using the MODE button, plus fixed 2 little bugs.
Read more for the instructions.
We are going to program the ATmega168 microcontroller on the user interface board using the SPI interface on the Pi, so enable SPI. I mainly adapted this Instructables for the Muon Hunter kit.
These instructions work with v0.1 and v0.2 of the Muon Hunter kit.
This guide is for those who wish to configure their own Raspberry Pi.
If you have a working Pi skip to Step 4.
Download the full Raspbian image from here:
Just an update for the followers of the project. I'm currently testing the datalogging code on a Rapsberry Pi 3 Model B. This thing is fast and has a huge potential.
Check out this htop screenshot.
I always face this problem when working with a pi and there's no network around.
Majority of the web suggests a method which involves changing the IP settings on the RPi to static then noting down an IP address and connecting to the pi. However, there's no need to do that. You don't need to change the dhcp settings on the Pi if you follow this. I came across a nice feature of Gnome / Ubuntu which makes this direct connection very simple.
Here's a step by step guide under Ubuntu.
#2 Click "Add".
I've been working on this project for a while, check out this post about the user interface, this about the coincidence testing and this about the Geiger logger program. Finally, here's the previous anode type lead array detector I built.
CODE examples are on GitHub
About this blog
Welcome and thanks for visiting my site.