Reading a pot?
Hi,
Could anyone refer me to info on connecting and reading a potentiometer·using the Propeller.
Thanks,
Tony
Could anyone refer me to info on connecting and reading a potentiometer·using the Propeller.
Thanks,
Tony
Comments
http://www.parallax.com/dl/docs/prod/prop/RCTime.zip
Posted the link in case someone else was looking.
Test it out thoroughly... part of the "education" process is sometimes bumping into things in the dark. The example you found can actually be used as part of a good demonstration that Ohm's Law really isn't a law[noparse]:)[/noparse] Don't blame me... a guy at MIT is pushing this one. I don't have my usual computer at the moment. I'll post a reference when I get back home.
Rich
Ohm's law says that the characteristic curve of a resistor is a straight line.
It all depends on your definition of a resistor.
An "ideal" resistor is defined by Ohm's law
Rich
Rich
Any extreme change of that will lead you to general electro-dynamics if not quantum mechanics...
There is no such thing as Ohm's law at -275° C (superconductivity) or at 1 GHz (skin effect) or 100 Tesla
http://www.parallaxinc.com/dl/docs/cols/nv/vol7/col/NV134.pdf
(I am a prop beginner, and new to programming in general)
I'm enjoying this article, but came across something I'm a little confused about.
From what I understand the article explains the creation of an object called rctime, and then shows how you can load this object into its own cog by doing this:
PUB start(pin, state, zofs, div, rcAddr) : okay
stop
mode := 0
okay := cogon := (cog := cognew(rctime(pin, state, zofs, div, rcAddr), @stack)) > 0
if okay
mode := 1
So "stop" in the above code is a reference to a method? If so, where is the stop method located? (I don't see it in the rctime object).
Thanks for any help.
Tony
Rich
Tony
sorry to clog your thread... but deSilva... a name you should remember... was interested in a reference on the demise of Ohm's law.
deSilva
Again... great work on your assembly tutorial.
I'm home ... finally... so I found the reference:
http://web.mit.edu/smcs/8.02/lecture9-220k.ram
This is a lecture by Prof. Walter Levin (He pronounces his name "Lewin") in the open course ware produced by MIT... in this case for physics 8.02. The lecture gives the full derivation of Ohm's law... as well as Prof. Levin's objections to calling it a law.
What I like most about the Propeller is that a person can actually do his own experiments... without having to first deal with other people's lumped abstractions. Someone should introduce Doctor Levin to the Propeller... he could re-create his entire course around it[noparse]:)[/noparse]
Rich
At first I thought: What a preposterous imputation!
But than I suddenly recognized what electronics is really all about: Getting rid of the heat!
And the quitessence? Don't put your Prop into a thermos flask!
The Propeller is the ideal desktop companion[noparse]:)[/noparse]
Rich
Dies ist Sekund
What's a .ram thingy? My browser wants to save it.
Fred
You are probably more right than you think there: "There is no such thing as Ohm's law at -275° C"
;-)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Well I like rounding numbers. -273,15 is such an UGLY value ...
We are way off topic. My apologies to Tony... I think his question got answered?
As far as I'm concerned there is always room for a little humor.
There is still hope for Ohm's law...
There is no reason to assume that resonant coupling does not occur at -273.15... At the microscopic and thermodynamic limits, resistance becomes dominated by ordered couplings... which eat current until saturated. At -273.15 (are we sure this is the right number?)... no resistance can exist, but we know that current can be consumed...
so, at -273.15C Ohm's law would be true... but only until current is actually flowing[noparse]:)[/noparse] [noparse]:)[/noparse] [noparse]:)[/noparse]
To repeat his reasoning (in my own words):
Whenever current flows, dissipation takes place, leading to higher temperature, changing the resistancy of the material!
Every good EE looks for getting rid of this heat: He has to, as he believes in Ohm's law!
A bad EE does not: He believes in "Magic smoke"
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
But I new it! It's all black magic inside...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.