does this jive?
stbrnrd
Posts: 35
on a bs2sx would the comand :
IF Pin1 = 1 THEN Pin2 = 1
ELSEIF Pin1 = 0 THEN
FREQOUT Pin3, 1, 20
ENDIF
would this translate to if pin 1 is on, then pin 2 also on; and if pin 1 is not on, send 20KHz out of pin 3 ??
IF Pin1 = 1 THEN Pin2 = 1
ELSEIF Pin1 = 0 THEN
FREQOUT Pin3, 1, 20
ENDIF
would this translate to if pin 1 is on, then pin 2 also on; and if pin 1 is not on, send 20KHz out of pin 3 ??
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Pin1 pin 1 'monitor
Pin2 pin 2 'out if valid
Pin3 pin 3 'out if invalid
the problem is this... I need some guidance...hope you could help
a small portion of my dilemma is this...
on a bs2sx would the comand :
IF Pin1 = 1 THEN Pin2 = 1
ELSEIF Pin1 = 0 THEN
FREQOUT Pin3, 1, 20
ENDIF
would this translate to if pin 1 is on, then pin 2 also on; and if pin 1 is not on, send 20KHz out of pin 3 ??
i need to monitor pin 1 for a 20 - 80 KHz constant signal... if it is present then pin 2 will signal an optocoupler to allow same signal to go on, and if the signal is not within range, to then send a 20KHz (constant) signal out of pin 3.
but i don't know how to do this...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
how would i be able to make the stamp put out an uninterrupted 20KHz signal (for 3-6 hours or more preffered, or a loop)?
in the same token...how could i have it monitor a 20KHz signal so that if it is within range...one action happens...and if it isn't...another action happens?
what kind of hardware conditioning would i have to provide the stamp with ...555 timer ciecuit, crystal, resonator, oscillator, etc. (wikepedia has been good ) help would be apreciated.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
...thanks Chris -
it is 20-80KHz TTL square-wave signal used in a communication identifier. and Austrian made Ir hub that allows up to 4 different comm stations to share and send data signals (hence the 20-80KHz) but the tasking in the project was to build an interface that would allow my station (20KHz) to not fall bellow range, so that info sent by me could not get mistakingly logged as another or ignored due to false identifier. i hope this didn't make it worse, but it's as technical as the manual is translated. thanks again for your help.
did you mean like a transistor connected to the signal that would be detected by the stamp as a "missing pulse" in pwm? - or a 555 timer that could be set to the propper signal and driven by the stamp at a much safer modulation?
your input is appreciated.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
You have an incoming signal of 20 to 80KHz, which IF detected is to be shunted straight through using an optocoupler, and if it isn't detected, you want your circuit to send its own 20KHz signal?
(No other parameters, like a specified delay time before switching over?)
Unless the signal carries some sort of DATA that the BS2 is to decode, what exactly do you need the BS2 for?
The detection-circuit for the 20KHz signal already gives you a logic signal, right?
Can't that logic output be used to control the optocoupler?
And if so can't it also be used to control another optocoupler to connect the locally generated 20KHz to the output?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Don't visit my new website...
as far as the signal being shunted to an optocoupler, i thought that would be the best way to isolate it from the receiving end. i do not have the circuitry to monitor or generate the signal, that was the point of asking for help...because i sure need it.
Just another thing , if you·· - FREQOUT Pin,Period,20·-··· · at the BS2sx you will be sending a 50 Hz false sine wave out, if you want to send an 20KHz out I think you shoud use·· - FREQOUT Pin,Period,8000 -· ( this is just a guess I'm not familiar to the BS2sx , just BS2 ).
Hope it Helps
Amaral
(PS . I tryed to Attach the datasheet but it's giving me an error (runtime ) , look for it at www.alldatasheet.com )
·
for the record ... I'm Brazilian
Amaral.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
As is often the case with the crazy English language, jive has more than one connotative meaning, and numerous denotative meanings. Indeed it can mean "jazz" as you said. Jive can also implyL 1) equivalence with, equality to, or 2) making sense with something else, as in thes example sentences:
Do these instructions jive with the procedures you actaully used to assemble this toy wagom, or do we need to correct them?
or
If the new information proposed for the updated instruction manual jives with the old instruction manual, then there is really no sense in re-writing, and re-printing it.
- - -
In speech, jive is sometimes confused with gibe, which has an entirely different meaning.
Denotatively, jive is actually described as "the language of hipsters" although that is a slightly dated meaning, and not used very often. This is really a good example of a word whose connotative (common use) meaning is often more popular and current, than its rather outdated, denotative (dictionary) meaning.
Regards,
Bruce Bates
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
<!--StartFragment -->
"You have an incoming signal of 20 to 80KHz, which IF detected is to be shunted straight through using an optocoupler, and if it isn't detected, you want your circuit to send its own 20KHz signal?
(No other parameters, like a specified delay time before switching over?)
Unless the signal carries some sort of DATA that the BS2 is to decode, what exactly do you need the BS2 for?----to calculate the signal to ensure that it is a 20000Hz signal----
The detection-circuit for the 20KHz signal already gives you a logic signal, right?----I have no 'detection ckt' asides from the BS2SX----
Can't that logic output be used to control the optocoupler?
Once the stamp calculated the signal to be within range, another pin would control the optocoupler----
And if so can't it also be used to control another optocoupler to connect the locally generated 20KHz to the output?----there wouln'dt be a need for a secondary optocoupler, the stamp would be the generator of this signal----
Amaral
Try using an LM 567 Tone DETECTOR , seems pretty apropriate for your need.----i'm looking at them now thanks----
Just another thing , if you - FREQOUT Pin,Period,20 - at the BS2sx you will be sending a 50 Hz false sine wave out, if you want to send an 20KHz out I think you shoud use - FREQOUT Pin,Period,8000 - ( this is just a guess I'm not familiar to the BS2sx , just BS2 ).----I was under the impression that it would be out of (pin#), for 1 milisecond (.001), the freq of 20Hz, i thought this would equate a 20000Hz constant signal out of the pin...bu it obviously doesn't---
and yes, 'jive'... make sense
Chris...if you wouldn't mind telling me what kind of information do you need, you keep reffering to 'not enough information' but it actually has been offered.
apreciate the help fellas, even yours Chris.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Post Edited (PJ Allen) : 5/29/2006 5:51:19 PM GMT
It's even more complicated (confusing?) than that...
http://www.randomhouse.com/wotd/index.pperl?date=20000711
PAR
i looked at the 555 for freq generation, but how do i make the stamp generate the signal the 555 needs?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com