PDA

View Full Version : Is this possible....Newbie question...



CosRush
- 15th November 2005, 15:33
I have 4 inputs i'd like to monitor on an LCD screen.

1x 0-5v which i'd like to be displayed as 0-100%
1x 0-5v which i'd like to be displayed as Boost in Psi
2x Resistance for Water and Air temperature.
plus 'High' signals out...

Does anybody know if this would be possible and if so, what would be needed.......

Thanks

CocaColaKid
- 15th November 2005, 16:31
This doesn't sound overly complicated. I would say any PIC that has 4 analog ports should work fine for this application. I would recommend the 18F452 myself since it's the one that we use the most.

I just noticed though your only using PBC and not PBP so the above statement is sort of true. I'm sure it can be done but it will require more creativity.

Luciano
- 15th November 2005, 17:01
Hi,

17Cxxx, 18Cxxx, 18Fxxx are not supported by PicBasic because of 16-bit core.
For those chips you will need PicBasic Pro.

With PicBasic use a 16F876(A) or a 16F877(A).

The Analog-to-Digital (A/D) Converter module has five
inputs for the 28-pin devices (16F876) and eight for the 40/44-pin
devices. (16F877).

Best regards,

Luciano

CosRush
- 15th November 2005, 17:06
Thanks for the replies

So all in all, would it be able to display the figures i want in the way i want it to???

mister_e
- 15th November 2005, 19:39
it will be possible don't worry. Just much code line to type than with PBP. Look the Melabs website, there's few code example for PBC
http://www.melabs.com/resources/samples.htm#pbc

There's one that show you how to use LCD wich is the big part of what you need. Luciano suggest you some good PIC model to begin.

CosRush
- 15th November 2005, 19:46
Excellent.......

Thanks very much for the help

:-)