I’m trying to configure an Arduino UNO with a digital potentiometer, the AD5206. The UNO is to read a 0-5v output from a sensor (Tech-Edge Mode tank sensor) and AD5206 convert it to a resistance to be read by a following circuit, Victron Cerb.
The application is to read the water level in a water tank based on the sensor, that reads a varying capacitance based on the level in the tank and outputs a 0-5 volt signal to a resistance that is read by an instrument panel on a boat.
Take your resistor readings from empty and full, then use the MAP() function to your DAC.
If it were me I would just connect the sensor to the instrument panel. You can also use a op-amp as a unity gain buffer but it will probably need more then 5V depending on which you you pick. Connact that to the A/D input with a 10K resistor to the A/D. Be sure to place a diode from the A/D input to +5 to adsorb the turn on transient.
Yes, thanks. I thought I use a resistor in parallel, about 270 ohms that would provide a total resistance of about 265 - 1 ohms as the wiper dropped from 10k down to 1. Also, thought about using a 1k digi pot but not sure the steps will be as smooth as drop.
I'm trying to use a Arduino Uno to convert a reading from a water tank sensor and convert it to a digital output to a digital potentiometer, such as a Analog Digital 5206, which then presents a resistance to a display panel.
Anyone have any experience or ideas on this configuration? Thanks.
Instrument panel applies 7 volts, which I have learned pushes the current on the AD5206 beyond its capability. so I'm looking for a different digital pot . Thanks for the reply.
Thanks. Have tank sensor, and display readings, and now know that the devices I was trying to put together won't work - too much current for the potentiometer. So, I am now back at the drawing board trying to redesign the project.
Sorry, not trying to be too thick headed, but I don't understand how this would work - the sensor generates a 1-5 volt signal depending on the water level in the tank, but the display is looking for a resistance reading. I was trying to take the analog 1-5 volt sensor reading and use the ADC to produce a digital code to the digital pot that would vary the resistance for the display panel. Am I way off base with this concept?
Using a Tech Edge Moda sensor, but I'm not locked into that sensor. Haven't written any code yet still trying to "fit" the pieces together. I've learned the digital potentiometer will not work, so I'm back to the drawing board there. Maybe I'm outrunning my headlights. Thanks for the reply