DiSlord / NanoVNA-D

Firmware for NanoVNA, NanoVNA-H, NanoVNA-H4. Support SD Card, external Serial connection, fast measure, fast exchange vs CPU
300 stars 65 forks source link

Feature request: Screen OFF serial command #74

Closed sbridger closed 8 months ago

sbridger commented 10 months ago

(Firstly, I have a V2, so perhaps I can't use this anyway, so it's more a suggestion than a request)

When running remote serial, (I assume that) the display is a large part of the supply current. It would be good to turn it off. It would also be good to be able to deep sleep the unit and wakeup on pin change on the serial in.

Why: When testing antennas, it is desirable to have no cables, and no transmitter (bluetooth module). This can be easily acheived with TOSLINK optic fibre serial connection. However this means it operates off battery power.

DiSlord commented 9 months ago

Made some test on my nanoVNA H4 power usage: Set Power 2ma (for constant generator power usage) Now set backlight value (config->brighntess): brighntess 100% 0.367mA brighntess 50% 0.312mA brighntess 0% 0.253mA

Next I set backlight to 0 (but hardware on allow off backlight) Additional I send LCD module off command and disable any display update 0.231 mA

As can see most good just set brighntess to 0%

DiSlord commented 9 months ago

Most power usage on V2 - ADF4350 or MAX2870 generators, LCD display module need ~20mA power + power for backlight (you can set to 0 in config for minimise power usage)

If you set sweep range to SI5351 range ( < 140MHz) then V2 disable ADF4350 / MAX2870 generators

sbridger commented 9 months ago

Thanks for your reply, Please excuse this question, but use of your firmware for V2 is recommended, but it seems you do not maintain V2 version? Does this NVNA-D F/W work with V2?

DiSlord commented 9 months ago

My variantV2 firmware not open Better say my variant for LiteVNA firmware not open, privided by me V2 firmware based on LiteVNA code, nanoVNA-D for H / H4 also use parts of LiteVNA code (and open)