Help: I/O in real life
Luis Digital
Posts: 371
Hello all,
I am trying to use the Propeller as tool, but I have found problems, for example:
- Frequency meter: I want to protect the input to read frequencies that have more than 5 volts and I have tested several configurations (circuits), but always the Propeller reads a higher frequency.
I have tested circuits of entrance as this:
http://www.qsl.net/yo5ofh/pic/digiscale.htm
9 Hz Propeller read 260 Hz for example.
Removing the capacitor of entrance (22n) functions better, but upon reading 110 volts AC, reads 64 Hz.
Someone used a multimeter Fluke and he reads exact 60 Hz and my Propeller has remained in shame.
Is the Propeller very sensitive or has the circuit of entrance a serious error?
I am trying to use the Propeller as tool, but I have found problems, for example:
- Frequency meter: I want to protect the input to read frequencies that have more than 5 volts and I have tested several configurations (circuits), but always the Propeller reads a higher frequency.
I have tested circuits of entrance as this:
http://www.qsl.net/yo5ofh/pic/digiscale.htm
9 Hz Propeller read 260 Hz for example.
Removing the capacitor of entrance (22n) functions better, but upon reading 110 volts AC, reads 64 Hz.
Someone used a multimeter Fluke and he reads exact 60 Hz and my Propeller has remained in shame.
Is the Propeller very sensitive or has the circuit of entrance a serious error?
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Hardware: I have tested several configurations, but basically the circuit shown up.
If use the Pin directly there is not problem, I can read even other oscillators of 5 MHz for example and measures exact. Also I can generate different frequencies with another Pin and to take the exact reading, but when use the circuit for protection the frequency shown is higher.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
what's the maximum frequency that you want to measure ?
If this frequency is not too high why not using a comparator with hysteresis ?
or even just an optocoupler to protect the propeller ?
do you need a big voltagerange ?
best regards
Stefan
The idea is to create all these tools with aid of the Propeller.
I have thought to do later an oscilloscope using this converter.
The "X" signifies that I have tested of the two forms and also other configurations.
In spite of the fact that the transistor is of highly frequency (NTE 123) to 15 MHz does not want to work.
Perhaps I have been very ambitious:
0 Hz - 40 MHz
2V - 110V
For a so simple circuit.
Finally I think to use two diodes and a resistance, seems me that can be sufficient insurance for 30 volts and thus I maintain the complete frequency range.
But if you have a configuration that work would adopt it.
When it finish the project I will take some photos to show it here.
Do you have an extra diode on the signal line to keep the signal from bouncing back? Are you shielding your signal line?
Rich
- In an occasion I tested using a diode in series in the entrance.
You refer to use it in the collector of the transistor? I am going to test and if works I will put a message.
- A little, but me does not seem that that be the problem and much less when is a matter of low frequencies.