¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: LP100A SWR and Power


 

¿ªÔÆÌåÓý

In my hours of research I remember reading some USB toserial adapters would go ¡°stupid¡± if addressing them by the port number. It was recommended to address them by the serial number of the cable which is unique with real FTDI chipset cables.

I believe that is also how Flex keeps track of the cables plugged directly into the radio.

Dave wo2x


On Jul 11, 2020, at 9:15 PM, Alan Blind <a.alan.blind@...> wrote:

?
Thanks, Mike.?

I will continue to try different settings.

Alan

On Sat, Jul 11, 2020 at 7:09 PM Michael Walker <va3mw@...> wrote:
Hi Alan

You might have to play in this area, edit serial port node.

The LP100A starts with a ; that I use to start the listening process.

However, I have found a bug on my USB ports that they don't listen at times until I change the Split Input time (or something) that caused the something to get reloaded it seams.

Mike?


<image.png>



On Sat, Jul 11, 2020 at 2:31 PM Alan Blind <a.alan.blind@...> wrote:
Mike

I see you are using Node-Red serial in and out nodes.? With cables? ?

I am having problems doing the same here.? I have had success with serial to IP converters for remoting the?ports.? I am now trying to co-locate the Raspberry Pi and use cables for the serial connection.

However, when I use a Serial to USB FTDI cable, my Node-Red sees the cable connected to the USB port, ?Node-Red says it is connected to the port, but will not pass data thru?? All of the basic serial settings are per the device's instructions.

My current instance is with the W2 Wattmeter.? I am using the Elecraft supplied serial to USB FTDI cable plugged into the Raspberry Pi USB2 port.

Are you using FTDI Serial to USB cables?? I know you have previously used the Serial to IP convertors?which I too have used successfuly.? Did you find any other settings or drivers necessary?to make the cable work on a Raspberry Pi?

Alan
WA9WUD

On Fri, Jul 10, 2020 at 10:02 AM Michael Walker <va3mw@...> wrote:
I'm still working on it.? The key was making sure I don't corrupt the read of the initial data.? I'm adding more display info.

I took out the Gate since the LP100A handles clearing the display nicely.

I'm reading every 100ms to try to catch a nice Peak value, but I am checking with Telepost to see if I actually need to do that or if the LP100A actually holds peak from the last x-milliseconds.??

Still a play in progress!? :)

Mike



<image.png>


[{"id":"6bf0f43f.f0ad1c","type":"tab","label":"LP-100A","disabled":false,"info":""},{"id":"98aa4756.b21c48","type":"serial in","z":"6bf0f43f.f0ad1c","name":"LP100A In","serial":"8c8041f4.047d2","x":200,"y":340,"wires":[["ada0955c.a21b08","1bbc73c5.a5115c","8b20a0ee.cc4e2"]],"info":"Under normal operating conditions, if the W2 is sent either an \"I\" or an \"i\", it returns a string of information about the state of\nthe Sensors, the Range settings, some internal settings, and which Sensor is active. If, however, the W2 is in the high SWR\nalarm mode (all SWR LED's flashing), sending the \"I\" command returns only \"A!;\"\n\nByte Property\n1 \"I\" or \"i\" (echoes back what you sent).\n2 Active Sensor (1 or 2) matching the \"S1/S2\" LED lit.\n3 Range Level (1=2W, 2=20W, 3=200W, 4=2KW) of the Active Sensor.\n4 AutoRange status (0=off, 1=on) for Active Sensor.\n5 Sensor type (0=200W, 1=2KW, 2=VHF) of Active Sensor.\n6 Sensor's internal attenuator status (0=off, 1=on) of Active Sensor.\n7 W2 LED display state (0=off, 1=on).\n8 Active Sensor (0=none, 1=S1, 2=S2).\n9 Sensor1 Range Control (0=manual, 1=auto).\n10 Sensor1 Range Level (0=no sensor, 1=2W, 2=20W, 3=200W, 4=2KW).\n11 Sensor2 Range Control (0=manual, 1=auto).\n12 Sensor2 Range Level (0=no sensor, 1=2W, 2=20W, 3=200W, 4=2KW).\nE l e c r a f t ? w w w . e l e c r a f t . c o m ? 8 3 1 - 7 6 3 - 4 2 1 1\nW"},{"id":"5587be3.fbbef4","type":"serial out","z":"6bf0f43f.f0ad1c","name":"LP100A Out","serial":"8c8041f4.047d2","x":850,"y":180,"wires":[]},{"id":"20b9631f.1a792c","type":"inject","z":"6bf0f43f.f0ad1c","name":"P Send","topic":"","payload":"P","payloadType":"str","repeat":".2","crontab":"","once":true,"onceDelay":".2","x":220,"y":240,"wires":[["5587be3.fbbef4"]]},{"id":"94416a4b.df81d8","type":"comment","z":"6bf0f43f.f0ad1c","name":"Notes for LP100A RS232","info":"* Range: Allows switching the maximum power range of the display. Choices are 25, 250, 2500W and Auto for autoranging.\n* \n* Alarm: Sets the SWR Alarm set point. Choices are Off,1.5,2.0,2.5,3.0. If the alarm on the LP-100A trips, the Alarm button turns red.\n* \n* Peak/Avg/Tune: Switches between normal and peak-hold modes. The current mode is displayed under the power reading.\n\nremote telnet facility to make a remote connection between the LP-100A and the VCP. In addition to the LP-100A VCP, you can communicate with the\nLP-100A with a terminal program or your own software using the following commands¡­\nA Increments Alarm Set Point selection\nM Increments Mode selection\nF Toggles Power Peak/Avg/Tune selection\n\n****P Poll for data. Example of response¡­ ;1457.00,49.3,005.0,2,N8LP ,0,2,61.6,1.02\n****\n\nFrom left to right, the comma separated values represent¡­\nPower, Z, Phase, SWR Alarm Set Point: 0=off, 1=1.5, 2=2.0, 3=2.5, 4=3.0, Callsign (6 digits with space padding), Power range: 0=High, 1=Mid, 2=Low,\nPeak Hold Mode: 0=Average, 1= Peak Hold, dBm, SWR","x":1410,"y":220,"wires":[]},{"id":"ada0955c.a21b08","type":"string","z":"6bf0f43f.f0ad1c","name":"Power","methods":[{"name":"between","params":[{"type":"str","value":";"},{"type":"str","value":","}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":470,"y":320,"wires":[["862ae213.4de36","f6c3ba1e.2d34a8"]]},{"id":"1bbc73c5.a5115c","type":"string","z":"6bf0f43f.f0ad1c","name":"SWR","methods":[{"name":"getRightMost","params":[{"type":"str","value":","}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":470,"y":380,"wires":[["70fe226e.476f7c"]]},{"id":"862ae213.4de36","type":"ui_level","z":"6bf0f43f.f0ad1c","group":"2dbe67ac.f10de8","order":3,"width":"5","height":"2","name":"LP100A RF PWR","label":"PGXL RF","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":0,"max":"2000","segWarn":"100","segHigh":"1500","unit":"Watts","layout":"sh","channelA":"","channelB":"","decimals":0,"animations":"soft","shape":"1","colorschema":"fixed","textoptions":"default","colorText":"#eeeeee","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":true,"x":850,"y":320,"wires":[]},{"id":"e22fa6e9.3c5738","type":"ui_level","z":"6bf0f43f.f0ad1c","group":"2dbe67ac.f10de8","order":8,"width":"5","height":"2","name":"LP100A SWR","label":"SWR","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":"1","max":"4","segWarn":"2.5","segHigh":"","unit":"","layout":"sh","channelA":"","channelB":"","decimals":"1","animations":"reactive","shape":"1","colorschema":"fixed","textoptions":"custom","colorText":"#eeeeee","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":true,"x":840,"y":380,"wires":[]},{"id":"8b20a0ee.cc4e2","type":"csv","z":"6bf0f43f.f0ad1c","name":"","sep":",","hdrin":"","hdrout":"","multi":"mult","ret":"\\n","temp":"","skip":"0","strings":true,"x":470,"y":440,"wires":[[]]},{"id":"f6c3ba1e.2d34a8","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"RF Power","group":"2dbe67ac.f10de8","order":2,"width":0,"height":0,"gtype":"gage","title":"RF Power","label":"units","format":"Watts","min":0,"max":"2000","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":830,"y":280,"wires":[]},{"id":"70fe226e.476f7c","type":"rbe","z":"6bf0f43f.f0ad1c","name":"","func":"rbe","gap":"","start":"","inout":"out","property":"payload","x":640,"y":380,"wires":[["e22fa6e9.3c5738","65700f93.91d01","3b1bf053.04fc8"]]},{"id":"65700f93.91d01","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"SWR","group":"2dbe67ac.f10de8","order":7,"width":0,"height":0,"gtype":"gage","title":"SWR","label":"units","format":"","min":"1","max":"5","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":810,"y":420,"wires":[]},{"id":"3b1bf053.04fc8","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"","order":0,"width":0,"height":0,"gtype":"gage","title":"gauge","label":"units","format":"{{value}}","min":0,"max":10,"colors":["#00B500","#E6E600","#CA3838"],"seg1":"","seg2":"","x":840,"y":520,"wires":[]},{"id":"8c8041f4.047d2","type":"serial-port","z":"","serialport":"/dev/ttyUSB0","serialbaud":"115200","databits":"8","parity":"none","stopbits":"1","waitfor":"","newline":"50","bin":"false","out":"time","addchar":"","responsetimeout":"100"},{"id":"2dbe67ac.f10de8","type":"ui_group","z":"","name":"RF Info","tab":"d6ba9a2a.f3f0d8","order":2,"disp":true,"width":"4","collapse":false},{"id":"d6ba9a2a.f3f0d8","type":"ui_tab","z":"","name":"VA3MW Shack Control","icon":"dashboard","order":1,"disabled":false,"hidden":false}]

On Fri, Jul 10, 2020 at 7:09 AM David De Coons <RocketNJ@...> wrote:
Interesting.?

I have to Look at the WaveNode manual. This might be a good starting point for Bret and his meter. I¡¯ll check it today.

Mike, can you post the code?

I have seen the internal meter info from the radio jump to incorrect values on the dashboard (internal voltage and PA temp). I fixed it by rounding off to one decimal place.

Dave wo2x


On Jul 9, 2020, at 4:42 PM, Michael Walker <va3mw@...> wrote:

?
I'm not sure if it is being simple or lazy.

Mike


On Thu, Jul 9, 2020 at 4:36 PM Alan Blind <a.alan.blind@...> wrote:
Mike; Nice.

I like your simplicity.....not one of my skill sets.

Alan
WA9WUD


On Thu, Jul 9, 2020 at 4:22 PM Michael Walker <va3mw@...> wrote:
I blows me away when I have to add new code for a new device.

Here is the flow for the LP100A and I even found the STRING node that made this so simple

The GATE opens when the radio is in transmit.? I added that on the Elecraft W2 as I was getting some weird readings while in receive.

Mike va3mw


<image.png>

Join [email protected] to automatically receive all group messages.