Do you have a question? Post it now! No Registration Necessary
- Everett X. Wang
December 27, 2003, 6:38 pm

Hi All,
I am pretty new to linux embedded. A mobile robot project I am working on
requires some IOs: 3 quadrature (single-ended) inputs. two 12 bit AD inputs,
one PWM output. I want to use linux embedded with PC/104 hardware. I can
code in C or C++ and I want to avoid learnning assembly langrage if I can.
Do I have to write my own device driver for these IO boards? Is there any
company that sell the PC104 IO boards with linux drivers?
Thanks in advance.
Everett
I am pretty new to linux embedded. A mobile robot project I am working on
requires some IOs: 3 quadrature (single-ended) inputs. two 12 bit AD inputs,
one PWM output. I want to use linux embedded with PC/104 hardware. I can
code in C or C++ and I want to avoid learnning assembly langrage if I can.
Do I have to write my own device driver for these IO boards? Is there any
company that sell the PC104 IO boards with linux drivers?
Thanks in advance.
Everett

Re: newbie needs help in IO

One way you can approach this is, since this is embedded system and I
am assuming not on the network, you can run you program as root user,
this will allow you to access all the I/O ports so you don't have to
write any drivers.
The other way that we have implemented write a very simple driver that
allows you to access all the I/O ports.
This way you can use any hardware you like.
Hope this helps.
Andy R.

Re: newbie needs help in IO

Everett,
Can't help you if your application specifies the use of embedded
Linux... (and based on the question you ask about device drivers
reflect why Linux remains a rare choice for real-world systems
interfacing with industrial I/O).
But if you have C/C++ programming capability, the following boards
from TERN would meet the requirements you specified in your post:
- first, if you can implement your own quad decoders through polling
of the input signals from your encoders, then something as simple as
the A-Engine would work: http://www.tern.com/aengine.htm
The (former) x86-based Am188ES processor has integrated PWM outputs,
11 ch. 12-bit ADC, and plenty of digital I/O that you could use to
decode the quadrature inputs. In low quantities, this would be priced
<$150.
- second, the A-Engine is also compatible with the P100 expansion
board, which is available integrated with two HP2020 quadrature
decoders, to save yourself the trouble of dealing with the inputs via
software:
http://www.tern.com/p100.htm

Re: newbie needs help in IO

Definitely don't want to get into a religious/philosophical battle, so
let me apologize ahead of time and try to back out gracefully. :)
Embedded Linux is certainly in existence, and it is certainly popular
for a wide range of "industrial control applications".
I will just state that many applications that deal primarily with
responding to and controlling industrial-level interfaces (digital
I/Os, solenoids, relays, serial rs232/485, analog I/Os) also do not
overlap with environments that could really leverage the heavy
multitasking or other system services offered by Linux.

Re: newbie needs help in IO
snipped-for-privacy@hotmail.com (CC Tang) wrote in message

Care to explain why I answer sales inquiries and support questions all
day from our huge list of Linux users? I'm a driver developer for a
PC/104 company (Diamond Systems) and according to our support poll,
50% of our users are currently implementing projects in Linux. Rare?
Maybe when I started at the company a few years ago, but not anymore.
P.S. Since I'm battling Linux FUD I might as well pitch our products
as well. :-) http://www.diamondsystems.com /. We have excellent Linux
drivers for all our DAQ products.

Care to explain why I answer sales inquiries and support questions all
day from our huge list of Linux users? I'm a driver developer for a
PC/104 company (Diamond Systems) and according to our support poll,
50% of our users are currently implementing projects in Linux. Rare?
Maybe when I started at the company a few years ago, but not anymore.
P.S. Since I'm battling Linux FUD I might as well pitch our products
as well. :-) http://www.diamondsystems.com /. We have excellent Linux
drivers for all our DAQ products.

Re: newbie needs help in IO

Correct me if I am wrong, but I believe PC104 systems only have
the equivalent of ISA interfaces, with no PCI, AGP, USB, etc.
Thus your products and drivers are not useful for the cheapest of
hardware, the common PC.
Please don't take this as a criticism. I applaud your efforts.
--
Chuck F ( snipped-for-privacy@yahoo.com) ( snipped-for-privacy@worldnet.att.net)
Available for consulting/temporary embedded and systems.
Chuck F ( snipped-for-privacy@yahoo.com) ( snipped-for-privacy@worldnet.att.net)
Available for consulting/temporary embedded and systems.
We've slightly trimmed the long signature. Click to see the full one.

Re: newbie needs help in IO

Right! PC/104 really is orthogonal to the consumer PC market. You
wouldn't ever want to buy a PC/104 audio board to add to your Athlon
consumer PC, or the reverse.
While the PC/104 expansion bus is ISA, this doesn't stop the CPU board
in the PC/104 stack from having all kinds of integrated devices like
USB, AC'97 audio, AGP 3D video, etc so usually you already have most
of the non-ISA features you need right on the embedded CPU board.
The PC/104 market is quite different from the consumer PC solutions
market. If the project requirements call for a cheap, small computer
then there are plenty of "common PC" solutions out there. However,
PC/104 is great when you need extended temperature ranges, vibration
tolerance, stackability in tight spaces, low power, big MTBF numbers,
lots of vendors selling compatable modules you can stack, extended
availability of "legacy" products, etc.
Your typical Athlon motherboard wont last very long if you launch it
into space, put it in a military vehicle, monitor oil pumps in the
Arctic circle, or try to buy more *exactly* like it 3 years later
because thats the only one the FDA certified for use in your medical
equipment. It'll fail at +70C, the vibration will knock the RAM right
out of the DIMM slots during launch, and Asus US sales will have
stopped making that mobo years ago... :-)
Hmm, I think this has gone a bit off topic. Sorry. Reply via e-mail
if interested in discussing further.
Site Timeline
- » anyone know anything about hp en5000 digital media players?
- — Next thread in » Embedded Linux
-
- » GNOME on embedded devices
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » CR1616 en remplacement de CTL1616
- — The site's Newest Thread. Posted in » Electronics (French)
-