Portsdown Keyer TX and static IP raspian stretch

Discussion about this major DATV Project. See https://wiki.batc.org.uk/The_Portsdown_Transmitter
Post Reply
Patrice
Posts: 31
Joined: Mon Nov 19, 2018 9:49 am

Portsdown Keyer TX and static IP raspian stretch

Post by Patrice » Tue Feb 05, 2019 8:44 am

With the fonction Keyer TX there is a bug. you can switch one time and after impossible to switch again.
to resolve the problem, you should remove one instruction.

Go to the b.sh file:
sudo nano /home/pi/rpidatv/scripts/b.sh
and remove or note with # the follow line:

# sudo killall keyedtx >/dev/null 2>/dev/null

Thank you to Stephane F4DVK to find the bug.

Static IP go to:
sudo nano /etc/dhcpcd.conf

and change as you like.
interface eth0
static ip_address=192. 168 0 120/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1 8.8.8.8

G8GKQ
Site Admin
Posts: 2798
Joined: Sun Mar 22, 2009 1:21 pm

Re: Portsdown Keyer TX and static IP raspian stretch

Post by G8GKQ » Tue Feb 05, 2019 12:51 pm

Thanks Patrice and Stephane

I have just fixed the keyedTX bug and released a new version 201902072. It's great to be presented with solutions!

Thanks also for the static IP information. I may try to make this a touchscreen option in the future.

Dave, G8GKQ

Patrice
Posts: 31
Joined: Mon Nov 19, 2018 9:49 am

Re: Portsdown Keyer TX and static IP raspian stretch

Post by Patrice » Mon Feb 11, 2019 2:51 pm

Hi,

Two news bugs was found in Portsdown software.

First, I use this software on a french repeater (Paris) without any display, only remote by ethernet via microwave link.

1) When we use the "KEYEDTX" fonction it switch to 3.3V the pin 40 (GPIO21) for an RF relay.
To active the pin 40 please follow instructions.

go to file Src > keyedtx > main.c
Add after line 180 (system(starCommand) ;....) add the follow line and record

system("/home/pi/rpidatv/scripts/lime_ptt.sh &");

after go to the repertoir keyedtx and compile with :

make.

move "keyedtx to rpidatv>bin

sudo mv keyedtx /home/pi/rpidatv/bin/

Finish for the first one.

2) From ethernet impossible to adjust the Lime mini and Lime usb Gain.

go to menu.sh

sudo nano /home/pi/rpidatv/scripts/menu.sh/

go to line 698 (Limemini) and add the follow lines (14)

LIMEMINI)
LIME_GAIN=$(get_config_var limegain $PCONFIGFILE)
GAIN=$(whiptail --inputbox "Lime Gain" 8 78 $LIME_GAIN --title "Lime Gain" 3>&1 1>&2 2>&3)
if [ $? -eq 0 ]; then
set_config_var limegain "$GAIN" $PCONFIGFILE
fi
;;
LIMEUSB)
LIME_GAIN=$(get_config_var limegain $PCONFIGFILE)
GAIN=$(whiptail --inputbox "Lime Gain" 8 78 $LIME_GAIN --title "Lime Gain" 3>&1 1>&2 2>&3)
if [ $? -eq 0 ]; then
set_config_var limegain "$GAIN" $PCONFIGFILE
fi
;;

Finish, now you can change the Gain from the menu.
choose limemini in the menu, valid and you can change the gain.

Thank's to Stephane F4DVK

Patrice F1NSU

G8GKQ
Site Admin
Posts: 2798
Joined: Sun Mar 22, 2009 1:21 pm

Re: Portsdown Keyer TX and static IP raspian stretch

Post by G8GKQ » Mon Feb 11, 2019 5:11 pm

Thanks Patrice

When I designed the LimeSDR functionality, I did not think that anyone would use it without a touchscreen, so did not update the SSH menu. As I now know that you do, I will include those fixes in the next version.

Dave, G8GKQ

Patrice
Posts: 31
Joined: Mon Nov 19, 2018 9:49 am

Re: Portsdown Keyer TX and static IP raspian stretch

Post by Patrice » Tue Feb 12, 2019 9:49 am

Hi Dave,

Don't forget to add all modulations DVB-S2 and F.E.C.
Stephane add a n instruction to limite the gain to 100%

73'S Patrice and Stephane

Post Reply

Return to “The Portsdown Digital ATV System”