Reading the Pot voltage
Hello!
I just bought the BASIC Stamp homework board and think its incredible!
I tried the examples for reading the Potentiometer, but it is reading the time measurements (Chapter 5, ReadPotWithRcTime.bs2).
Is it possible to read the actual voltage that is coming out of the potentiometer?· If 5 Volts are going in, and the 10K Ohm Pot is turned halfway, I would probably be seeing 2.5 volts coming out, right?
Whatever the right value is - is it possible to have the BASIC program determine that voltage or read it and show it in the debugger window?
Thanks for the help.
SammyG
·
I just bought the BASIC Stamp homework board and think its incredible!
I tried the examples for reading the Potentiometer, but it is reading the time measurements (Chapter 5, ReadPotWithRcTime.bs2).
Is it possible to read the actual voltage that is coming out of the potentiometer?· If 5 Volts are going in, and the 10K Ohm Pot is turned halfway, I would probably be seeing 2.5 volts coming out, right?
Whatever the right value is - is it possible to have the BASIC program determine that voltage or read it and show it in the debugger window?
Thanks for the help.
SammyG
·
Comments
http://www.parallax.com/Store/Components/AllIntegratedCircuits/tabid/154/CategoryID/78/List/0/Level/a/ProductID/245/Default.aspx?SortField=ProductName%2cProductName
then you would read the data from the a/d chip with the serin command. be sure to check out the pdf's that's listed on the page of that chip.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen