Simplest way is to reduce the 24V to around 5V with a voltage divider before going into the multiplexer.5*5 = 25, so if you divide the 24V by 5 you'll get just under 5v. This is well within the spec for a logic high on most devices, so would do fine for a TTL or CMOS multiplexer.A 10K on the "top" leg (R1) of the divider, and a 2.2K on the "bottom" leg (R2) would give you (R2 / (R1 + R2)) * Vin = (2.2/(2.2+10)) * 24 = 4.33V. Do that on each of the 24V signals into the multiplexer of your choice and you're good to go.You could even do it with P2S shift registers and get access to all the sensors at once without having to mess with multiplexer channels.
i connected A0-A3 (IC pins) to the +12V
Quotei connected A0-A3 (IC pins) to the +12V The data sheet shows these at 3V in order to switch, and the words talk of TTL compatable logic inputs on these.
EN has to be HIGH for it to function, not LOW. Connect it to V+ and see what happens.
Quote from: majenko on Jun 18, 2013, 12:47 amEN has to be HIGH for it to function, not LOW. Connect it to V+ and see what happens.I attempted thisIf i give EN 12V+ Then any of the NO pins gives me 12V regardless ofThe A0-A3 configurationAny more help? Thanks.