PDA

View Full Version : analog input



jcleaver
04-27-2006, 01:59 AM
·new question
dont see where the bs2 acepts a strick analog input ie var voltage from 0-5

see pot or rctime does not seem to fit

second part
if the stamp goes to output on startup will that damange a external device


thanks

PJ Allen
04-27-2006, 04:02 AM
http://forums.parallax.com/showthread.php?p=577581
·

jcleaver
04-27-2006, 08:09 PM
Does not seem to do what i want looking for something that will measure voltage (0-5) all the time
and return a number relating to this does not have to be acccurate

Bruce Bates
04-27-2006, 08:28 PM
jcleaver -

Perhaps there wasn't enough specific information there for you to grasp the concept easily. Here is an applications note provided by Dr. Tracy Allen which explains it a bit more clearly and thoroughly:
http://www.emesystems.com/BS2rct.htm#B_voltage

It's that RCTIME method, or hanging an ADC outboard of the Stamp for measuring the voltage. The Stamp has no analog inputs, by design.

Regards,

Bruce Bates

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->

jcleaver
04-28-2006, 10:35 PM
thank you its just what i needed

its great to have someone with your knowledge on this

thanks again

Paul Baker
04-28-2006, 10:47 PM
PJ does have knowledge in the matter, he is·just consise in the answer, especially when it is a commonly asked question.

For future reference, do a search using http://search.parallax.com, had you typed RCTIME into the engine, you would have found Tracy's page in the first thread returned by the engine.

Also Tracy's website contains a wealth of information on many subjects concerning the Stamp, when you have the time, take a look at it, it will provide you lots of knowledge on aspects of the Stamp in more depth than the Docs.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
1+1=10

Post Edited (Paul Baker) : 4/28/2006 2:51:45 PM GMT

jcleaver
04-28-2006, 11:07 PM
Thanks for the help
could not find the link could you give the address for tracys? This site again

everybody is great on this forum

Chris Savage
04-28-2006, 11:09 PM
The address is right in Bruce's message above.· You will need to copy/paste it.· When forum members use the Quick Reply it causes links to not become "active" by default.

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com (mailto:csavage@parallax.com)

Paul Baker
04-28-2006, 11:24 PM
Here's the base page for the stamp section of Tracy's website: http://www.emesystems.com/BS2index.htm

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
1+1=10

jcleaver
04-28-2006, 11:41 PM
ty