How many multiplexers does a microcontroller need?
You use two multiplexers for the four inputs. The 74HC153 does a similar thing, but it’s a dual 4-to-1 multiplexer, so 4 inputs, 1 output and 2 select lines per multiplexer. Personally I find that a more logical solution for your application. Connect the enable input to ground, and don’t forget to connect unused inputs either to ground or Vcc.
What kind of computer is a microcontroller?
A microcontroller ( MCU for microcontroller unit) is a small computer on a single metal-oxide-semiconductor (MOS) integrated circuit (IC) chip. A microcontroller contains one or more CPUs ( processor cores) along with memory and programmable input/output peripherals.
How many inputs does a quad multiplexer use?
What you describe is a 2-to-1 multiplexer, like the 74HC157, which is a quad 2-input multiplexer, so 2 inputs to 1 output, and 1 select input. You use two multiplexers for the four inputs.
Which is more sophisticated a SoC or a microcontroller?
In modern terminology, a microcontroller is similar to, but less sophisticated than, a system on a chip (SoC). An SoC may include a microcontroller as one of its components, but usually integrates it with advanced peripherals like a graphics processing unit (GPU), a Wi-Fi module, or one or more coprocessors .
How does Charlieplexing work on a microcontroller?
Charlieplexing takes advantage of tristate pins of the microcontroller, but it costs extra diodes and somewhat more complex programming. With N IO-pins you can address N (N-1) switches / LED’s. The Charlieplexing with switches article describes how it works with switches and LEDs
How to wire a 10K resistor on a microcontroller?
Put a 1K resistor in series with that chain and tie it one end of the chain to a port pin and the other end to a capacitor. The other end of the capacitor should go to ground. Wire a 10K resistor from the other port pin to that capacitor.