Searching \ for '[PIC]: AD output to display' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/ios.htm?key=output
Search entire site for: 'AD output to display'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: AD output to display'
2004\01\19@100554 by =?iso-8859-1?Q?=C5ke_Neehr?=

picon face
Hello!

My problem is this:

I want to get the value in the AD register
ADRES on a PIC16F870 output and
showed on a 3-digit display.
Have done this with eight leds on PORTC
and that works good with 0,6 V between
each step but to show the right value on a
display I don´t manage.

Please help me!

ÅkeN

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.

2004\01\19@101347 by Josh Koffman

flavicon
face
I'm sure you will get a bunch of replies to this, but I'll throw in some
links as well. First off, you should specify what type of display you
are using, ie LED, LCD, VFD. Essentially the easiest way to accomplish
your goals will likely be to read the ADC, store it in a memory
location, then call a routine to parse that, convert it into three 0-9
digits, and then display it.

For displays, check out:
http://www.piclist.com/techref/io/led/pic.htm
http://www.piclist.com/techref/io/lcd/pic.htm
For base conversions (ie binary to BCD), check:
http://www.piclist.com/techref/microchip/math/radix/index.htm

Hope this helps.

Josh
--
A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete
fools.
       -Douglas Adams

Eke Neehr wrote:
> I want to get the value in the AD register
> ADRES on a PIC16F870 output and
> showed on a 3-digit display.
> Have done this with eight leds on PORTC
> and that works good with 0,6 V between
> each step but to show the right value on a
> display I don4t manage.

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.

2004\01\21@125805 by =?iso-8859-1?Q?=C5ke_Neehr?=

picon face
----- Original Message ----- From: "Josh Koffman" <spam_OUTlistsjoshTakeThisOuTspam3MTMP.COM>
To: <.....PICLISTKILLspamspam@spam@MITVMA.MIT.EDU>
Sent: Monday, January 19, 2004 4:15 PM
Subject: Re: [PIC]: AD output to display


Hello!

I want to thank Josh for the suggestions he
give me to solve my problem out.
I found a nice code called BIN2BCD created
by A Borowski so I want to thank even him
if he look at this!
I have looked at the datasheet on 16F870
and tryed to find out what the maximum
rating is for input Vref on pin RA3 but I don´t
see anything about this.
Is it +5V ?

Regards

ÅkeN



{Quote hidden}

--
http://www.piclist.com hint: To leave the PICList
piclist-unsubscribe-requestspamKILLspammitvma.mit.edu

More... (looser matching)
- Last day of these posts
- In 2004 , 2005 only
- Today
- New search...