RadioReference on Facebook   RadioReference on Twitter   RadioReference Blog
 

Go Back   The RadioReference.com Forums > Software > Streaming / Broadcasting / Audio Recording

Streaming / Broadcasting / Audio Recording Interested in putting your scanner online for others to hear? Want to listen to other radios on the internet. This forum is here for you to discuss these topics related to streaming scanners online.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #301 (permalink)  
Old 05-15-2014, 8:51 PM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Feb 2011
Location: Massachusetts
Posts: 360
Default

Quote:
Originally Posted by Laxplurr06 View Post
I am just using the long tone at 688.0 Hz. I don't get any alerts when I send the 688 Hz tone to the pi.

I'm sure I am just looking over something simple. A second pair of eyes always helps.
take out the two lines that refer to c:/test.bat also if you are not using them. They will cause the computer to look for that file and it won't find it.
Reply With Quote
Sponsored links
  #302 (permalink)  
Old 05-15-2014, 9:04 PM
Member
  Amateur Radio Operator
Amateur Radio
 
Join Date: Jan 2008
Location: Boston, MA
Posts: 176
Default

I did what you said and used the two tones instead of the long. That seemed to do the trick. Thanks for the help.
__________________
Jeffrey Eszlari (KB1RCC)
Uniden BCD396XT, Kenwood NX-300, Icom F-70DS, Icom IC-208H, Pro-38, HTX-202
Reply With Quote
  #303 (permalink)  
Old 05-21-2014, 12:21 PM
Member
  Amateur Radio Operator
Amateur Radio
 
Join Date: Jan 2008
Location: Boston, MA
Posts: 176
Default

Is there anyway to activate a GPIO pin when a tone is detected? I would like to connect it to a relay and have it flash some lights and activate a siren.
__________________
Jeffrey Eszlari (KB1RCC)
Uniden BCD396XT, Kenwood NX-300, Icom F-70DS, Icom IC-208H, Pro-38, HTX-202
Reply With Quote
  #304 (permalink)  
Old 05-21-2014, 2:17 PM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Feb 2011
Location: Massachusetts
Posts: 360
Default

Quote:
Originally Posted by Laxplurr06 View Post
Is there anyway to activate a GPIO pin when a tone is detected? I would like to connect it to a relay and have it flash some lights and activate a siren.
I haven't attempted it but I believe you can use the alert_command or the post_alert_command parameter in the tones.cfg file to trigger a python script. Then if you know how to activate a GPIO pin, it should be pretty simple from there.
Reply With Quote
  #305 (permalink)  
Old 05-22-2014, 3:16 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 854
Default

Quote:
Originally Posted by DC31 View Post
I haven't attempted it but I believe you can use the alert_command or the post_alert_command parameter in the tones.cfg file to trigger a python script. Then if you know how to activate a GPIO pin, it should be pretty simple from there.
Exactly right. I'd suggest setting up a shell script or python script to toggle the pin, and execute it upon tone detection using the alert_command parameter.

Andy
__________________
Using TwoToneDetect? Show us where! Add yourself to the user map here or PM me with your location and I'll add you.

If you need help with TwoToneDetect please read this post first
Reply With Quote
Sponsored links
  #306 (permalink)  
Old 05-23-2014, 11:12 AM
Member
  Amateur Radio Operator
Amateur Radio
 
Join Date: Jan 2008
Location: Boston, MA
Posts: 176
Default

Thanks for the help! I got the pi to turn on the gpio for 10 seconds. It then activates a light bar I had siting around. I am very happy with the outcome.
__________________
Jeffrey Eszlari (KB1RCC)
Uniden BCD396XT, Kenwood NX-300, Icom F-70DS, Icom IC-208H, Pro-38, HTX-202
Reply With Quote
  #307 (permalink)  
Old 05-23-2014, 11:22 AM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Feb 2011
Location: Massachusetts
Posts: 360
Default

Quote:
Originally Posted by Laxplurr06 View Post
Thanks for the help! I got the pi to turn on the gpio for 10 seconds. It then activates a light bar I had siting around. I am very happy with the outcome.
can u post a video?
Reply With Quote
  #308 (permalink)  
Old 05-23-2014, 11:31 AM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Feb 2011
Location: Massachusetts
Posts: 360
Default

Quote:
Originally Posted by Laxplurr06 View Post
Thanks for the help! I got the pi to turn on the gpio for 10 seconds. It then activates a light bar I had siting around. I am very happy with the outcome.
I also had a little time to kill this morning. Turkey hunting has gone badly for me this year and it is raining to boot.

I had a four relay SainSmart board laying around that I had never figured out. It turns out to be quite easy to make a little python program that switches the relays. In this photo the LED for relay No. 3 indicates that it has been activated. Those relays are rated 10A at 125-250 VAC and 10A at 28-30VDC. You should be able to switch most any load you want with them.

Here is the link to the most useful hardware setup information that I found. Mine is wired as shown in his image except I used relay #3 and GPIO pin 11.

Raspberry Pi • View topic - GPIO to SainSmart 4-channel relay board, transistors needed?
Attached Images
 
Reply With Quote
  #309 (permalink)  
Old 05-23-2014, 11:52 AM
Member
  Amateur Radio Operator
Amateur Radio
 
Join Date: Jan 2008
Location: Boston, MA
Posts: 176
Default

I will post a video as soon as I get out of class for the day.

I wish I could get more turkey hunting it but I am stuck at school for the summer semester.
__________________
Jeffrey Eszlari (KB1RCC)
Uniden BCD396XT, Kenwood NX-300, Icom F-70DS, Icom IC-208H, Pro-38, HTX-202
Reply With Quote
Sponsored links
  #310 (permalink)  
Old 05-23-2014, 3:31 PM
Member
  Amateur Radio Operator
Amateur Radio
 
Join Date: Jan 2008
Location: Boston, MA
Posts: 176
Default

[url=https://www.youtube.com/watch?v=sLd5YV0x4k0] Light Activation [url]
__________________
Jeffrey Eszlari (KB1RCC)
Uniden BCD396XT, Kenwood NX-300, Icom F-70DS, Icom IC-208H, Pro-38, HTX-202
Reply With Quote
  #311 (permalink)  
Old 05-23-2014, 9:43 PM
Member
   
Join Date: Oct 2013
Location: Atikokan, Ontario
Posts: 18
Default GMAIL Issues

I'm having troubles with GMAIL locking me out when using TTD on my Pi. After it sends two or three batches of e-mails, GMail will lock the account, and the Pi won't be able to send e-mails. If I login to the account on my computer, I have to fill-in the CAPTCHA word to get access to the account. Thene the Pi will be able to send e-mail.

Anyone have any solutions? I don't think I can use two-step verification on the Pi.

Warren
Reply With Quote
  #312 (permalink)  
Old 05-24-2014, 11:21 AM
krokus's Avatar
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Jun 2006
Location: Southeastern Michigan
Posts: 1,802
Default Re: TwoToneDetect on a Raspberry Pi - How To

Quote:
Originally Posted by Laxplurr06 View Post
https://www.youtube.com/watch?v=sLd5YV0x4k0
Light Activation
To avoid setting off people's pagers, I hope you are using some other tones, another frequency, or something.

There are other ways to feed the tones into the TTD, such as an audio file from the computer or an app on your phone. That way there is no radio broadcast.

Sent via Tapatalk
__________________
Generic radio geek, in southeast Michigan.
PSR-500, TM-742, TM-V71,TH-78, HTX-420, IC-2AT, IC-2E (clone), Pro-39, BC-235XLT, TK-290, XTS-5000
Reply With Quote
  #313 (permalink)  
Old 05-24-2014, 3:13 PM
Member
  Amateur Radio Operator
Amateur Radio
 
Join Date: Jan 2008
Location: Boston, MA
Posts: 176
Default

Someone always has to be the radio police. No, this was not done on a public safety frequency. It was actually done on an Amateur radio frequency on low power. Yes, I am a licensed technician.
__________________
Jeffrey Eszlari (KB1RCC)
Uniden BCD396XT, Kenwood NX-300, Icom F-70DS, Icom IC-208H, Pro-38, HTX-202
Reply With Quote
  #314 (permalink)  
Old 05-24-2014, 11:41 PM
krokus's Avatar
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Jun 2006
Location: Southeastern Michigan
Posts: 1,802
Default Re: TwoToneDetect on a Raspberry Pi - How To

Quote:
Originally Posted by Laxplurr06 View Post
Someone always has to be the radio police. No, this was not done on a public safety frequency. It was actually done on an Amateur radio frequency on low power. Yes, I am a licensed technician.
Nothing about being radio police. I just know how annoying it is have to the pager going off, for no reason.

Sent via Tapatalk
__________________
Generic radio geek, in southeast Michigan.
PSR-500, TM-742, TM-V71,TH-78, HTX-420, IC-2AT, IC-2E (clone), Pro-39, BC-235XLT, TK-290, XTS-5000
Reply With Quote
  #315 (permalink)  
Old 05-25-2014, 11:57 AM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 854
Default

Quote:
Originally Posted by VE3FYN View Post
I'm having troubles with GMAIL locking me out when using TTD on my Pi. After it sends two or three batches of e-mails, GMail will lock the account, and the Pi won't be able to send e-mails. If I login to the account on my computer, I have to fill-in the CAPTCHA word to get access to the account. Thene the Pi will be able to send e-mail.

Anyone have any solutions? I don't think I can use two-step verification on the Pi.

Warren
You need to set up an application-specific password for TTD to use with gmail. See here:

https://support.google.com/mail/answer/1173270?hl=en

Andy
__________________
Using TwoToneDetect? Show us where! Add yourself to the user map here or PM me with your location and I'll add you.

If you need help with TwoToneDetect please read this post first
Reply With Quote
Sponsored links
  #316 (permalink)  
Old 06-01-2014, 7:29 AM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Jan 2009
Location: Ottawa Illinois
Posts: 341
Default

Andy

I have numerous Verizon carriers on TTD not receiving alerts. Some are iPhones and some are droid phones but it's a big portion of Verizon carriers no other carrier is effected maybe the occasional sprint carrier but I don't have to many sprint people.

But its weird with these Verizon carries some get every ttd text alert others get a few ttd alerts but not all. Some don't get their dept ttd alert but get other dept alerts ( on same email address)

Then I have some that don't get alerts from one email address at all for ttd but they receive my other email address for alerts on a different ttd.

I'm operating 2 ttd on 2 different pi's and two gmail email addresses.

I have ATT and I get all the alerts just fine.
Any idea? I'm stumped

Thanks
Nick
Reply With Quote
  #317 (permalink)  
Old 06-01-2014, 3:23 PM
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Aug 2005
Posts: 854
Default

Quote:
Originally Posted by nick223 View Post
Andy

I have numerous Verizon carriers on TTD not receiving alerts. Some are iPhones and some are droid phones but it's a big portion of Verizon carriers no other carrier is effected maybe the occasional sprint carrier but I don't have to many sprint people.

But its weird with these Verizon carries some get every ttd text alert others get a few ttd alerts but not all. Some don't get their dept ttd alert but get other dept alerts ( on same email address)

Then I have some that don't get alerts from one email address at all for ttd but they receive my other email address for alerts on a different ttd.

I'm operating 2 ttd on 2 different pi's and two gmail email addresses.

I have ATT and I get all the alerts just fine.
Any idea? I'm stumped

Thanks
Nick
Nick,

A few things to check:

1) Make sure the attachments are being sent in AMR or mp3 format, not as WAV files. If they are being sent as WAV files, that means ffmpeg isn't working.
2) If AMR isn't working, try mp3 instead, and vice versa
3) Make sure you're sending to the MMS address, not the SMS address. For Verizon it's ##########@vzwpix.com
4) Is there any correlation between undelivered messages and attachement file size? Some carriers block attachments that are too large. If this is happening, you might need to shorten your recording or use a lower bit rate for encoding
5) If you're using a "From" address different from the actual account being used to send the message, it will sometimes get marked as spam
6) If you have a lot of people you're sending to, you can try using the BCC option to send, some people have reported that helps with large distribution lists

I'm surprised you're having problems with Verizon, they have had the least amount of issues of all of the carriers, in my experience.

Andy
__________________
Using TwoToneDetect? Show us where! Add yourself to the user map here or PM me with your location and I'll add you.

If you need help with TwoToneDetect please read this post first
Reply With Quote
  #318 (permalink)  
Old 06-02-2014, 8:29 AM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Jan 2009
Location: Ottawa Illinois
Posts: 341
Default

Thanks for getting back to me Andy. All these Verizon people/phones use to get alerts but recently stopped getting them. Like i said some of these Verizon people still get alerts from my other Pi; Pi 2 (different Email) but not from my my Pi 1 . Both Pis are set up identical. For your questions...

1. They are being sent as AMR and MP3 so ffmpeg is working

2. Went from Mp3 to AMR to AMR to Mp3 no change in receiving the alerts.

3. Yes all names are set up with the for mms address and not text alert.

4. They plan just dont receive anything i did cut the recording time down to 45 seconds and the biterate is 48k

5. im not sure what you mean by 'From" address the email sends out using the same gmail email address that is logged into TTD.

6. BCC is at 1 email address will be BCC'ed (hidden)




Quote:
Originally Posted by aaknitt View Post
Nick,

A few things to check:

1) Make sure the attachments are being sent in AMR or mp3 format, not as WAV files. If they are being sent as WAV files, that means ffmpeg isn't working.
2) If AMR isn't working, try mp3 instead, and vice versa
3) Make sure you're sending to the MMS address, not the SMS address. For Verizon it's ##########@vzwpix.com
4) Is there any correlation between undelivered messages and attachement file size? Some carriers block attachments that are too large. If this is happening, you might need to shorten your recording or use a lower bit rate for encoding
5) If you're using a "From" address different from the actual account being used to send the message, it will sometimes get marked as spam
6) If you have a lot of people you're sending to, you can try using the BCC option to send, some people have reported that helps with large distribution lists

I'm surprised you're having problems with Verizon, they have had the least amount of issues of all of the carriers, in my experience.

Andy
Reply With Quote
  #319 (permalink)  
Old 06-08-2014, 10:01 PM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Jan 2009
Location: Ottawa Illinois
Posts: 341
Default

Anyone using a pi with digital scanner feeds? My pi or UBS sound cards sounds horribly distorted for state police starcom 21 digital feed. Is there a fix and a any way to get it to sound normal? All my Analog radio traffic that comes through sounds perfectly normal.
Reply With Quote
  #320 (permalink)  
Old 06-09-2014, 5:14 AM
krokus's Avatar
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Jun 2006
Location: Southeastern Michigan
Posts: 1,802
Default

Quote:
Originally Posted by nick223 View Post
Anyone using a pi with digital scanner feeds? My pi or UBS sound cards sounds horribly distorted for state police starcom 21 digital feed. Is there a fix and a any way to get it to sound normal? All my Analog radio traffic that comes through sounds perfectly normal.
What type (s) of distortion? I could see audio levels being a problem, or "frame loss" due to over taxing a low end processor.

Sent via Tapatalk
__________________
Generic radio geek, in southeast Michigan.
PSR-500, TM-742, TM-V71,TH-78, HTX-420, IC-2AT, IC-2E (clone), Pro-39, BC-235XLT, TK-290, XTS-5000
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:20 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
All information here is Copyright 2012 by RadioReference.com LLC and Lindsay C. Blanton III.Ad Management by RedTyger
Copyright 2011 by RadioReference.com LLC Privacy Policy  |  Terms and Conditions