Keyboard Shortcuts
Likes
- Nodered-Hamradio
- Messages
Search
Re: LP100A SWR and Power
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 [{"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:
|
Re: LP100A SWR and Power
¿ªÔÆÌåÓý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:
|
WX7Y Station Flows
? Thanks to Alan and Dave for their help! This is Just a start on my station's NodeRed and looks kind of caveman?compared to the others on here, I have very little time to work on this project right now but making some headway. I have 3 DLI WEB switch's (These flows work with older units and Pro switch's) a Flex 6600M, and Flex 6700? ( Problem with VITA49 running 2 radios, toggles back and forth really fast) HF Auto (need to add PTT drops when Radio tunes) FLEX PGXL Amp? (Looking for a Flow if one exists) WN2 Power Switch (working on Flow)? 73's and thanks for the help? Bret WX7Y |
Re: introductions
¿ªÔÆÌåÓýWhen you bind to a client you receive a lot more info including current band. There is a LOT of data and parsing it will be tricky.?I¡¯d take a look at the data but doing an emergency road trip to the next state. ?Will check it tomorrow.? Dave wo2x Sent from my waxed string and tin cans.? On Jul 9, 2020, at 6:34 PM, Santiago Mejia via groups.io <hi8smx@...> wrote:
|
Re: introductions
I¡¯ve look for band data and only found TX?frequency info but not band per se. Looking into converting freq to band if not.
toggle quoted message
Show quoted text
Santiago ____________ 73 de HI8SMX? hi8smx.online HI8SMX on Twitter, Instagram and YouTube On Thursday, July 9, 2020, 5:26 PM, David De Coons <RocketNJ@...> wrote:
--
______________ 73 de Santiago HI8SMX web:? YouTube: HI8SMX? Twitter: @hi8smx Instagram: hi8smx |
Re: introductions
¿ªÔÆÌåÓýI get band data from the KPA1500. You can also get it when you subscribe to a client. ? Dave wo2x ? ? From: [email protected] <[email protected]> On Behalf Of Santiago Mejia via groups.io ?
|
Re: LP100A SWR and Power
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:
|
Re: LP100A SWR and Power
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:
|
LP100A SWR and Power
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 |
Re: introductions
¿ªÔÆÌåÓýSantiago You asked about where the Band Data comes from. I derived band data from the Flex Server "BCD" USB cable output. ? Here is a link to the USB Cable Usage Guide, from Flex; You can find my flow for the band decoder on my ?github in the?¡°Sub-Flows¡± folder, "Satellite Board¡± flow file. I connected each output ?wire ?(Bit) of the USB cable to a unique GPIO pin on the Raspberry Pi. ? I then use this table to build a ?¡°decoder¡± using Boolen logic gates (reverse truth table) for each band. ? Here is a map from the FTDI USB cable specification showing Bit versus wire color: Finally, I got to use something I learned 50 years ago in college, building Boolean equations from?truth tables. ?The truth table is ?provided in the Flex USB Cable User Guide. Here is a screenshot of the flow, with the 40M segment selected. ?It is a simple matter of using ¡°AND¡± logic on the " X¡± "OR" "X-Not¡± pins. ?(X=1, X-Not=0) I then send the band data via MQTT broker ?to all the other boards that need to know what TX band is seleced on the Flex Server. Alan WA9WUD |
Re: introductions
¿ªÔÆÌåÓýTo finish the tour, here are photos of the radio hardware. ? The Flex and all its supporting hardware are located in a remote garage 300 feet from the ¡°shack¡±. ?I use a fiber optic LAN connection between the house and the remote garage.Alan ============= The Garage: Top to Bottom (based on hot air rising to the top): ?Plaster LA1K, HF-Auto, Flex 6600, 1296 MHZ transporter, 2M Transverter, and 70CM Transverter. ?All enclosed in dust proof filtered air cabinet. Support Hardware: Elecraft W2 Wattmeter, SteppIR Controller, Cabinent Fan Control ,? DX Engineering Receive Antenna Controller, Green Heron Rotor Control, SMORF Antenna Analyzer, various serial to IP converters below. The ¡°Wall¡± behind the server cabinets. ?Power control on top, antenna control ?and ground bus on the bottom, UPS 12 battery on the floor: |
group file storage
Hi All Just an FYI, we do have some storage space and there should be lots for flows.?? There is even GitHub integration that we should look?into. Pictures are the ones that might take up a bunch of space, but we will keep an eye on it. Dave wo2x and Andy va3cw are moderators as well and I know they will help. 73, Mike va3mw |
Re: introductions
wow!? nice work Alan. I'm sorry I caused this.? LOL On Thu, Jul 9, 2020 at 8:21 AM Alan Blind <a.alan.blind@...> wrote:
|
Re: RPi connections
Andrew I have tried several breakout boards and always had problems with the wires disconnecting.? They were very fragile and hard to make changes to (a "mess of "spaghetti") I am currently using Electronics-Salon products, which have screw terminals. This product has a built-in power supply and eight relays pre-configured to the Raspberry Pi GPIO pins.: Along with the above board, with its pass-through GIPO header, and a ribbon cable, I added this board to give me access to all of the Raspberry Pi pins to screw terminals: Lately, the shipping?from China has not been very timely, unless you pay extra for the DHL option. ? Amazon?has many of the Electronics-Salon products in stock and ship over-night. Alan WA9WUD On Thu, Jul 9, 2020 at 8:08 AM Andrew Mitchell <AMITCHELL@...> wrote: For those using RPi - what are you using to break out the GPIO header?? |
Re: introductions
¿ªÔÆÌåÓýThanks for the kind comments. ?What you see is after one year of working with Node-Red and 11/2 years of Flex 6600 ownership.Without the help of the Flex and ¡°Remote Operations¡± community, I would not have been able to design the more complex flows¡Thanks to Mike, Dave and Andreas. This all started with Mike¡¯s first post on the Flex Community describing his use of Node-Red for remote operations. Below are photos of the various ¡° Shack¡± screenshots. ?I use multiplex, so all of the below are running at the same time. Alan WA9WUD The Satellite Shack: The Systems Monitor Screen: The iPad HF Radio Screen: ?(I like working HF SSB while walking around my QTH). ?I can also log all of the QSO on the iPad and use UDP broadcast to move the log entries over to HRD Logbook. ?I use my Apple iPods for audio in and out. The FT8 Screen on my Apple Laptop; |
RPi connections
For those using RPi - what are you using to break out the GPIO header??
For our club station the RPi is contained in a Pi4 specific plastic chassis (really cheapo box) but I'm pretty sure that's not a good long term solution.? Where possible I'd like to avoid making it into an octopus. Thoughts and pics graciously welcomed! 73 Andy VA3CW |