ADC on mini2440

Alex
i would like to connect a preasure device to my mini2440, analogue signal
is 4..20mA 
i got debian lenny with a patched kernel 2.6.39.1 running 

at the moment nothing is connected to ADC0 and a 

cat /sys/devices/platform/s3c24xx-adc/s3c-hwmon/in0_input

delivered always a 2006 or 2010 or 2013

keep in mind, i am a newbie in electronic circuits/schematics.

what value is this 2006?

regards
Alex

Juergen Beisert
digital value '2006' = 2006 mV

Alex
hi juergen, thanx

to everyone

i did a little homework.

the presure sensor deliver 4..20mA
the adc can only handle 3,3V

this means i must use a resistor of 165Ohm to protect my adc input right?
(3.3V / 0.02 = 165Ohm)

ain0 show 2006 mV -> 2.006V
ain1-3 show something between 2939-3126 means 2,9-3,1V

i dont have anything connected to the pins, why can i then see these 2-3V
round there?
thought it must deliver 0V round there, and when i connect my presure
sensor, i will see some voltage round there.

maybe silly newbie questions, but i dont understand it.

regards
alex

TheRegnirps
Ground the inputs and see if you get zero, or near zero. If not, you need
to cause a new conversion -- take a new reading.

raja
hi...
can u plz tell me which type of ADC we are using in this mini2440.. is it
successive approximation r flash r dual slope r ramp r any other.. and y v
r using that adc....

Juergen Beisert
Read the Samsung S3C2440 processor's datasheet.

sinan
Hi everyone.I have two question.


   First Can I compile in0_input driver source code on Fedora having linux
2.6.36.


   Second What I make changes on source code to connect AIN3.


  Please help me This is very urgent for educational project.