Two way radio output to a BS2
Nick Waldvogel
Posts: 71
I have a two way radio that I want to hook up the output of the headphones to a BS2.· I tested with a multi meter and found that I get a 2.1 volt output when the radio is receiving a signal.· I tried to input the headphone input to the BS2 directly but I couldn’t get a high reading on the stamp.· I then tried a few different ways to try and get the voltage up.· One of the circuits was the use of a 339 IC form the pages of the microcontroller cookbook.· I can’t tell you what exact page is because the book is in my desk at work.· Maybe I’m looking at it all wrong and maybe I can’t just read it as a high or low?· If I had a scope it might explain a lot.· Until then I hope that maybe you guys can shed some light on this for me.
Thanks for all your help.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Thanks for all your help.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
I rectified the audio (AC signal) through a 4-diode bridge rectifier and used a filter cap to smooth the resulting pulsating DC into something that would drive a relay. Volume adjustment was my level control.
You can try this on your radio's headphone output with 4 diodes (germanium or schottky silicon diodes will have less loss than standard silicon diodes) and an electrolytic·cap, like 100-1000 uF. For direct input to an input pin, your·"on"·signal needs to be above the Stamp's high threshold of ~1.4 volts.
Be careful if you're 'sperimenting. Might be safer to use a reed relay or optoisolator between your radio & Stamp.
Best,
erco
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
You know how to whistle, don't you?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
Give us one week, maximum!
Ken Gracey
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
You won't have to wait long - I'll be able to post it this weekend.
This is really an example of using a BS2 with a mini radio modem and HTs. It's very basic, but what we've done that is unique is produced a simple source code demo that can be adapted for all kinds of uses. And we shook out any problems with the radio modems so our customers needn't hassle with it.
For me, it's a cool application! For seasoned programmers and HAMs, it's probably no big deal. I think I'll use it to control my robots.
Ken Gracey KI6HBT
ps. You should upgrade your licence.. got my general in march, it was a piece of cake.. would be child play for you..
Post Edited (kb1nrb) : 10/18/2008 1:00:12 PM GMT
_._
_ _
_....
_..
...· (had to edit this, as my spaces·got deleted)
Don't stop until you've reached your EXTRA class license. Piece of cake now that they dropped the code requirement that used to distinguish hams from the rest. No 20 WPM is enough to make me a bitter _ _
_ _ _ at 48!
_ _ ...
... _ _
_._
_ _
_....
_..
...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
Post Edited (erco) : 10/20/2008 1:40:44 AM GMT
You can insert spaces that don't get deleted by using the string (HTML non-breaking space). I typcically type it just once and copy it to the clipboard, then paste wherever I need it.
-Phil
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
'Still some PropSTICK Kit bare PCBs left!
If it DOESN'T have squelch, it ain't much of a radio. Throw it away, or donate it to Goodwill.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
· -- Carl