How To Interface a CDV 700 Geiger Counter to a PC Using an Arduino (Part 2)

2,589 views · Published 16 April 2011 · 23:46 · Indexed 22 October 2026

Channel: Chaotic Good · 2011 · Nonprofits & Activism

Watch on YouTube

A video on our project to interface to a CDV-700 radiation meter using an Arduino Uno! 

Here is the code mentioned in the video:

int count = 0;  

void setup() {
 Serial.begin(9600);
 pinMode(2, INPUT);
 digitalWrite(2, HIGH);
 attachInterrupt(0, count_isr, FALLING);
}

void loop(){
 int i;
 delay(1000); 
 i = count; 
 count= 0;
 Serial.println(i);    
}

void count_isr(){
 count++;
}

More from this channel