cheap ain

hi,

is it possible to use the j5 pin as Analog to Digital converter for my custom C apps.

tks.

yes it is.

http://ucapps.de/mios/j5_din.pdf

wrong link, bill - he asked for Ain not Din :slight_smile:

the pins on J5 in fact are the A/D converter inputs. the AIN board just gives more inputs. So there should be no problem with using J5 without AIN board.

S

oops  ::slight_smile:

but is there a initialisation port procedure ?

and what is the name of the variable that get the value in ?

instead it would be realy cool.

if i can use the j5 as Analog output ???

anyone got experience with it ?

but is there a initialisation port procedure ?

and what is the name of the variable that get the value in ?

http://ucapps.de/mios_c_send_ain.html

et voila !

instead it would be realy cool.

if i can use the j5 as Analog output ???

That’s not possible. The PIC has an A->D converter but no D->A. There’s no way to avoid building an AOUT module, as the topic is “cheap”, you probably want the AOUT_LC which can be built for max 10 Euros.

S