Reading voltage at I/O pin
garylake
Posts: 41
Is there a way to read the voltage on an input pin?
Say I hooked up a pot to pin 1 that would vary the voltage from 2v-3v to pin 1and as I adjusted the pot it would output to the terminal.
Say I hooked up a pot to pin 1 that would vary the voltage from 2v-3v to pin 1and as I adjusted the pot it would output to the terminal.
Comments
You can also take a look at the Propeller Backpack (http://www.parallax.com/Store/Microcontrollers/PropellerAccessories/tabid/786/ProductID/602/List/0/Default.aspx?SortField=ProductName,ProductName) for an implementation of the Sigma Delta... becareful implementing your own, however, as they are real sensitive to the distances between the components. In other words, keep the components as close to the pin as possible.
Bill
You know ... I've searched and searched and I can not find reference to your citation here? I searched the OBEX and came up empty as well? Where is it? I thought I would try to measure using "Sigma delta" as opposed to my ADC chip. Not all that important, but I sure would appreciate some help finding it here?
Okay ... have you tried to click on the link and then load the PDF in question and search for "sigma delta"? That is what I was refering to. You come up empty? Give it try and see if you get different results than I do?
Okay ... I'll ask again ... have your tried to click on the link and then load the PDF in question and search for "sigma delta"? That is what I was refering to. You come up empty?
I'm really sorry for missleading you here. I really thought it's described in the PE Lab, but it's described in the
AN001-PropellerCountersv1.2 document. There you also find demo code.
http://www.parallax.com/Portals/0/Downloads/appnt/prop/AN001-PropellerCountersv1.2.zip
But if you have an ADC-chip, why don't you simply tell which one and we can help you with that as well.
It's not fully documented, and not linear. but it's simple and easy to use and easy to understand.
I'm yet to graph out to show the response curve to predict the values.
Thankyou ever so much!!! I'm sorry if I sounded 'annoyed' ... I just like links to go some where for new users! And that helps a great deal.
My chip is a 10 bit A/D [MPC3001-I/P]
http://ww1.microchip.com/downloads/en/DeviceDoc/21293b.pdf
... Tim
I need to use the chip mcp3208 to convert the analog output of chip opt101 to digital input for the propeller.
Can you help with a circuit for the converter please?