From 9d4fed9119d55788ba928efcf18c6a2be6a152ab Mon Sep 17 00:00:00 2001 From: liquidraver <504870+liquidraver@users.noreply.github.com> Date: Sat, 13 Jun 2026 08:37:25 +0200 Subject: [PATCH] wismesh tag adc fix --- zephcore/boards/nrf52840/rak_wismesh_tag/rak_wismesh_tag.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zephcore/boards/nrf52840/rak_wismesh_tag/rak_wismesh_tag.dts b/zephcore/boards/nrf52840/rak_wismesh_tag/rak_wismesh_tag.dts index d67af1f..26e3d9b 100644 --- a/zephcore/boards/nrf52840/rak_wismesh_tag/rak_wismesh_tag.dts +++ b/zephcore/boards/nrf52840/rak_wismesh_tag/rak_wismesh_tag.dts @@ -138,7 +138,7 @@ * applied to 12-bit average with default ref (GAIN_1_6 + 0.6V internal = 3.6V FS). */ zephyr,user { io-channels = <&adc 3>; - vbat-mv-multiplier = <6259>; /* 1.73:1 divider, 3.6V ref; corrected from Arduino 3.0V AREF + nRF SAADC gain */ + vbat-mv-multiplier = <5973>; /* 1.73:1 divider, 3.6V ref; measured on hw (calc'd 6259 over-read ~4.7%) */ }; /* ---- Buzzer on PWM0 ---- */