Discussion Overview
The discussion revolves around the control of a large number of relays, specifically addressing whether a microcontroller requires 100 I/O ports to manage 100 relays. Participants explore various solutions, including the use of I/O expanders, shift registers, and alternative switching methods.
Discussion Character
- Exploratory
- Technical explanation
- Debate/contested
- Mathematical reasoning
Main Points Raised
- Some participants suggest using I/O expanders via I2C to reduce the number of required I/O ports.
- Others mention the MT8809 switch array chip but express uncertainty about potential interference between internal switches.
- One participant describes their application involving a capacitance sensor and the need for controlling multiple electrodes, indicating that the choice of relay or switch is still undecided.
- There are suggestions to consider FETs or analog switches as alternatives to relays, with some participants agreeing that analog switches are preferable.
- Several strategies for controlling relays are proposed, including using universal demultiplexers, arrays of shift registers, and 2D arrays, each with its own trade-offs regarding cost and complexity.
- One participant notes the importance of adhering to factory recommendations and PCB layout guidelines when implementing solutions.
- Another participant expresses concern about the limitations of their sensor chip regarding hot-swapping capabilities.
Areas of Agreement / Disagreement
Participants present multiple competing views on the best approach to control a large number of relays, with no consensus reached on a single solution. Trade-offs between different methods are acknowledged, but preferences vary.
Contextual Notes
Discussions include considerations of power supply requirements, relay specifications, and the implications of circuit design choices. Some assumptions about the capabilities of components and their interactions remain unresolved.