PDA

View Full Version : AD-Logger


jhs
05-03-2003, 04:02 PM
hello,
i am using a very simple AD-converter to measure voltages (circuit based on LTC1290). Till now i used old DOS-Laptops in the field to get and store the measurements. The connection went over the serial port by using the DTR, RTS and CTS lines and the 'port commands' of the io-system.

At the moment i am thinking about a change to a xda.
I need a 'clock', a 'send data' line and a 'receive data' line. They must be switched between zero and at least 3Volts.

Can anybody tell me wether this is possible with a xda ?

- Jan -

martinlong1978
05-03-2003, 07:39 PM
Yeah, i would presume you can use the serial lines, although I don't think there is a clock.

Peter Poelman
05-03-2003, 09:11 PM
You could probably use one of the serial control lines as a clock, and another one as data in and one as data out. The +5V for the thing could also be spuulied by the XDA. You will most likely not get the 50 kilosamples/second the 1290 supports, but that's likely not to be what you want anyway.

jhs
06-03-2003, 01:36 PM
thank you Peter Poelman,
yes, a sample rate of 50kilosamples/s is not my goal.

Meanwhile i found this general page about serial communicaion with Palm's: palm serial manager (http://lovecraft.die.udec.cl/prog_lang/PalmOS/SerialCommunication.html) with a very general statement in the 'serial hardware section':
Some devices also have a configurable DTR (data terminal ready) signal. Normally, the DTR signal is always high.

Ok - some devices can manipulate the DTR-line - but which ? can the XDA ?

According to this page it seems not possible with the standard palm-os modules and routines to manipulate the the RTS line. I can only get status information about the DTR and CTS line - i am new to pda/xda programming i dont know very much about hardware architecture and but maybe someone her has some hints.

- Jan -