Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 09-03-2018, 14:28   #1
Registered User

Join Date: Sep 2015
Posts: 13
Opencpn alert buzzer

Hello,
My RPI2 does no sound because I don't have any amplifier.
Is it possible that OCPN AIS alarm activates a buzzer ?
Thanks for answer
François
__________________

Douz is offline   Reply With Quote
Old 09-03-2018, 20:03   #2
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: charleston
Boat: bristol 27
Posts: 3,397
Re: Opencpn alert buzzer

Is your buzzer wired to the pwm output of the raspberry?

Are you able to get a beep with the gpio command?
__________________

boat_alexandra is online now   Reply With Quote
Old 09-03-2018, 22:05   #3
Registered User

Join Date: Mar 2016
Posts: 30
Re: Opencpn alert buzzer

I use a cheap USB speaker with integrated amplifier on my Pi.
Alpenskipper is offline   Reply With Quote
Old 10-03-2018, 01:04   #4
Registered User

Join Date: Sep 2015
Posts: 13
Re: Opencpn alert buzzer

@Alpenskipper: I'd like not to have an amplifier as far as possible
@boat_alexandra: I don't know how Ocpn alarm can turn on GPIO output. This is just what I want to do
Douz is offline   Reply With Quote
Old 10-03-2018, 05:08   #5
Registered User

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 4,170
Re: Opencpn alert buzzer

Might be a handy feature but certainly a lot easier to just get a cheap usb powered speaker.
Does Opencpn write a log entry when an AIS alarm goes off? Shouldn't be too involved to write a little node-red flow to watch for changes in the log file then switch a gpio pin high if a change matches what an alarm entry looks like(if it does get written in the log file).
conachair is offline   Reply With Quote
Old 10-03-2018, 14:46   #6
Registered User

Join Date: Sep 2015
Posts: 13
Re: Opencpn alert buzzer

Very interesting, but I don't know node-red. I'm going to have a look
Douz is offline   Reply With Quote
Old 10-03-2018, 19:42   #7
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: charleston
Boat: bristol 27
Posts: 3,397
Re: Opencpn alert buzzer

Quote:
Originally Posted by Douz View Post
@Alpenskipper: I'd like not to have an amplifier as far as possible
@boat_alexandra: I don't know how Ocpn alarm can turn on GPIO output. This is just what I want to do
The watchdog plugin can do it for many types of alarms, but so far this does not include ais.
boat_alexandra is online now   Reply With Quote
Old 11-03-2018, 05:53   #8
Registered User

Join Date: Sep 2015
Posts: 13
Re: Opencpn alert buzzer

No problem with watchdog plugin, but with AIS alert....
I don't know how to open GPIO with opencpn.log.
Which node should I use in node-red?
__________________

Douz is offline   Reply With Quote
Reply

Tags
enc, opencpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Could this Get any More Confusing ? Wiring Alarm Buzzer to Plotter... OrangeCrush Marine Electronics 23 13-11-2013 14:29
Alternator Light and Buzzer as Isolation Diode phmadeira Electrical: Batteries, Generators & Solar 8 26-02-2012 16:04
Remote Anchor Alarm / Buzzer Palarran Marine Electronics 19 01-03-2011 18:52
Yanmar Start Buzzer Question Sonosailor Engines and Propulsion Systems 4 04-02-2010 08:10
Yanmar Water Warning Light / Buzzer Jack Long Engines and Propulsion Systems 49 07-06-2009 12:15



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 09:08.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2019, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.