- Posted on
- • Geiger Counters
Mobile GPS logging Geiger Counter Project Pt.3
- Author
-
-
- User
- Mr Blinky
- Posts by this author
- Posts by this author
-
Archived from radmon.org - originally posted 20/03/2016
After some more testing and investigation I found the issue in sketchy GPS was actually the code. I've fixed it and the results are much, much better. There is just one tiny issue now where the CPM being read from the counter is recorded occasionally with an extra digit or two counts on one record. I reckon once that is sorted I can call it version 1.0 :)
I have updated the download link with the latest code. Here are the results so far:
https://www.google.com/maps/d/edit?mid=zasLAdbQXqtw.kInoUYbBsJO8&usp=sharing

I changed the way the serial CPM is read and that appears to have fixed the issue with the serial data not being read properly..
I have uploaded the changes to the zip file and can be found here.
It does very occasionally miss the first digit from the CPM but knowing what I know now about why this is happening it would require a complete rewrite of the code. The issue is caused by the timing from the CPM being transmitted by the GC10 and then the serial is being read by the microprocessor. If the CPM is transmitted from the GC10 before the microprocessor is ready to read it it missed off the first digit. I left it logging all night and I found this happened 3 times in 10,000 records. So whilst not 100% perfect I feel this is 99.9% perfect and is certainly decent enough for my requirements.
I'm happy to call this version 1.0 :cheer: