Hello,
For my project I have to use 8 ML8511 UV sensors, and there are not enough analog inputs on the Arduino board. I know I have to use a multiplexer but I'm not sure how to use it with my sensors. Any help would be appreciated!
Hello,
For my project I have to use 8 ML8511 UV sensors, and there are not enough analog inputs on the Arduino board. I know I have to use a multiplexer but I'm not sure how to use it with my sensors. Any help would be appreciated!
the output from sensors to mux inputs.
Your code controls the (analog) mux to select which sensor to read.
Use 3v3 for sensor and as ref.voltage for ADC
Get an Arduino with more analog inputs. A Nano has 8.
knut_ny Thanks!
Do i need to connect the ADC to my sensors or the mux?
..Arduino An to mux common analog. (see datasheet page 2)
Multiplexer can be 'any' analog mux.. eg. like this