Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- Nanovna-Users
- Messages
Search
Trouble compiling DiSlord's 1.0.46 for H
Hi DiSlord,
I just tried to compile your H code with the updates from a few days ago and got the following errors in the ChibiOS area. I installed ChibiOS from your current repo. ChibiOS/os/hal/osal/rt/osal.h:241:34: note: in expansion of macro 'chDbgAssert' #define osalDbgAssert(c, remark) chDbgAssert(c, remark) ^~~~~~~~~~~ ChibiOS/os/hal/src/hal_usb.c:932:5: note: in expansion of macro 'osalDbgAssert' osalDbgAssert(false, "EP0 state machine error"); ^~~~~~~~~~~~~ ChibiOS/os/hal/src/hal_usb.c:934:3: note: here case USB_EP0_ERROR: ^~~~ Compiling nvic.c Compiling hal_lld.c ChibiOS/os/hal/ports/STM32/STM32F0xx/hal_lld.c:54:40: error: expected identifier or '(' before 'void' static void hal_lld_backup_domain_init(void) { ^~~~ ChibiOS/os/hal/ports/STM32/STM32F0xx/hal_lld.c: In function 'hal_lld_init': ChibiOS/os/hal/ports/STM32/STM32F0xx/hal_lld.c:235:30: error: expected expression before ')' token hal_lld_backup_domain_init(); ^ make: *** [ChibiOS/os/common/startup/ARMCMx/compilers/GCC/rules.mk:216: build/obj/hal_lld.o] Error 1 Any idea where to look? The last code I compiled for the H was from Aug 2020 and it still compiles OK today, so did something change in ChibiOS? Thanks, Larry |
Re: how to test s11 and s21 dynamic range?
On 2/10/21 7:36 AM, mender5@... wrote:
I made some small changes of my Nanovna-H.S21 - start putting attenuators in and seeing where it bottoms out (or where the displayed attenuation change doesn't match the actual attenuation change) S11 - calibrated mismatches - attenuator into an open or short. If you put a 20 dB pad on the Tx port, can you see the difference between short, open, and load?? (20dB pad is -40dB S11, 20 dB going out, 20dB coming back from the reflection). A couple decent step attenutors (one in 10dB steps, the other in 1 dB steps) makes this easy.? But a handful of fixed attenuators can also do it, just more time consuming as you swap them around. Watch out for leakage from cables etc as you get to higher isolations. 80 dB is hard. >120dB is really hard. |
Re: Start up error.
A kluge way to see/capture the quickly disappearing screen...
toggle quoted message
Show quoted text
If you have a smart phone with camera capable of taking video, start a video recording of your nanoVNA screen during start up. Stop video after the screen goes blank. You should be able to scroll back through the video to a still frame of the screen display. John, wa3jrs On Feb 10, 2021, at 9:06 AM, daniebjoubert <daniebjoubert@...> wrote: |
Re: RF Sampler
On 2/9/21 7:07 AM, Max via groups.io wrote:
I need an RF sampler of some sort for monitoring my RF signal. This might be used with a scope or TinySA or ... If you want to build your own.. A nice 20dB sampler is a voltage divider with a 450 ohm and 50 ohm resistor in series. That gives you a nice 10:1 voltage ratio, and the 500 ohms in parallel with a 50 ohm line is barely noticeable (45.5 ohms). If you have higher powers, go for 4950 ohms and 50 ohms, for a 100:1 ratio (40dB). |
Re: Tuning 2M duplexer
Rough tuning can be done with the NanoVNA but fine tuning the notches is best done with the actual repeater receiver.
To rough tune, use the s21 measurement. Connect the source port (ch0) to the antenna of the duplexer and the detector port (ch1) to either the receiver or transmitter port of the duplexer. Tune whichever port to get the passband centered on the desired frequency. Now connect the NanoVNA between the receiver (ch1) and transmitter ports (ch0) of the duplexer and put a 50 ohm load on the antenna port of the duplexer and fine tune the receiver duplexer cans to put the notch at the transmitter frequency. Reverse the NanoVNA connections and fine tune the transmitter duplexer and to put the notch at the receiver frequency. Now you are rough tuned. Hook up the repeater receiver and input a signal generator at the transmitter port set to the receiver frequency. Tune the transmitter cans to minimize the signal at the receiver, increasing the signal generator amplitude as required. Now attach a mobile or portable radio to the transmitter port tuned to the transmitter frequency and put the signal generator on the receive port and adjust the receiver cans to minimize the signal at the receiver. And now you are done. Gary W9TD |
Re: Tuning 2M duplexer
This youtube video shows a comparison between the NanoVna H4 and a Tektronix TTR506A "professional" VNA to show the difference in dynamic range.
toggle quoted message
Show quoted text
? Of course comparing something that is $100 to? something that is in the $12K price range you do see the difference.? They were tuning a mobile type duplexer I believe (not a duplexer expert here...) which I believe is the dual notch type and they showed how the NanoVna was connected.? I would guess with bandpass/band reject duplexers something similar would be set up with the "cans" (cavity filters).? I am sure better exerts will chime in on this... But the big issue was the dynamic range of the NanoVNA to allow you to see where the notches were according to this video. Sig - KB2HHU On Wednesday, February 10, 2021, 09:52:46 AM EST, Joao CU3AA <cu3aa.azores@...> wrote:
Hello I'd like to tune up a duplexer for our Club's 2M repeater but don't know how to configure the nanoVNA to do it. That's the only tool we have here. Does anyone can help me on that issue? Thanks and regards from Azores CU3AA, Joao |
Re: CMC MEASUREMENTS - PDF'ed & SIZE REDUCED
On 2/8/21 1:51 PM, Manfred Mornhinweg wrote:
Indeed - so it would be an issue in laminated steel cores, but nobody is going to be using that for RF. This is all true, but in practice, we rarely see "pure" plastics, except in applications like clear windows, or high end applications like spaceflight, where they want "traceability to sand". They're formed in various ways, with fillers and additives, as well as scrap from earlier batches or recycling.? So you can have a plastic that is normally quite low loss, in the pure form, but quite high loss in the form used. This is especially true in price sensitive applications - plumbing and wire insulation strike me as in that bucket.? I would think that coax has fairly well controlled properties, and the inner dielectric is quite pure. But hookup wire, machine tool wire, THHN (which is PVC, with a nylon coating on the outside), and plastic pipe are not so well controlled, except for manufacturing ease and price. As long as the THHN passes the voltage breakdown test, it will pass, lossy or not.? Even wire procured to MIL standards might not be particularly well controlled - they test to the spec, and if the spec doesn't call out RF properties, it might be variable. |
Re: Start up error.
I have an SAA-2N and I occasionally have similar problems with NanoVNA-Saver. The software will detect the device on the appropriate COM port, but when you click on ¡®Connect to device¡¯, the program quickly exits.
A solution which has worked for me was to use VNA_QT.EXE software to establish a link to the NanoVNA. Once the device is connected in VNA_QT, the display screen on the NanoVNA switches from the normal Smith chart to a different screen showing the device is in USB Mode. As long as the screen displays USB Mode, I have always been able to close VNA_QT and switch over to NanoVNA-Saver and successfully connect to the device. I hope this helps. Ken, WB?OCV From: daniebjoubert Sent: Wednesday, February 10, 2021 08:40 AM To: [email protected] Subject: [nanovna-users] Start up error. Good afternoon to the group. I have been using NanoVna saver for more than 2 years and upgraded after each new version but left the old .exe files in a folder. Suddenly, trying to run the .exe files I got an error during the start up prompt screen:: error problem with type - none type has no len..... or something like that. The screen disappear so fast it is difficult to read error. This happens with all the versions to my disposal. Can anyone perhaps suggest a solution. Thank you in advance. |
Start up error.
Good afternoon to the group.
I have been using NanoVna saver for more than 2 years and upgraded after each new version but left the old .exe files in a folder. Suddenly, trying to run the .exe files I got an error during the start up prompt screen:: error problem with type - none type has no len..... or something like that. The screen disappear so fast it is difficult to read error. This happens with all the versions to my disposal. Can anyone perhaps suggest a solution. Thank you in advance. |
Start up error.
Good afternoon to the group.
I have been using NanoVna saver for more than 2 years and upgraded after each new version but left the old .exe files in a folder. Suddenly, trying to run the .exe files I got an error during the start up prompt screen:: error problem with type - none type has no len..... or something like that. The screen disappear so fast it is difficult to read error. This happens with all the versions to my disposal. Can anyone perhaps suggest a solution. Thank you in advance. |
Re: [nanovnav2] PROCEDURES for MEASURING DM LOSS and CM ATTENUATION of CMCs
On Sun, Feb 7, 2021 at 9:00 AM David Eckhardt <davearea51a@...> |
Re: RF Sampler
I made a sampler with current transformer many years ago (before good measuring equipment was common to hams).
After making it , it was measured by a friend with access to prefessional equipment as 1MHz- 50MHz (the range it was meant for) with -33,5dB attenuation. It was, and still is, flat in this frequency range. I am still using it and ofcourse I can measure it myself now, thanks to the cheap VNA's. It does not have to be 20dB exactly, or 30dB exactly. Absolutely no reason for that. As long as you know the value. BTW: keep in mind that those dB's are only for? 50 ohm loads and that's the same for your the piece of equipment connected? to the tap, this also needs to be showing a 50 ohm load. 73, Arie PA3A |
Re: RF Sampler
Clear, thank you for your info.
toggle quoted message
Show quoted text
Op 10-2-2021 om 10:31 schreef Kerry: These couplers are not directional; in/out can be at either end. |
Re: RF Sampler
These couplers are not directional; in/out can be at either end.
30dB is a practical coupling factor. Coupling is proportional to turns ratio (the through-line is one turn). For 1000:1 (30dB) impedance ratio, the turns ratio is 1:sqrt 1000, ie 1:31.6; in practice, of course, 1:32 serves. For 1:100 (20dB impedance ratio), the turns ratio is 1:sqrt 100, ie 1:10, so 10 turns can be used. If you do this arithmetic for other ratios you will find that most of them are impractical; about 10 -25dB ratio is the practical limit. At first glance it might seem that more turns are required for more output to the Cpl port but that's not the way that current transformers operate. |
Re: RF Sampler
Kerry,
toggle quoted message
Show quoted text
Nice to see the hardware on the photos. Which side of the trough has to be the input? I suppose there is some directivity? And if I want? -20dB coupling, do I have to use more windings on the toroid (as a result the i.l. of the through will increase)? Kees, PE0CWK Op 10-2-2021 om 05:11 schreef Kerry: Two home-made couplers are shown in the attached photos; that will give some ideas on construction. |
to navigate to use esc to dismiss