¿ªÔÆÌåÓý

S-Meter Nextion, ask


 

Dear, someone can tell me why the uBitX S-meter refresh is so slow and mainly on the Nextion Screen.
Look how well this solution works:
https://www.youtube.com/watch?v=uvukDHvMoXE


 

On Mon, Nov 16, 2020 at 01:17 PM, lu7yw wrote:
https://www.youtube.com/watch?v=uvukDHvMoXE
There is not enough information here to give any answers. It may help if you details of exactly which UBITx board, which s-meter solution , and which firmware, you are using. Include versions of software.? The more details the better.
?
--
Dennis WC8C


 

Dennis, the uBitx version is the 5, 3.5 inch Nextion, Firmware 1.20 from KD8CEC.
?
Best regards


 

Are you using the second Arduino for the SMeter?? If so, then the speed is based on how the code is written and the communication mechanism with the Nextion.? I have replacement firmware for the second Arduino that makes the SMeter much faster (but if you turn on the FFT function is gets slow again).? My project can be found at?

If you have not already used the second Arduino, I highly recommend you first get things working with Dr. Lee's original code, using his documentation before trying my new version.?
--
Dennis WC8C


 

Dennis,

If for example this mounting with the lm358 already exists, just disconnect the wire of the A7 of the 1st Arduino and connect to the A7 of the 2nd (Using your app)?

What are the advantages of your assembly compared to the Lm358.

cdt


 

I have not use a LM358 so I cant say what the advantages are.? I just Used what I had on-hand.? A quick peek at the data sheet and it seems like it should work as a replacement.? I think the key feature you want is that the op amp output can swing to ground.

With the circuit you linked, there is rectification/smoothing in the Op Amp output.? I think this should should work for the SMeter, but I think the FFT/CW Decode features will not work properly as it expects the full signal (preferably centered at 2.5V)

Other than that, be sure that the signal into the Arduino doesn't exceed 5 volts.

If you get the LM358 to work, please let me know so I can update the page with the alternative.
--
Dennis WC8C