Hi. I use CD4051 to read analog data from multiple sensors. The problem is that data comes with huge error. To check whether it's sensors error or multiplexer I've decided to connect all CD4051 data inputs to the Vdd. In this case I get something like: 53, 793, 766, 810, 782, 812, 804, 822 (data from each data input). I expect all values to be equal. I've tried CD4051 from different shops. What is the problem? Thanks.
Made a mistake on diagram. When I test I connect to pins 2, 3, 4.
I don't know what decoupling capacitor is. I haven't seen it on any diagram with CD4051 and Arduino tutorial doesn't mention it. I've just read about decoupling capacitor but don't know where to put it. Should I put it between CD4051 output pin and A0?