Page 2 of 2

Re: Interfacing with Arduino Uno R3

Posted: Sun Apr 06, 2014 2:13 pm
by thegrendel
Follow-up to the last two posts.

I've got the Geiger Kit interfaced to an Arduino Due (actually a clone).
Had to do some finagling with the code, and use hardware serial port #3 (no software
serial available on the Due). Main problem was finding a usable library for the Nokia
5110 display, as the the AVR library doesn't port to the Due's ARM chip.

I'll post more details if and only if requested.

Re: Interfacing with Arduino Uno R3

Posted: Thu Nov 24, 2016 8:26 am
by dmainmon
mightyohm wrote:You can do this in two ways - one is to connect the PULSE output of the Geiger counter to the Arduno and count pulses on the Arduino.
Can anyone offer advice on how to accomplish this?

I'm waiting for my FTDI cable but would love to try the method mentioned.

Thanks.

Re: Interfacing with Arduino Uno R3

Posted: Wed May 01, 2019 1:32 am
by MarkDV
Good day. Please give me the right library for nokia 5110! I tried several, do not fit! This is for the code above! ;)

Re: Interfacing with Arduino Uno R3

Posted: Sat Nov 02, 2019 7:00 pm
by programmer1200
https://www.instructables.com/id/Geiger-Counter-IoT/


I advice checking out this awesome instructable page , basically he interfaced the geiger counter to the Arduino using the led connection and soldering directly to four contacts on the board. He uses an ESP8266 so his code didnt transfer to an Arduino Uno and the interface pins are slightly different. I would check out his photos.

Here is a list of connections for the Uno:
  • The D2 pin on the Arduino Uno will connect to the + lead of the LED (or the beeper which is easier to access with alligator clips).
  • Connect one of the 3v3 pins to the + side of the battery holder.
  • Connect one of the GND pins to the - side of the batter holder.
  • Connect the A0 pin of the Arduino Uno to the + side of the battery terminal if you want to measure the power supply.
I edited his code just to see the information on the serial. I hope this helps someone.

Code: Select all

// data from the mighty ohm Geiger counter
// basic code for retrieving hits from the LED

const int interruptPin = 2;
int hitCount = 0;
double startMillis;
double seconds;
double minutes;
double CPM = 0.0;
double uSv = 0.0;
double lastcSv = 0.0;
int minHolder = 0;
int minuteHits = 0;
int lineCount = 0;

void setup() {
  pinMode(interruptPin,INPUT);
 startMillis = millis();
  Serial.begin(115200);
  hitCount++;
  minuteHits++;

 CPM = (hitCount) / minutes;
 // uSv = CPM * 0.0057; 

}
  void loop () {
  int reads = digitalRead(interruptPin);
  seconds = (millis() - startMillis) / 1000;
  minutes = seconds / 60;


  CPM = (reads) / minutes;
 // uSv = CPM * 0.0057;

   // Serial.print(" Hit Count: "); Serial.println(hitCount); 
    //Serial.print(" CPM: "); 
    Serial.println(CPM);
   // Serial.print(" uSv/hr: "); Serial.println(uSv);
   // Serial.println(" ");
   delay(5);

  }