ADC in WINCE

iskra
Does any  body  know  about WIN CE driver "ADC1:",  I find the link in
the  C#  sources  but  can't  find  it.  Also  is somebody have a good
experience  with  ADC  working  via  OPENNETCF,  this  is will be very
interesting and not only for me.

Ferite
+1. Needing this driver too..

iskra
Attachment: adc.zip (36 KB)
Well, I add to GPIO driver ADC. Driver and example C# in attached file.

Bristin
Iskra, can you give me a C# of use of the other GPIO pins in the driver in
your adc.zip.

Ferite
Bristin. The GPIO part of the driver is the same as Domodom. Yu could use
the example in his web site as reference.

Bristin
Thank you.

Cristiano
Hello,

how does I attach the GPIO.dll and the GPIO.reg to my windows CE ? I tried
the C# program and I got the error " fail to open ADC1 driver",
it is the source code, the problem is in the following line:

 hPort = CreateFile("ADC1:", GENERIC_READ | GENERIC_WRITE, 0, IntPtr.Zero,
OPEN_EXISTING, 0, IntPtr.Zero);

but I don't know what this means, it's the "ADC1:" file that is not there ?

Thanks in advice,

Cristiano

Cristiano
Attachment: ADC.zip (24.58 KB)
I got the driver working,
sending out the source code for anyone that wants it.

Ego
Hi Cristiano!

I downloaded the attached file you posted, but i haven`t been able to get
the driver working, how can i do that? can you explain me the steps or
something please?, thanks :)

Rusdi
Hi Cristiano!

I downloaded the attached file you posted, but i not find file adc.h.
please upload adc.h .thanks :)

Cristiano
Attachment: adc.h (799 Byte)
Sorry, it was in other folder,
by the way,
some one has the PWM driver ( with both outputs, not only the buzzer )
working ?

thanks !

Cristiano
Ego,

just follow the Domodom tutorial on GPIO,
but use the files I sent you,
in the registry and files, the only thing you need to do is to change GPIO
or GPI to ADC ( copying, or you loose your GPIO driver )

http://www.domodom.fr/spip/A-GPIO-driver-for-mini2440.html

good luck !

Cesar
Hi Cristiano,

I follow the steps on the DomoDom Tutorial,but when I run the example I
still have the same error "fail to open ADC1 driver" and the Driver that I
installed seems to not work.

Any Ideas??? Thanks in advance

Babu.R
hPort = CreateFile("ADC1:", GENERIC_READ | GENERIC_WRITE, 0, IntPtr.Zero,
OPEN_EXISTING, 0, IntPtr.Zero);
i'm having this problem in mini2440 plz anyone help me [at begging itself i
got only -1 in hport]

Babu.R
Hi,
  i have problem in hport while i use with c-mos camera  both section will
belongs to hport so kindly anyone give solution for this problem help me .
it's my final year project so kindly response this quries as soon as
possible

ToonCoolMan
Hi Cesar, Babu.R

   Error "fail to open ADC1 driver" because your image haven't ADC Driver.
Please download image from
http://www.thaieasyelec.com/Free-Service-from-ThaiEasyElec/ARM9-mini2440...

Babu.R
Hi,
   ToonCoolMan i have some problem in adc and also in camera. i have two
set of OS with me. if i boot i set of os adc working but camera is not
working viceversa another set of os camera working but adc is not working
can u give solution for this plz

Mahdi Elexal
where adc driver in
http://www.thaieasyelec.com/Free-Service-from-ThaiEasyElec/ARM9-mini2440...
?

Feature
- GPIO Driver (By ThaiEasyElec.com)
- ADC Driver (By ThaiEasyElec.com)

Feature Not Now!!!

but i now need

help please!

Rajput
Hello,

I know its a long time since the last post on this forum so i suppose some
body has solved the problems of Cesar and Babu.R 

I too have successfully compiled the winCE image with those drivers but
problem "open ADC1 driver fail" remains when i try to access the ADC from
my C# program.

if any one has solved this problem let me know. I am trying to get the
battery level from my device. if nothing works i will use LB1405 of it.

thanks in advance.
regards
Rajput

Rajput
Also if anyone tell me how to directly add a .dll file in winCE project
like the one provided by Iskara, i could try that as well

Stackresolve
open the platform.bib or the project.bib file. Add the dll as below in the
MODULES section

yourdll.dll       $(_FLATRELEASEDIR)\yourdll.dll         NK SH

yourdll.dll is added to the NK.bin. for details about the flags SH see
msdn, here it means, System Hidden file.
find us at
http://www.em.avant-garde-lab.com

cheers.