Author |
Topic |
|
dcroz
3 Posts |
Posted - 12/12/2011 : 22:14:35
|
can this be used to connect to a PC or is it only for a smartphone? |
|
Reply #1
dcroz
3 Posts |
Posted - 12/13/2011 : 01:21:46
|
Could it be used to interface to a dedicated readout? Perhaps another kit based on a PIC? |
|
|
Reply #2
ZLM
1261 Posts |
Posted - 12/15/2011 : 09:49:50
|
The data output are voltage pulses. So, you can connect it to any other device as a source. |
|
|
Reply #3
dbbyres
USA
8 Posts |
Posted - 01/29/2012 : 21:45:05
|
Hi, if I want to capture data using Arduino, what voltage are the data output pulses? 5V, 9V? Can I simply use digitalRead() function in Arduino to capture the individual pulses?
|
|
|
Reply #4
ZLM
1261 Posts |
Posted - 01/29/2012 : 22:56:06
|
The GMC-080,GMC-200 data port ouputs 1.4V level pulses. So, it can be connectced to many circuits. Such as microphone port. |
|
|
Reply #5
dbbyres
USA
8 Posts |
Posted - 01/30/2012 : 21:34:57
|
quote: Originally posted by ZLM
The GMC-080,GMC-200 data port ouputs 1.4V level pulses. So, it can be connectced to many circuits. Such as microphone port.
ok,got it....can you specify the pinout? thanks! |
|
|
Reply #6
ZLM
1261 Posts |
Posted - 01/30/2012 : 23:35:35
|
There are only two lines from the data port, the center one is signal and the shell is ground. |
|
|
Reply #7
dbbyres
USA
8 Posts |
Posted - 01/31/2012 : 10:00:11
|
ZLM -- thanks, I've got the data cable center conductor that came with the kit connected to PWM pin2 on Arduino. Code is like below, using interrupt to call a function, increment a counter, when pulse rec'd on pin2.
Does not work though...am I missing something simple? Is the data port always sending signal? Is there an easy way to test for signal from data port (I don't have an oscilloscope)?
void setup() { pinMode(geiger_input, INPUT); digitalWrite(geiger_input,HIGH); attachInterrupt(0,countPulse,FALLING); }
void countPulse() { detachInterrupt(0); count++; while(digitalRead(2)==0){} // NOP attachInterrupt(0,countPulse,FALLING); }
|
Edited by - dbbyres on 01/31/2012 10:00:48 |
|
|
Reply #8
dbbyres
USA
8 Posts |
Posted - 01/31/2012 : 13:19:53
|
Just read more detail about Arduino, takes 3V to trigger digital input to HIGH, so 1.4 volt signal won't work. So I'll have to figure out a way to increase the data cable signal closer to 5V. I'm not familiar with electronics...is there an easy way to do that?
thanks,
|
|
|
Reply #9
dbbyres
USA
8 Posts |
Posted - 01/31/2012 : 20:23:55
|
ok I got it, just use a Radio Shack MPS2222A transistor (or equivalent) to switch arduino's 5V into pin2, using the GMC-080 data output (at 1.4V) as the trigger. Simple circuit and works great!
If anyone wants/needs details, just contact me.
thanks,
|
|
|
Reply #10
ZLM
1261 Posts |
Posted - 02/01/2012 : 21:25:47
|
Thank you for your update.
|
|
|
|
Topic |
|