question

marco-lingua avatar image
marco-lingua asked

Raspi3b+ help with ADC

Hi everyone. I have installed Venus OS on my RPI (ver.2.80-41). I would like to be able to program the analog inputs to connect the tank level probes but I can't. I looked at several pages on this forum but to no avail. I'm using MCP3208. The problem is that from terminal I can see the values of the connected probes (cat /sys/bus/iio/devices/iio\:device0/in_voltage[0-7]_raw) but I don't see them on the rpi GUI. What am I doing wrong? Ideal would be a step by step guide because I no longer remember all the steps that I have done or have not done. I've been on it for a week!

Raspberry Pianalog
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

1 Answer
Rob Duthie avatar image
Rob Duthie answered ·

Do you have the below files in folder called dbus.adc.conf in the etc/venus/ folder?

device iio:device0

vref 1.8

scale 4095


tank 0

tank 1

tank 2

tank 3

temp 4

temp 5

temp 6

temp 7


2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Related Resources

Additional resources still need to be added for this topic

Additional resources still need to be added for this topic

Raspberry Pi running Victron’s Venus firmware - Blog Post

Venus OS Large image: Signal K and Node-RED - Install

raspberrypi install venus image