Can the Proellor handle Negative volts??
krazyideas
Posts: 119
Hello
I am wanting to use the CTRA mode %11010 to measure a pulse from a light show that goes +5 volts -5 volts and I want to know if I can plug that stright into the propellor board or if I need to bring the volts down??· I know that anything above 1.6 volts it reads as high and anything below that it reads low, and that the propellor puts out·3.3 volts when a pin goes high.· But will it hurt it if it is fead +5 volts to read as high and -5 volts to read as low as the input for CounterA to read????
Also kinda a dumb question but what does the % infront of the mode you set for the logics do, like in %11010.
Anyway thanks so much
I am wanting to use the CTRA mode %11010 to measure a pulse from a light show that goes +5 volts -5 volts and I want to know if I can plug that stright into the propellor board or if I need to bring the volts down??· I know that anything above 1.6 volts it reads as high and anything below that it reads low, and that the propellor puts out·3.3 volts when a pin goes high.· But will it hurt it if it is fead +5 volts to read as high and -5 volts to read as low as the input for CounterA to read????
Also kinda a dumb question but what does the % infront of the mode you set for the logics do, like in %11010.
Anyway thanks so much
Comments
2) You can potentially damage the Propeller chip if you connect a negative voltage to an I/O pin without some kind of current limiting resistor.· Similarly, you can damage the chip if you connect a positive voltage greater than 3.3V without some kind of current limiting resistor.· For voltages like +5V or -5V, a 1K resistor is adequate, but something more like 10K is better.· Use Ohm's law to see how much current is involved.
Here is a resistor divider circuit that will convert (5V...0V...-5V) to (3.35V...1.65V...-55mV)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
Post Edited (Leon) : 11/5/2008 1:35:52 PM GMT
That works if the Bi-Polar input is 5V and Vcc is 3.3V, the Uni-Polar output is 3.32V.· However·if the Bi-Polar input is·negative 5V and Vcc is 3.3V then the Uni-Polar output will be·negative 1.68V
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Tracy Allen
www.emesystems.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"I have always wished that my computer would be as easy to use as my telephone.· My wish has come true.· I no longer know how to use my telephone."
- Bjarne Stroustrup