HobbyPCB.com

Built by Hobbyist for Hobbyist!
It is currently Wed Aug 21, 2019 8:37 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: DB9 pinout and COR
PostPosted: Mon Jun 05, 2017 10:47 pm 
Offline

Joined: Wed Apr 26, 2017 7:12 pm
Posts: 5
Hi All,

I'm playing with the board and am having an issue with the receive audio from the DB9. I'm connecting to an allstar node using a RPI3 and USB FOB it transmits fine but receive audio is not being heard from the board to the FOB. Connected using pin 4, audio out and pin 8 for COR line which if i read correctly is active high. perhaps i'm missing something...
thanks


Top
 Profile  
 
 Post subject: Re: DB9 pinout and COR
PostPosted: Tue Jun 06, 2017 5:19 am 
Offline

Joined: Mon Jul 23, 2012 6:25 am
Posts: 1143
Yes, audio should be on pin 4. Do you hear audio from a speaker attached to the SPK/MIC jack or the SPKR connection on the board? The VU command effects the level of the audio on Pin 4 and the speaker.

The COR output is actually active low. The table on page 11 of the manual says:

"COR output – Low when squelch is open, open circuit when squelch is closed."

The COR output is designed to drive a relay or the PTT input of a transmitter so it's open drain which means that you may need a pull-up resistor in certain situations.

73,
Jim WA2EUJ


Top
 Profile  
 
 Post subject: Re: DB9 pinout and COR
PostPosted: Tue Jun 06, 2017 12:34 pm 
Offline

Joined: Wed Apr 26, 2017 7:12 pm
Posts: 5
hi, thanks. Yes the audio is working now, had a bad fob. getting audio to the pi now ok with the URI, but the COR doesn't seem to be working and im reading a constant .005 volts on the pin open and closed so your right i may need to figure out a pull up resister.

sorry my manual doesn't say the same thing on page 11:

7 External TX signal (E_TX). External serial port TXD or high in TX mode; low in RX.
8 External RX signal (E_RX). External serial port RXD or high when the SQ is open; low when closed

The “EX”’ command sets the function of pins 7 and 8. Digital input signals are compatible with 3.3 and 5V logic. The E_TX signal uses 3.3V logic. The PTT signal can accept -24 to +24V with input below 0.5V interpreted as a TX signal. The default baud rate is 19200 which can be changed using the “B2” command.

i'm on pin 8

thanks


Top
 Profile  
 
 Post subject: Re: DB9 pinout and COR
PostPosted: Tue Jun 06, 2017 1:19 pm 
Offline

Joined: Mon Jul 23, 2012 6:25 am
Posts: 1143
Yes pin 8 can be used for that but you have to change it's function using the EX command and you won't be able to use the serial port on the DB9 after repurposing the pins.

Jim.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group