История
29 июля 2022
23 мая 2019
Новая страница: «For Wiren Board 5, the voltage on the 4V rail is obtained in the same way.»
−47
Новая страница: «See the topic on the [http://contactless.ru/forums/topic/%D1%81%D1%82%D0%B0%D1%82%D1%83%D1%81-%D0%B0%D0%BA%D0%BA%D1%83%D0%BC%D1%83%D0%BB%D1%8F%D1%82%D0%BE%D1%80%D…»
−17
Нет описания правки
+1
Нет описания правки
+5
Новая страница: «<pre> cat /sys/bus/iio/devices/iio:device0/in_voltage7_raw </pre> To convert to volts: value 4095.0 * 1.85 * 4 .»
−44
Новая страница: «For WB 2.8 and WB 3.5:»
−2
Новая страница: «== Acuumulator voltage ==»
−26
Новая страница: «There should be installed a divider by two (not yet installed) on the channel. Formula for translation: <pre> V_measured = N / 4095 * 1.85V * (R1+R2)/R2 </pre>»
−28
Новая страница: «=== Сhangeover of values ===»
−10
Новая страница: «* Converting the value <pre> V = 2523 * 4.97 mV = 12539 mV = 12.54 V </pre>»
−21
Новая страница: «* Read raw ADC value: <pre> root@wirenboard:~# wb-adc-get-value 2523 </pre>»
−32
Новая страница: «*Set the ADC to measure the voltage at the terminal A3:: <pre> root@wirenboard:~# wb-adc-set-mux A3 </pre>»
−49
Новая страница: «=== Example ===»
−5
Новая страница: «*Reading the values of the pre-installed channel: <pre> wb-adc-read-channel <A1|A2|A3|A4|R1|R2|R3|R4> (для WB Smart Home, options are similar to the wb-adc-se…»
−56
Новая страница: «<pre> root@wirenboard:~# cat /sys/bus/iio/devices/iio\:device0/in_voltage1_raw 3838 </pre> or»
−4
Новая страница: «*Reading values:»
−17
Новая страница: «<pre> wb-adc-set-mux <channel number> или wb-adc-set-mux <A1|A2|A3|A4|R1|R2|R3|R4> (for WB Smart Home) или wb-adc-set-mux tb<terminal block number> (for…»
−26
Новая страница: «*Channel selection:»
−8
Новая страница: «(make sure the wb-homa-adc daemon is not running):»
−22
Новая страница: «=== Work ===»
−8
Новая страница: «The reference voltage of LRADC is 1.85 V. Software installation of 2:1 divider inside the channel is possible.»
−65
Новая страница: «===Reference voltage===»
−18
Новая страница: «Low-level work with ADC»
+2219