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
  #321 (permalink)  
Old 06-09-2014, 9:37 AM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Jan 2009
Posts: 295
Default

Quote:
Originally Posted by krokus View Post
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

It sounds so garbled. Take a listen if you like you will notice who the state police digital feed right away.

http://www.broadcastify.com/listen/feed/14920
Reply With Quote
Sponsored links
  #322 (permalink)  
Old 06-13-2014, 11:46 PM
Member
   
Join Date: Nov 2010
Location: Marquette
Posts: 3
Default

Hey im wonder if this is possible

I want to have a lcd that displays the last page out time and have a relay powering a 12v led light

Ik how to program it but the lcd and relay require the 5v pin on the rPi

I rather not have to use a external power to trigger the relay if any one can help that would be great since im not good with electronics
Reply With Quote
  #323 (permalink)  
Old 06-14-2014, 3:34 AM
krokus's Avatar
Member
  Premium Subscriber
Premium Subscriber
 
Join Date: Jun 2006
Location: Southeastern Michigan
Posts: 1,695
Default

Quote:
Originally Posted by Brigs164 View Post
Hey im wonder if this is possible

I want to have a lcd that displays the last page out time and have a relay powering a 12v led light

Ik how to program it but the lcd and relay require the 5v pin on the rPi

I rather not have to use a external power to trigger the relay if any one can help that would be great since im not good with electronics
Add a script, which calls a program to display the current time on the display, and turn on the lamp.

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
  #324 (permalink)  
Old 06-14-2014, 4:27 AM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Feb 2011
Location: Massachusetts
Posts: 332
Default

Get yourself a Sainsmart 4 relay board off Amazon for about $9. Wire it to your pi as shown in the image at: Image - TinyPic - Free Image Hosting, Photo Sharing & Video Hosting Make sure that you remove the jumper across VCC/JDVCC. That utilizes 5 v. to pull the relay in and 3.3 v. to control it. The 5v and 3.3v are separated when the jumper is removed. I have one set up this way and it works like a charm. Some posts talk about exceeding the amp capacity of the pi's 5v. pin if all relays pull in simultaneously. It sounds like you only need one relay, though. Attached is a photo of mine.

You can easily call your python script from the alert_command parameter. Make sure that the script or program is accessible from the folder that TTD is running from. Then it would be something like: alert_command = sudo python blink.py
Attached Images
 
Reply With Quote
  #325 (permalink)  
Old 06-14-2014, 4:42 AM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Feb 2011
Location: Massachusetts
Posts: 332
Default

Quote:
Originally Posted by krokus View Post
Add a script, which calls a program to display the current time on the display, and turn on the lamp.

Sent via Tapatalk
Here is a better image of how to hook it up with the jumper removed:
http://img33.imageshack.us/img33/1010/uk1a.jpg
Note that the 5v. pin on the pi goes to the JD-VCC pin with the jumper removed.

The whole post:

Raspberry Pi • View topic - GPIO to SainSmart 4-channel relay board, transistors needed?
Reply With Quote
Sponsored links
  #326 (permalink)  
Old 06-14-2014, 5:58 PM
Member
   
Join Date: Nov 2010
Location: Marquette
Posts: 3
Default

I under stand how to hook up a relay now but im still a little puzzled

Adafruit RGB Negative 16x2 LCD+Keypad Kit for Raspberry Pi:Amazon:Industrial & Scientific

this is the lcd im using it looks like it uses all the gpio pins but im not sure

Also if it dosnt use all the pins can I use pin 2 (5v) to power the lcd and pin 4 (5v) for the relay and would I just extend pin 4 threw the lcd board
Reply With Quote
  #327 (permalink)  
Old 06-25-2014, 8:46 AM
Member
   
Join Date: Jun 2014
Location: Cameron, MO
Posts: 2
Default Problem setting up on PI

Here is a screenshot of the problem that is occurring, everything is setup and configured. When I launch the twotonedetect60api.py program it gets to the point of 'audio_threshold' is not defined, and that is it. Any Ideas on what to do to fix this issue?
Attached Images
 
Reply With Quote
  #328 (permalink)  
Old 06-25-2014, 8:31 PM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Feb 2011
Location: Massachusetts
Posts: 332
Default

Don't you just love those error messages that point you right to the source of your problem?

I think that I have had this one in the past and it indicated that my Base64 encoded password was not correct in the Config.cfg file.

See TwoToneDetect on a Raspberry Pi - How To
Reply With Quote
  #329 (permalink)  
Old 06-26-2014, 5:23 PM
Member
   
Join Date: Jun 2014
Location: Cameron, MO
Posts: 2
Default

What should the Base64 encoded password be?
Reply With Quote
Sponsored links
        
  #330 (permalink)  
Old 06-26-2014, 8:30 PM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Feb 2011
Location: Massachusetts
Posts: 332
Default

Quote:
Originally Posted by dancomp View Post
What should the Base64 encoded password be?
It is your gmail login password (or other email provider) encoded as Base64.

To encode your password go to Base64 Decode and Encode - Online. Then copy and paste the result into the password entry in config.cfg.

If you encode the word twotonedetect it returns dHdvdG9uZWRldGVjdA==
Reply With Quote
  #331 (permalink)  
Old 07-09-2014, 6:51 PM
Member
  Audio Feed Provider
Audio Feed Provider
 
Join Date: Jan 2009
Posts: 295
Default

Quote:
Originally Posted by nick223 View Post
It sounds so garbled. Take a listen if you like you will notice who the state police digital feed right away.

http://www.broadcastify.com/listen/feed/14920

I purchased an imic external speaker and that fixed the issue
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 8:37 AM.


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