I want to communicate with a microcontroller over a CAN bus which needs (ideally) 120 ohm terminal resistors at the end of each bus. I want to integrate this resistor into the circuit and activate it only if it is needed (depending on which software is being flashed on the controller). Is it possible to switch a resistor using software?
Basically what I have in mind is something like this:
What's the automatic equivalent of a variable resistor?. With only two states (120 ohm and
0 ohm open circuit) switched by a digital signal from the microcontroller.