RemoteHams.com
February 04, 2012, 11:25:23 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Lowe HF-150 (TODO)  (Read 3060 times)
pauld
Guest
« on: January 13, 2009, 09:33:25 AM »

Can you please advise I am looking to maybe get a receiver online, It is a Lowe HF-150.
Are you able to help?

TIA

Paul D
« Last Edit: January 14, 2009, 08:04:01 PM by kg6ypi » Logged
kg6ypi
Administrator
Remote Master
*****
Offline Offline

Posts: 131



« Reply #1 on: January 14, 2009, 12:18:11 AM »

I would like to get this online, but after a quick search it looks like that radio has been discontinued...I'm currently writting my own radio control server (part of the Radio Control Framework v2.0, soon to come)  wich does have alpha support for the Lowe HF-235

Hamlib Driver Info
http://hamlib.sourceforge.net/sup-info/support/model1004.txt

I was not able to find much info on this receiver and do not know how it interfaces to the computer

I also found this page...
http://www.swl-remotes.com/features/lowehf150.html
It seems this device allows the Lowe HF-150 to talk to the computer, but you may already have an interface for that?

Do you have any docs on howto use the radio via com port?  ie the CAT commands themselves,  this would be really usefull in creating a driver for the radio....

We may be able to use the HF-235  driver for the HF-150,  as long as the protocol is the same  like  you can do for the  Yaesu FT857 and FT897,  they use the same CAT commands...

In conclusion  getting the HF-150 online doesn't look to good....but we can try...
Logged
pauld
Guest
« Reply #2 on: January 14, 2009, 02:12:19 AM »

Unfortunatly I have no software for this, however I am in talks with LOWE to see what they can do for me..

I have also looked on Shortwave Log and found it there. The issue I have it does not have a handshake signal, That I do know, I am wondering if this may be a problem?Huh

/Paul
Logged
kg6ypi
Administrator
Remote Master
*****
Offline Offline

Posts: 131



« Reply #3 on: January 14, 2009, 11:29:04 AM »

After looking at Shortwave Log's website these Lowe radio's are supported...

Lowe HF-150/235/250/250E

If you can get your radio working with Shortwave Log, then you can get it online using SWL....

On another note....

I'll contact Bob (creator of Shortwave Log)  and see if he is willing to give me his source code to his Lowe drivers,  so i can adapt it into my server, this way RCFserver will support the Lowe radio's also...

Getting closer....

Logged
kg6ypi
Administrator
Remote Master
*****
Offline Offline

Posts: 131



« Reply #4 on: January 14, 2009, 08:03:38 PM »

I was able to get the source code to Shortwave Log's  Lowe HF-150 integration,   looks like we only have SetMode and SetFrequency   and can not read the radio,  but i'm posting the source here  for future reference when i get to actually trying to write a hamlib driver for this radio....
Code:
using System;
using System.Text;

using RLScommon;
using RLScommon.Serial;

namespace RadioInterface
{
/// <summary>
/// Summary description for LoweHF150.
/// </summary>
public class LoweHF150
{
public LoweHF150()
{

}

public static string SetMode(CommPort com, string sMode)
{
string sCommand = "Mod";
switch (sMode.ToUpper())
{
case "AM":
sCommand += "AM ";
break;
case "AMN":
sCommand += "AMn";
break;
case "ASD":
sCommand += "ASd";
break;
case "ASF":
sCommand += "ASf";
break;
case "ASL":
sCommand += "ASl";
break;
case "ASU":
sCommand += "ASu";
break;
case "LSB":
sCommand += "Lsb";
break;
case "USB":
sCommand += "Usb";
break;
default:
break;
}
sCommand += "\r";

// The factory software sends 4 bytes, then 3.
string sCommand1 = sCommand.Substring(0,4);
string sCommand2 = sCommand.Substring(4);

byte[] bCommand1 = ASCIIEncoding.ASCII.GetBytes(sCommand1);
com.Write(bCommand1);
byte[] bCommand2 = ASCIIEncoding.ASCII.GetBytes(sCommand2);
com.Write(bCommand2);

return sMode;
}

public static double SetFrequency(CommPort com, double kHz, bool detune, double offset1, double offset2, double offset3,
            int split1, int split2)
{
if (detune)
{
                kHz = Common.GetFrequencyOffset(kHz, offset1, offset2, offset3, split1, split2);
}

try
{
// We need the nearest 8 Hz tuning step.
int iWholeFrequency = Convert.ToInt32(kHz * 1000.0);
int iQuotient = iWholeFrequency / 8;
int iRemainder = iWholeFrequency % 8;
if (iRemainder >= 4)
{
iQuotient++;
}
kHz = (Convert.ToDouble(iQuotient) * 8.0) / 1000.0;

string sFrequency = String.Format("{0:F3}", kHz);
// If we're using European settings, replace the comma with a period.
sFrequency = sFrequency.Replace(',','.');
int iLen = sFrequency.Length;
while (iLen < 9)
{
// Pad the front of the string with spaces
sFrequency = " " + sFrequency;
iLen = sFrequency.Length;
}

// According to the factory software, we have to send
// three sets of 4 bytes, then terminate with 0x0D
string sCommand = "Frq" + sFrequency + "\r";
string sCommand1 = sCommand.Substring(0,4);
string sCommand2 = sCommand.Substring(4,4);
string sCommand3 = sCommand.Substring(8,4);
string sCommand4 = sCommand.Substring(12);

Byte[] bCommand1 = ASCIIEncoding.ASCII.GetBytes(sCommand1);
com.Write(bCommand1);
Byte[] bCommand2 = ASCIIEncoding.ASCII.GetBytes(sCommand2);
com.Write(bCommand2);
Byte[] bCommand3 = ASCIIEncoding.ASCII.GetBytes(sCommand3);
com.Write(bCommand3);
Byte[] bCommand4 = ASCIIEncoding.ASCII.GetBytes(sCommand4);
com.Write(bCommand4);
}
catch
{
com.Flush();
}

// Return kHz since it's rounded to the nearest 8 Hz.
return kHz;
}
}
}
This is in C# .NET   wich needs to be converted to "cross-compilable" C++ and then into a hamlib driver....wish me luck!
« Last Edit: January 14, 2009, 08:07:28 PM by kg6ypi » Logged
pauld
Guest
« Reply #5 on: January 15, 2009, 12:28:22 AM »

Ok, Thanks for this,

When I gan get to the location of the receiver, I will let you know. I have made a serial lead for it of which I hope will work, however I cannnot check this untill I get dwn there.

I will plug it in, and download shortwave log, and then let you know.

TIA and good luck Smiley

Paul D
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.339 seconds with 18 queries.