Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Pulse counter over RS232



Kalin KOZHUHAROV kirjoitti 18.4.2011 kello 11.37:
> On Mon, Apr 18, 2011 at 07:00, Henri Servomaa <r_muffin@example.com> wrote:
>> Kalin KOZHUHAROV kirjoitti 18.4.2011 kello 3.21:
>>> As part of a DIY Geiger counter logging backend, I'd like to read
>>> properly formatted pulses over RS232 on my box (and later on my
>>> Gumstix).
>> 
>> Do you mean there's no data protocol, but you just want to read some data value(s) ?
>> 
> No data protocol, just a 5V pulse/count across two wires, random in
> time. Usually it is about 100 counts per minute (cpm), but with
> radiation sources it grows to a few thousand. The software needs to
> sample say every 10 seconds and see how many counts were there during
> that time.

Hi Kalin,

Aha.. can you tell me how it's wired? Or point me to HW docs?

If I understand this correctly, you will need lower level (not rs232 related) calls to see what the wire status is.
I can dust off some code/specs later tonight for that.  


Cheers,
Henri




> I know this is possible with software only, I have the windoze
> software that is working, but it is very user "firendly" showing
> graphs and playing beeps, but doesn't properly log data and is
> proprietary. All I want to to just log the data every N seconds like:
> # from				to					counts
> 2011-04-04T10:10:00		2011-04-04T10:10:10		00000000323
> 2011-04-04T10:10:00		2011-04-04T10:10:10		00000000312
> ....
> 
>>> Any idea/software on how to do that?
>>> 
>>> I have seen http://geiger.sourceforge.net/ but after some tinkering it
>>> is still not working.
> 
>> You can start by verifying the serial speed and parity set in the program  matches what the device is set to.
>> 
> Correct me if I am wrong, but there is no speed, parity or stop bits.
> This is reading raw "data".
> I guess my thing is wired a bit differently, will investigate that.
> 
> Cheers,
> Kalin.
> 
> -- 
> To unsubscribe from this mailing list, 
> please see the instructions at http://lists.tlug.jp/list.html
> 
> The TLUG mailing list is hosted by the award-winning Internet provider
> ASAHI Net.
> Visit ASAHI Net's English-language Web page: http://asahi-net.jp/en/



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links