Re: pci-dio

From: Peter Wetjens (peterwetjens_at_planet.nl)
Date: 09/07/03


Date: Sun, 7 Sep 2003 19:39:36 +0200

be back, got some trouble with my system..
"kevin" <x@no.email> schreef in bericht
news:bMx3b.10896$v57.10714@nwrdny02.gnilink.net...
> In article <bigeae$rmj$1@reader08.wxs.nl>, "Peter Wetjens"
> <peterwetjens@planet.nl> wrote:
> > Currently i'm using the driver from w.jasper
> > (ftp://lx10.tx.ncsu.edu/pub/Linux/drivers). It works fine. (I've been to
> > comedi.org, but couldn't get the driver compiled just right.)
>
> What kind of problems were you having? Were they compile errors? I've
> had my share of problems too. Most of my problems were with linking with
> the kernel source. Most of these problems are addressed comedi.org's
> mailing list: https://cvs.comedi.org/pipermail/comedi/
>
> > I have a greenhouse with an old climat-controll-computer from priva.
> > It's a 16bits TI, real solid state: no drives, only a numeric keyboard,
> > no console-mode, just some programs in eprom.
>
> I went to Priva's website: http://www.priva.ca/vialux.htm Is their model
> listed? Do you have any documentation like a pdf manual that you could
> send me?
>
> > The purpose of my experiments is to exchange the TI for a PC (suse,
> > kernel 2.2, apache etc), so that i can easily program my own actions,
> > like open windows, turn on/off watering system, heating system, etc. The
> > old system has 64 "out"-channels, adressable by of course 6 bits,
> > digitally, and 64 "in"-channels, with similar adressing, but the
> > in-signals are fed analog into the TI. The pci-dio24 takes care of the
> > adresses, but i need an ADC (resolution >=12 bits) to read the
> > in-signals (like windspeed, temperature, humidity, light) into my PC.
>
> This sounds like a cool mod. Looks like when you remove the TI controller
> you're left with some extra modules, like digital encoders (ENC) and
> analog multiplexers (AMUX). You could possibly use the pci-dio24 to
> substitute the TI if you use 12 digital output lines for control and then
> use the rest of the lines as an input from a 12bit ADC chip. The ADC will
> need some additional control lines but depending upon your resolution
> needs you could probably just go with an 8bit ADC and have four lines left
> over for ADC control. The other option is to dump some of your AMUX
> and/or ENC control lines. I don't know your long term application plans
> but it seems like controlling 16 digital outputs and only 16 analog inputs
> may fit your requirements. This would allow you to use a 12bit ADC and
> leave 4 additional control lines.
>
> Check this one out. You could also send the ADC digital output to a
> serial port on the PC:
> http://www.wikipedia.org/wiki/Analog_to_digital_converter
>
> The best way to get an ADC into the system to just buy an off-the-shelf
> ADC to RS232 module:
> http://www.integrityusa.com/daqitemw.asp?record=42
>
> There are tons of places that sell this kind of stuff. Check out Jameco
> or CircuitCellar.
>
> > An application like labview doesn't seem fit to my purposes. Like to
> > read your opinion.
>
> LabVIEW certainly does seem like overkill, price-wise. I would continue
> trying to get Comedi working and then use it with something free like
> tcl/tk or even some bash scripts. I say that because it doesn't look like
> you need high speed data acquistion.
>
> You're app sounds cool. I look forward to hearing more about it.
>
> -Kevin



Relevant Pages

  • Re: pci-dio
    ... substitute the TI if you use 12 digital output lines for control and then ... use the rest of the lines as an input from a 12bit ADC chip. ... but it seems like controlling 16 digital outputs and only 16 analog inputs ...
    (comp.os.linux.hardware)
  • Re: Fastest way to run a software feedback loop?
    ... it out with an analogue feedback loop, ... because I want to use a small FET to control the heater. ... then stuffing the MSBs into the PWM ... not an ADC? ...
    (sci.electronics.design)
  • Re: Interfacing with RTDs
    ... two channels of that ADC taking the difference in software? ... ADC and one precision resistor feeding the RTD from the reference ... will play havoc with the control to the attempted precision. ...
    (comp.arch.embedded)
  • Re: Controller design
    ... of course the input and output are DAC and ADC counts (the former ... So to make a z domain transfer function you just need to write ... Need to learn how to apply control theory in your embedded system? ...
    (sci.electronics.design)
  • Re: Kernel driver with multiple SPI sources
    ... I am currently writing a kernel driver for an IMU, ... In order to write portable code I was thinking in using general kernel ... IMU is a basic char driver, depending on both ADC and MAG driver, ...
    (Linux-Kernel)