Page 2 of 3

Re: Setting DM1801 TX Power in Hotspot Mode

Posted: Tue Apr 07, 2020 10:38 pm
by F1RMB
Hi,

VK3KYY wrote:
Tue Apr 07, 2020 10:34 pm
umm

The display may not be updating.

I've not checked the code recently
Value less then 10 are ignored. Value below 50 are divided by 12. For the other, I can't remember.

Cheers.
---
Daniel

Re: Setting DM1801 TX Power in Hotspot Mode

Posted: Tue Apr 07, 2020 10:58 pm
by K9RPL
So the value is percentage. If I set a value of say 15 in pi-star that results in 1.25. Which is also a percentage?

Re: Setting DM1801 TX Power in Hotspot Mode

Posted: Tue Apr 07, 2020 11:13 pm
by n1ajw
Guys to change the power in pi-star you go to expert mode and mmdvmhost settings. "RF Power changes the power. 100 =1 watt. lesser numbers are less. I would like to find out how to make it 2 watts or 3 watts for longer trials. Thanks Alec N1AJW

Re: Setting DM1801 TX Power in Hotspot Mode

Posted: Tue Apr 07, 2020 11:21 pm
by K9RPL
In my case the default in pi-star is 1 which would be ignored by the DM1801 Hotspot since it apparently ignores anything below 10 as we've learned. Any value I put in doesn't change the value displayed on the radio.

It appears there is a bit of a disconnect between pi-star and Hotspot mode.

I manually set it to 50mW in the radio as a workaround.

Re: Setting DM1801 TX Power in Hotspot Mode

Posted: Wed Apr 08, 2020 12:16 am
by VK3KYY
In PiStar the value is the percentage of max power

100 = 100%
50 = 50 %

However in the OpenGD77 we ignore the value if its 100%, because the radio's 100% power is 5W and we don't want people accidentally running 5W

If you set 99% you will actually get 5W, as the OpenGD77 evaluates the 99% to the closest power setting to 99% of 5W, i.e 5W

Its not possible to control the OpenGD77 power by percentage e.g. to get 37% of 5W, because the PA drive vs output power is non-linear.
There is a quite complicated calculation to achieve the power setting steps, which uses the 1W and 5W calibration data points for the frequency you are transmitting on, and either does linear interpolation (between 1 and 5W), or uses a faction of the 1W power data point for values below 1W

This also relies on you actually calibrating your radio, because the factory calibration is wildly inaccurate.

If you don't calibrate your own radio using screen in the CPS, the power output is likely to be totally wrong.

Re: Setting DM1801 TX Power in Hotspot Mode

Posted: Wed Apr 08, 2020 1:11 pm
by K9RPL
I'm familiar with digital mode and trying to measure power.

Just for a sanity check I'm going to switch the radio to FM mode and see what my watt meter shows.

By chance is there a way to turn off the backlight in Hotspot mode?

Re: Setting DM1801 TX Power in Hotspot Mode

Posted: Wed Apr 08, 2020 1:21 pm
by LY1RF
Just switch backlight off in normal mode ant it'll remain off in hotspot mode

R.

Re: Setting DM1801 TX Power in Hotspot Mode

Posted: Wed Apr 08, 2020 1:24 pm
by K9RPL
Cool. Thank you!

Re: Setting DM1801 TX Power in Hotspot Mode

Posted: Thu Apr 09, 2020 3:15 pm
by K9RPL
I enabled the logging from pi-star and noticed the power value set in MMDVMHost is actually in watts and not a percentage. Power=1 is 1Watt, Power=15 is 15 Watts. Anything under 1 is 0 Watts.


I: 2020-04-09 15:07:35.682 MMDVM protocol version: 1, description: OpenGD77 Hotspot v0.1.0 GitID #bc46565
I: 2020-04-09 15:07:35.703 Display Parameters
I: 2020-04-09 15:07:35.703 Type: None
W: 2020-04-09 15:07:35.703 No valid display found, disabling
I: 2020-04-09 15:07:35.703 DMR Network Parameters
I: 2020-04-09 15:07:35.703 Address: 107.191.99.14
I: 2020-04-09 15:07:35.703 Port: 62031
I: 2020-04-09 15:07:35.703 Local: random
I: 2020-04-09 15:07:35.703 Jitter: 360ms
I: 2020-04-09 15:07:35.703 Slot 1: disabled
I: 2020-04-09 15:07:35.703 Slot 2: enabled
I: 2020-04-09 15:07:35.703 Mode Hang: 20s
I: 2020-04-09 15:07:35.703 Info Parameters
I: 2020-04-09 15:07:35.703 Callsign: K9RPL
I: 2020-04-09 15:07:35.703 RX Frequency: 438035000Hz
I: 2020-04-09 15:07:35.703 TX Frequency: 438035000Hz
I: 2020-04-09 15:07:35.703 Power: 15W <============================= Power set to 15
I: 2020-04-09 15:07:35.703 Latitude: 41.914078deg N
I: 2020-04-09 15:07:35.703 Longitude: -88.313049deg E


I: 2020-04-09 14:59:09.952 MMDVM protocol version: 1, description: OpenGD77 Hotspot v0.1.0 GitID #bc46565
I: 2020-04-09 14:59:09.973 Display Parameters
I: 2020-04-09 14:59:09.973 Type: None
W: 2020-04-09 14:59:09.973 No valid display found, disabling
I: 2020-04-09 14:59:09.973 DMR Network Parameters
I: 2020-04-09 14:59:09.973 Address: 107.191.99.14
I: 2020-04-09 14:59:09.973 Port: 62031
I: 2020-04-09 14:59:09.973 Local: random
I: 2020-04-09 14:59:09.973 Jitter: 360ms
I: 2020-04-09 14:59:09.973 Slot 1: disabled
I: 2020-04-09 14:59:09.973 Slot 2: enabled
I: 2020-04-09 14:59:09.973 Mode Hang: 20s
I: 2020-04-09 14:59:09.973 Info Parameters
I: 2020-04-09 14:59:09.973 Callsign: K9RPL
I: 2020-04-09 14:59:09.973 RX Frequency: 438035000Hz
I: 2020-04-09 14:59:09.973 TX Frequency: 438035000Hz
I: 2020-04-09 14:59:09.973 Power: 1W <============================= Power set to 1
I: 2020-04-09 14:59:09.973 Latitude: 41.914078deg N
I: 2020-04-09 14:59:09.974 Longitude: -88.313049deg E


I: 2020-04-09 14:58:52.122 MMDVM protocol version: 1, description: OpenGD77 Hotspot v0.1.0 GitID #bc46565
I: 2020-04-09 14:58:52.143 Display Parameters
I: 2020-04-09 14:58:52.143 Type: None
W: 2020-04-09 14:58:52.143 No valid display found, disabling
I: 2020-04-09 14:58:52.143 DMR Network Parameters
I: 2020-04-09 14:58:52.143 Address: 107.191.99.14
I: 2020-04-09 14:58:52.143 Port: 62031
I: 2020-04-09 14:58:52.143 Local: random
I: 2020-04-09 14:58:52.143 Jitter: 360ms
I: 2020-04-09 14:58:52.143 Slot 1: disabled
I: 2020-04-09 14:58:52.143 Slot 2: enabled
I: 2020-04-09 14:58:52.143 Mode Hang: 20s
I: 2020-04-09 14:58:52.143 Info Parameters
I: 2020-04-09 14:58:52.144 Callsign: K9RPL
I: 2020-04-09 14:58:52.144 RX Frequency: 438035000Hz
I: 2020-04-09 14:58:52.144 TX Frequency: 438035000Hz
I: 2020-04-09 14:58:52.144 Power: 0W <============================= Power set to .1
I: 2020-04-09 14:58:52.144 Latitude: 41.914078deg N
I: 2020-04-09 14:58:52.144 Longitude: -88.313049deg E

Re: Setting DM1801 TX Power in Hotspot Mode

Posted: Thu Apr 09, 2020 4:26 pm
by F1RMB
Hi,
K9RPL wrote:
Thu Apr 09, 2020 3:15 pm
I enabled the logging from pi-star and noticed the power value set in MMDVMHost is actually in watts and not a percentage. Power=1 is 1Watt, Power=15 is 15 Watts. Anything under 1 is 0 Watts.


I: 2020-04-09 15:07:35.682 MMDVM protocol version: 1, description: OpenGD77 Hotspot v0.1.0 GitID #bc46565
I: 2020-04-09 15:07:35.703 Display Parameters
I: 2020-04-09 15:07:35.703 Type: None
W: 2020-04-09 15:07:35.703 No valid display found, disabling
I: 2020-04-09 15:07:35.703 DMR Network Parameters
I: 2020-04-09 15:07:35.703 Address: 107.191.99.14
I: 2020-04-09 15:07:35.703 Port: 62031
I: 2020-04-09 15:07:35.703 Local: random
I: 2020-04-09 15:07:35.703 Jitter: 360ms
I: 2020-04-09 15:07:35.703 Slot 1: disabled
I: 2020-04-09 15:07:35.703 Slot 2: enabled
I: 2020-04-09 15:07:35.703 Mode Hang: 20s
I: 2020-04-09 15:07:35.703 Info Parameters
I: 2020-04-09 15:07:35.703 Callsign: K9RPL
I: 2020-04-09 15:07:35.703 RX Frequency: 438035000Hz
I: 2020-04-09 15:07:35.703 TX Frequency: 438035000Hz
I: 2020-04-09 15:07:35.703 Power: 15W <============================= Power set to 15
I: 2020-04-09 15:07:35.703 Latitude: 41.914078deg N
I: 2020-04-09 15:07:35.703 Longitude: -88.313049deg E


I: 2020-04-09 14:59:09.952 MMDVM protocol version: 1, description: OpenGD77 Hotspot v0.1.0 GitID #bc46565
I: 2020-04-09 14:59:09.973 Display Parameters
I: 2020-04-09 14:59:09.973 Type: None
W: 2020-04-09 14:59:09.973 No valid display found, disabling
I: 2020-04-09 14:59:09.973 DMR Network Parameters
I: 2020-04-09 14:59:09.973 Address: 107.191.99.14
I: 2020-04-09 14:59:09.973 Port: 62031
I: 2020-04-09 14:59:09.973 Local: random
I: 2020-04-09 14:59:09.973 Jitter: 360ms
I: 2020-04-09 14:59:09.973 Slot 1: disabled
I: 2020-04-09 14:59:09.973 Slot 2: enabled
I: 2020-04-09 14:59:09.973 Mode Hang: 20s
I: 2020-04-09 14:59:09.973 Info Parameters
I: 2020-04-09 14:59:09.973 Callsign: K9RPL
I: 2020-04-09 14:59:09.973 RX Frequency: 438035000Hz
I: 2020-04-09 14:59:09.973 TX Frequency: 438035000Hz
I: 2020-04-09 14:59:09.973 Power: 1W <============================= Power set to 1
I: 2020-04-09 14:59:09.973 Latitude: 41.914078deg N
I: 2020-04-09 14:59:09.974 Longitude: -88.313049deg E


I: 2020-04-09 14:58:52.122 MMDVM protocol version: 1, description: OpenGD77 Hotspot v0.1.0 GitID #bc46565
I: 2020-04-09 14:58:52.143 Display Parameters
I: 2020-04-09 14:58:52.143 Type: None
W: 2020-04-09 14:58:52.143 No valid display found, disabling
I: 2020-04-09 14:58:52.143 DMR Network Parameters
I: 2020-04-09 14:58:52.143 Address: 107.191.99.14
I: 2020-04-09 14:58:52.143 Port: 62031
I: 2020-04-09 14:58:52.143 Local: random
I: 2020-04-09 14:58:52.143 Jitter: 360ms
I: 2020-04-09 14:58:52.143 Slot 1: disabled
I: 2020-04-09 14:58:52.143 Slot 2: enabled
I: 2020-04-09 14:58:52.143 Mode Hang: 20s
I: 2020-04-09 14:58:52.143 Info Parameters
I: 2020-04-09 14:58:52.144 Callsign: K9RPL
I: 2020-04-09 14:58:52.144 RX Frequency: 438035000Hz
I: 2020-04-09 14:58:52.144 TX Frequency: 438035000Hz
I: 2020-04-09 14:58:52.144 Power: 0W <============================= Power set to .1
I: 2020-04-09 14:58:52.144 Latitude: 41.914078deg N
I: 2020-04-09 14:58:52.144 Longitude: -88.313049deg E
It seems you're modifying the wrong section of the MMDVM ini file. The one you're displaying here is part of the [Info] section.
The one you need to change is in [Modem] section, RFLevel value.


Cheers.
---
Daniel