Did you use the negative supply in the end? If not maybe that's your problem.
Yes i did. I'm going to look at the datasheet, see if i'm missing something, and also try out the 100k oscillator resistor.
edit: 100k resistor didn't change anything.
edit2 :
The icl7660 ic is working normal. I did some new measurements :
Battery is 1,58V, icl7660 shows 0,6V. It's a ratio of 2,633 and i can't find any component that's 2,633 times different than the correct value.
Also in the datasheet they specify a 1k trimmer, on this website it says a 20k trimmer. When regulating the trimmer i don't notice any difference, so i'm guessing this may be the problem. If i change to a 1k trimmer i can adjust the reference so it shows the actual value. Or am i wrong?
In the datasheet they also mention a 200mv scale and a 2V scale, what does this mean? Is the measured voltage divided to a 0-2V scale?
The datasheet also says vref should be 1V if the scale is 2V. So for vref to be 1V i have to set the trimmer correct, and then it will show the correct value on the led display?