Home > Projects > Calculator Projects > How To Interface a CDV 700 Geiger Counter to a PC Using an Arduino Video instrucitons

How To Interface a CDV 700 Geiger Counter to a PC Using an Arduino Video instrucitons

Summary of How To Interface a CDV 700 Geiger Counter to a PC Using an Arduino Video instrucitons


This article details Part 2 of a project interfacing a CDV-700 Geiger counter with a PC via an Arduino Uno. It explains the setup process and provides specific C++ code to read radiation counts from the device using an interrupt service routine on pin 2, transmitting data via serial communication at 9600 baud every second.

Parts used in the Interface CDV 700 Geiger Counter Project:

  • CDV-700 radiation meter
  • Arduino Uno
  • PC
  • Cable or wiring for connection

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

The second part of our video series of our project to interface to a CDV-700 radiation meter using an Arduino Uno!

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

Code:

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);
}

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

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

}

void count_isr(){
count++;
}

Quick Solutions to Questions related to Interface CDV 700 Geiger Counter Project:

  • What is the purpose of this project?
    To interface a CDV-700 radiation meter with a PC using an Arduino Uno.
  • How does the code initialize the serial communication?
    The setup function calls Serial.begin(9600) to start communication at 9600 baud.
  • Which pin is configured as an input for the Geiger counter?
    Pin 2 is set as an INPUT and enabled with an internal pull-up resistor.
  • What type of interrupt triggers the counting function?
    An interrupt is attached to pin 2 that triggers on a FALLING edge.
  • How often does the loop transmit data to the PC?
    The loop waits for 1000 milliseconds before printing the count value.
  • What happens to the count variable after it is printed?
    The count variable is reset to zero immediately after being stored in a temporary integer.
  • Does this article cover hardware assembly steps?
    No, the text focuses on the software code and video series context rather than physical assembly.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top