Interfacing with Arduino Uno R3

Support forum for the Geiger Counter.
Posts: 5
Joined: Sun Aug 18, 2013 4:33 pm

Re: Interfacing with Arduino Uno R3

Post by thegrendel » Sun Apr 06, 2014 2:13 pm

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.

Posts: 5
Joined: Wed Nov 23, 2016 4:32 pm

Re: Interfacing with Arduino Uno R3

Post by dmainmon » Thu Nov 24, 2016 8:26 am

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.


Posts: 4
Joined: Sat Dec 15, 2018 5:24 am

Re: Interfacing with Arduino Uno R3

Post by MarkDV » Wed May 01, 2019 1:32 am

Good day. Please give me the right library for nokia 5110! I tried several, do not fit! This is for the code above! ;)

Posts: 1
Joined: Fri Nov 01, 2019 8:55 pm

Re: Interfacing with Arduino Uno R3

Post by programmer1200 » Sat Nov 02, 2019 7:00 pm

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() {
 startMillis = millis();

 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.print(" uSv/hr: "); Serial.println(uSv);
   // Serial.println(" ");


Post Reply