Mini2440 with 2 pressure sensor inputs and 2 on off outputs

MarkD
Hi I am new to this forum and to mini2440, lots of interesting posts.
What I am trying to do is to use a mini2440 to read 2 pressure sensors
(10-30V DC). One of these sensors I want to just drive a bar graph display.
The other sensor I want to use it combinded with timers to control 2
switching outputs. The outputs will then go to 2 solid state relays and
that in turn will drive a valve. Any help would be great.

Cheers
Mark

davef
Mark,

You didn't give any hints about previous Linux and programming experience,
so I'll suggested the following:

http://www.ptxdist.org/oselas/bsp/pengutronix/mini2440_bsp_en.html
*******
4.12 ADC
Getting the digital equivalent of one of the analogue input channels can be
done by reading the corresponding
entries in the sysfs.
For example the analogue input channel 0 on theMini2440 is connected to the
potentiometerW1. By reading the
entry /sys/devices/platform/s3c24xx-adc/s3c-hwmon/in0_inputwe can watch the
different digital values while
turning the the potentiometerW1.
Note: The analogue input channels 4 ... 7 are occupied by the touchscreen
feature and can only be used as simple
analogue inputs if the touchscreen feature is disabled.
*******
Reading the sensors (external SPI ADC), using the timers and switching GPIO
would be fairly straight-forward.  As for the GUI, I would suggest Qt found
at the nokia site.  There are people around this forum with quite a bit of
Qt experience, so you should be able to get help.

Good luck!

MarkD
G'day davef,

I have zero Linux experience. I have experience writing logic etc but that
is more front screen stuff where the expressions are math, and, or, choose,
etc. All in an automotive environment.

I am very keen to learn though, as these mini2440 and other boards can be
used for so many cool things.
Thanks for your help, when you think you have dumbed it down enough for me,
don't be affraid to dumb it down some more...

Cheers
Mark

davef
Mark,

I spend two years floundering around, which gave me an appreciation for
just how complex embedded Linux is c.f. 8bit AVR uPs.  Going through the
material at the link I posted really helped to solidify a lot of the basic
things that need to be in place. Well worth the time spent and excellent
support from them.

Dave