Date   
Re: Cannot communicate on 460800 baud thumbDV with FTDXX2 library #thumbdv

hayley@...
 

@Mark. I have set up RTS flow control. I am not sure if you are talking about something different. I always operate 8N1 for both the 230400 and 480600 and only the slower works. 
@Bob. The thumbDV is running with a linux 2.6.37 os and I do not believe there are any other COM port drivers.

I was able to find this old thread:
https://dvswitch.groups.io/g/main/topic/5521534#315
The observations he sees are the same I see when running the faster baud rate. I get a bunch of PKT_RDY packets with a few speech packets sprinkled in. The thread mentions something about the TI TPS380x-Q1 Voltage Detectors cause this hardware reset of the AMBE chip. Has anyone else run into this issue?

Re: Cannot communicate on 460800 baud thumbDV with FTDXX2 library #thumbdv

Wa4kfz
 

Something I ran into with my DV Stick (similar to the ThumbDV) was to operate my COM port with hardware flow control. I operate at 460800 and 8N1. Hardware flow control solved some of my weird dropout issues with the audio stream. 

73,
Mark wa4kfz 



On Jun 28, 2019, at 2:58 PM, Bob Recny <n8sqt@...> wrote:

What version of the ThumbDV do you have? Early units used 230.4kbps as default. While the FT230X can go up to 1Mbps, I'm not sure if those early units could handle rates above 230.4kbps.
Just checking - If you are using D2XX, have you removed any VCP (COM) Port drivers from your operating system for that device? D2XX and VCP drivers are mutually exclusive for the FTDI parts.

Re: Cannot communicate on 460800 baud thumbDV with FTDXX2 library #thumbdv

Bob Recny
 

What version of the ThumbDV do you have? Early units used 230.4kbps as default. While the FT230X can go up to 1Mbps, I'm not sure if those early units could handle rates above 230.4kbps.
Just checking - If you are using D2XX, have you removed any VCP (COM) Port drivers from your operating system for that device? D2XX and VCP drivers are mutually exclusive for the FTDI parts.

Re: Cannot communicate on 460800 baud thumbDV with FTDXX2 library #thumbdv

Annaliese McDermond
 

I am not aware of anyone using the library to communicate with the chip. I use standard tty IO with Buster and it works fine at 430800.  I’ve also worked with the chip on Linux while doing some rewrites of AMBEserver and also use tty IO at the higher baud rate just fine. 

So, sorry I can’t answer your question directly, but as far as UNIX-like OSs go, I know of nobody using the FTDI library to drive it. Windows folks may have different experiences. 

—Anna (NH6Z)

Cannot communicate on 460800 baud thumbDV with FTDXX2 library #thumbdv

hayley@...
 

Hello,
I am trying to use the FTD2xx.h library to communicate via serial port with the new ThumbDV at the higher baud rate. However, I am having a lot of issues. Almost no audio packets are going through and somehow the AMBE chip keeps sending pkt reset packets. The same code base is used for the 230400 baud rate and works just fine. I tried to reach out to the FTDI team to get help. They made sure I was using RTS/CTS flow control but could not help me any further since this is a third party device. Can someone please help me figure out how to communicate at this higher rate?

Re: single install for DMR to YSF

 

True as long as YSF is in half rate mode. 


On Thu, Jun 6, 2019, 19:24 Steve KC1AWV <smiller@...> wrote:
YSFN to DMR does not need AMBE transcoding. Take a look at MMDVM_Bridge or HBlink3 projects.

Steve KC1AWV

On Thu, Jun 6, 2019, 7:05 PM Mitch Cohen via Groups.Io <n2rga=verizon.net@groups.io> wrote:
Hi doing research on if the ambree chip interface is a good fit for our project
what we are trying to do due to money constraints. is one network at a time.
DMR to YSF is the first. I know we will need 2 ThumbDV™'s or DVMEGA AMBE3003 DV USB Stick's
a Computer with Debian 9.x Linux and internet.
Here's the problem  the script found here https://n5amd.com/digital-radio-how-tos/build-digital-voice-transcoding-server/ 
installs all 3 networks and the same time.
Where can I find instructions for the DMR to YSF part of the network for a Linux Newbe.
thanks
Mitch, N2RGA

Re: single install for DMR to YSF

Steve KC1AWV
 

YSFN to DMR does not need AMBE transcoding. Take a look at MMDVM_Bridge or HBlink3 projects.

Steve KC1AWV

On Thu, Jun 6, 2019, 7:05 PM Mitch Cohen via Groups.Io <n2rga=verizon.net@groups.io> wrote:
Hi doing research on if the ambree chip interface is a good fit for our project
what we are trying to do due to money constraints. is one network at a time.
DMR to YSF is the first. I know we will need 2 ThumbDV™'s or DVMEGA AMBE3003 DV USB Stick's
a Computer with Debian 9.x Linux and internet.
Here's the problem  the script found here https://n5amd.com/digital-radio-how-tos/build-digital-voice-transcoding-server/ 
installs all 3 networks and the same time.
Where can I find instructions for the DMR to YSF part of the network for a Linux Newbe.
thanks
Mitch, N2RGA

Re: ambe #ambeserver

Charles Wiant
 

Thanks to all ambe server is up and running

 

From: ambe@nw-digital-radio.groups.io <ambe@nw-digital-radio.groups.io> On Behalf Of John D Hays - K7VE
Sent: Thursday, May 23, 2019 12:48 AM
To: ambe@nw-digital-radio.groups.io
Subject: Re: [ambe] ambe #ambeserver

 

 Systemd Management of AMBEserver

 

A set of files for systemd management are located in the files section of the ambe subgroup on groups.ioambesupport.tgz


Download this file to the target computer's filesystem and run 

mv ambesupport.tgz /tmp &&  cd / && sudo tar -xzvf /tmp/ambesupport.tgz

 

Configuration File Location

The systemd configuration files for AMBEserver are located in /etc/opendv

cd /etc/opendv
ls -1

ambeserver-ttyAMA0.conf
ambeserver-ttyS0.conf
ambeserver-ttyUSB0.conf

If your device is at a different location, e.g. /dev/ttyUSB1 simply copy the similar file and give it a new name with the new device

sudo cp ambeserver-ttyUSB0.conf ambeserver-ttyUSB1.conf   

Modifying the Configuration File

Use an editor like vi or nano to edit your configuration file

sudo vi /etc/opendv/ambeserver-ttyUSB0.conf       

There are two environment variables that may be modified namely UDP_PORT and AMBESERVER_FLAGS

Here are the contents of the configuration file:

#
# Configuration file for the AMBEserver program started by systemd.
# Adding flags to AMBESERVER_FLAGS will pass this to the daemon.
# For example, to change the speed to 460800, use the following line:
# AMBESERVER_FLAGS="-s 460800"
#
 
UDP_PORT=2460
AMBESERVER_FLAGS=""

For example, on the newer ThumbDV™ (Rev. A) you would modify the AMBESERVER_FLAGS variable

AMBESERVER_FLAGS="-s 460800"      

To have AMBEserver listen on another UDP port, which is useful if you have more than one AMBEserver running on a single Raspberry Pi -- each with its own AMBE device.

UDP_PORT=18307   

Managing the AMBEserver

The commands for checking, starting, stopping, enabling, and disabling the AMBEserver are as follows:

sudo systemctl status ambeserver@...
sudo systemctl start ambeserver@...
sudo systemctl stop ambeserver@...
sudo systemctl enable ambeserver@...
sudo systemctl disable ambeserver@...

Modify the tty service name as appropriate by replacing ttyUSB0 with:

  • ttyAMA0 for a PiDV™ on on Raspberry Pi / Raspberry Pi 2
  • ttyS0 for a PiDV™ on the Raspberry Pi 3
  • ttyUSBx where x is a digit for the ThumbDV™ on all Linux based systems

Enabling the service will allow the AMBEserver to automatically restart when the Raspberry Pi is restarted.

 

-----

If using the command line to start ambeserver in a terminal shell, and you don't want it to go away when you disconnect or logout, use nohup before the command and an & after.  For an explanation of nohup, issue the command:

 

man nohup

 

 


John D. Hays
Kingston, WA

K7VE

 

 

Re: ambe #ambeserver

 

 Systemd Management of AMBEserver

A set of files for systemd management are located in the files section of the ambe subgroup on groups.ioambesupport.tgz

Download this file to the target computer's filesystem and run 
mv ambesupport.tgz /tmp &&  cd / && sudo tar -xzvf /tmp/ambesupport.tgz

Configuration File Location

The systemd configuration files for AMBEserver are located in /etc/opendv

cd /etc/opendv
ls -1

ambeserver-ttyAMA0.conf
ambeserver-ttyS0.conf
ambeserver-ttyUSB0.conf

If your device is at a different location, e.g. /dev/ttyUSB1 simply copy the similar file and give it a new name with the new device

sudo cp ambeserver-ttyUSB0.conf ambeserver-ttyUSB1.conf	

Modifying the Configuration File

Use an editor like vi or nano to edit your configuration file

sudo vi /etc/opendv/ambeserver-ttyUSB0.conf	

There are two environment variables that may be modified namely UDP_PORT and AMBESERVER_FLAGS

Here are the contents of the configuration file:

#
# Configuration file for the AMBEserver program started by systemd.
# Adding flags to AMBESERVER_FLAGS will pass this to the daemon.
# For example, to change the speed to 460800, use the following line:
# AMBESERVER_FLAGS="-s 460800"
#

UDP_PORT=2460
AMBESERVER_FLAGS=""

For example, on the newer ThumbDV™ (Rev. A) you would modify the AMBESERVER_FLAGS variable

AMBESERVER_FLAGS="-s 460800"	

To have AMBEserver listen on another UDP port, which is useful if you have more than one AMBEserver running on a single Raspberry Pi -- each with its own AMBE device.

UDP_PORT=18307	

Managing the AMBEserver

The commands for checking, starting, stopping, enabling, and disabling the AMBEserver are as follows:

sudo systemctl status ambeserver@...
sudo systemctl start ambeserver@...
sudo systemctl stop ambeserver@...
sudo systemctl enable ambeserver@...
sudo systemctl disable ambeserver@...

Modify the tty service name as appropriate by replacing ttyUSB0 with:

  • ttyAMA0 for a PiDV™ on on Raspberry Pi / Raspberry Pi 2
  • ttyS0 for a PiDV™ on the Raspberry Pi 3
  • ttyUSBx where x is a digit for the ThumbDV™ on all Linux based systems
Enabling the service will allow the AMBEserver to automatically restart when the Raspberry Pi is restarted.

-----
If using the command line to start ambeserver in a terminal shell, and you don't want it to go away when you disconnect or logout, use nohup before the command and an & after.  For an explanation of nohup, issue the command:

man nohup



John D. Hays
Kingston, WA
K7VE


Re: ambe #ambeserver

VE3WVJ
 
Edited

screen utility is good.. also there is byobu for linux command line. byobu is a great screen multiplexer that works on the console. I like it because you can have terminal windows side by side like with screen but you get more information at the bottom of the window with byobu. also byobu has mouse functionality with point and click to choose window and it is more user friendly in my opinion. screen is just as good at what it does also, but my choice is with byobu.

install both of them and try them out

Type:

sudo apt install screen byobu -y

To get a list of the commands used with each program type:

screen --help

or

byobu --help


both applications use [Ctrl+a then a command] to control them. There are various write-ups online about them. 


Information is priceless...


Bill

VE3WVJ

73

Re: ambe #ambeserver

Mike Norrbom
 

You can also install the screen utility.

 

https://linuxize.com/post/how-to-use-linux-screen/

 

I use it for many linux programs.

 

Thanks,

Mike (N0VZC)

 

 

 

From: ambe@nw-digital-radio.groups.io <ambe@nw-digital-radio.groups.io> On Behalf Of VE3WVJ
Sent: Wednesday, May 22, 2019 11:06 PM
To: ambe@nw-digital-radio.groups.io
Subject: Re: [ambe] ambe #ambeserver

 

[Edited Message Follows]

make sure to type "&" after the command you want to run. This makes it run in the background. So you would need to type "AMBEServer &" in the terminal without the quotes to make it run after you close the terminal. Do not put the quotations. just type the command that is inside the quotations. 

Type this into the Terminal:

AMBEServer &

This should run the application in the background.. You can check that it is running using:

ps aux | grep AMBEServer


You only need the & symbol if you wish to run the process in the background. regardless of if you close the terminal window or not. I hope this helps!

 

Bill
VE3WVJ

Re: ambe #ambeserver

VE3WVJ
 
Edited

make sure to type "&" after the command you want to run. This makes it run in the background. So you would need to type "AMBEServer &" in the terminal without the quotes to make it run after you close the terminal. Do not put the quotations. just type the command that is inside the quotations. 

Type this into the Terminal:

AMBEServer &

This should run the application in the background.. You can check that it is running using:

ps aux | grep AMBEServer


You only need the & symbol if you wish to run the process in the background. regardless of if you close the terminal window or not. I hope this helps!

 

Bill
VE3WVJ

Charles Wiant
 

when i close terminal ambe server quits working any ideas

Re: Thumb DV with Android Phone

Mike Besemer
 

I wonder if anyone has tried a Y-cable so you can charge and plug in the Thumb DV at the same time.

 

Mike

WM4B

 

From: ambe@nw-digital-radio.groups.io [mailto:ambe@nw-digital-radio.groups.io] On Behalf Of Gwen Patton
Sent: Saturday, April 27, 2019 12:30 AM
To: ambe@nw-digital-radio.groups.io
Subject: Re: [ambe] Thumb DV with Android Phone

 

I tried using it plugged into my phone, but the battery drain was prohibitive. So I installed AMBEServer on a raspberry pi, punched a hole in my firewall, and set up a dynamic DNS for it. BlueDV AMBE connects to the ThumbDV, which is plugged into the pi through a powered USB hub. 

 

Works perfectly.

 

73,

Gwen, NG3P

 

On Fri, Apr 26, 2019, 10:35 PM Brent LeFevre <brent.lefevre@...> wrote:

I use it with an OTG adaptor to my LGV10, works like a dream....

 

 

As expected, it's a bit taxing On the battery of the phone.

 

 

73 de W4CHF

Brent

 

 

 

On Fri, Apr 26, 2019, 9:03 PM Mike Besemer <mwbesemer@...> wrote:

Would like to hear from users who are using a Thumb DV with their Android phone.  I’m very interested in this combination, but due to the fact that I’ve already got too many irons in the fire, I’d like to know what I’m getting in to first.  Looks like Blue DV might be the way to go.  Thoughts?

73,

Mike

WM4B

Re: Thumb DV with Android Phone

Ludovic Ludo
 

Le 27/04/2019 à 03:03, Mike Besemer a écrit :

Would like to hear from users who are using a Thumb DV with their Android phone.


Hello,

audio depend on the quality of your phone. For me, fine like you can heard on :
http://radioamateur.forumsactifs.com/t2159-dmr-et-dstar-sans-emetteur-recepteur-directement-sur-ordinateur-ou-telephone-portable-smartphone

All info on http://radioamateur.forumsactifs.com/f35-dmr-dstar-c4fm
(Use Google translate)

Best regards,
Ludovic - F5PBG

Re: Thumb DV with Android Phone

Gwen Patton
 

I tried using it plugged into my phone, but the battery drain was prohibitive. So I installed AMBEServer on a raspberry pi, punched a hole in my firewall, and set up a dynamic DNS for it. BlueDV AMBE connects to the ThumbDV, which is plugged into the pi through a powered USB hub. 

Works perfectly.

73,
Gwen, NG3P

On Fri, Apr 26, 2019, 10:35 PM Brent LeFevre <brent.lefevre@...> wrote:
I use it with an OTG adaptor to my LGV10, works like a dream....


As expected, it's a bit taxing On the battery of the phone.


73 de W4CHF
Brent



On Fri, Apr 26, 2019, 9:03 PM Mike Besemer <mwbesemer@...> wrote:

Would like to hear from users who are using a Thumb DV with their Android phone.  I’m very interested in this combination, but due to the fact that I’ve already got too many irons in the fire, I’d like to know what I’m getting in to first.  Looks like Blue DV might be the way to go.  Thoughts?

73,

Mike

WM4B

Re: Thumb DV with Android Phone

Brent LeFevre
 

I use it with an OTG adaptor to my LGV10, works like a dream....


As expected, it's a bit taxing On the battery of the phone.


73 de W4CHF
Brent



On Fri, Apr 26, 2019, 9:03 PM Mike Besemer <mwbesemer@...> wrote:

Would like to hear from users who are using a Thumb DV with their Android phone.  I’m very interested in this combination, but due to the fact that I’ve already got too many irons in the fire, I’d like to know what I’m getting in to first.  Looks like Blue DV might be the way to go.  Thoughts?

73,

Mike

WM4B

Re: Thumb DV with Android Phone

Mike Besemer
 

Thanks Robert.  Exactly what I needed to hear.

 

73,

 

Mike

WM4B 

 

From: ambe@nw-digital-radio.groups.io [mailto:ambe@nw-digital-radio.groups.io] On Behalf Of Robert Moldenhauer
Sent: Friday, April 26, 2019 9:40 PM
To: ambe@nw-digital-radio.groups.io
Subject: Re: [ambe] Thumb DV with Android Phone

 

I use a Galaxy Note 9 with a ThumbDV plugged into it directly with an OTG cable. I run BlueDV AMBE app. he combination works perfectly. I have access to DStar, DMR, and DM+ talkgroups, no C4FM at this point. I just checked into the Canadian DStar Net. Only issue is that the who screen is the push to talk and without a case it's easy to transmit by accident.

Robert
VK2DY

Mike Besemer wrote on 27/4/19 11:03 am:

Would like to hear from users who are using a Thumb DV with their Android phone.  I’m very interested in this combination, but due to the fact that I’ve already got too many irons in the fire, I’d like to know what I’m getting in to first.  Looks like Blue DV might be the way to go.  Thoughts?

73,

Mike

WM4B

 

Re: Thumb DV with Android Phone

Robert Moldenhauer
 

I use a Galaxy Note 9 with a ThumbDV plugged into it directly with an OTG cable. I run BlueDV AMBE app. he combination works perfectly. I have access to DStar, DMR, and DM+ talkgroups, no C4FM at this point. I just checked into the Canadian DStar Net. Only issue is that the who screen is the push to talk and without a case it's easy to transmit by accident.

Robert
VK2DY

Mike Besemer wrote on 27/4/19 11:03 am:

Would like to hear from users who are using a Thumb DV with their Android phone.  I’m very interested in this combination, but due to the fact that I’ve already got too many irons in the fire, I’d like to know what I’m getting in to first.  Looks like Blue DV might be the way to go.  Thoughts?

73,

Mike

WM4B


Thumb DV with Android Phone

Mike Besemer
 

Would like to hear from users who are using a Thumb DV with their Android phone.  I’m very interested in this combination, but due to the fact that I’ve already got too many irons in the fire, I’d like to know what I’m getting in to first.  Looks like Blue DV might be the way to go.  Thoughts?

73,

Mike

WM4B