Shift register node
-
Hi,
I'll start a new topic for this as I think it is a new device type.
How can I allow a node with a shift register to be controlled by the gateway node?
Is there some example sketch to deal with shift registers instead of relays?Thanks in advance
-
-
@BulldogLowell
I made an interface to control 3 somfi blinds using the remotes. I needed to control 9 buttons, so I used 9 optocouplers and 2 shift registers to get the outputs needed from an arduino pro mini.
-
@ferpando I guess you're using shift registers because you lack enough output pins?
You could present the 3 blinds as e.g. 3 different childId's on the node.
Each child then has 3 actuators: V_UP, V_DOWN, V_STOP
When your node receives an update for one of these values, then just update the corresponding actuator and shift out the state for all 9 optocouplers, and you're done!
No new 'shift register' type required, as I see it.
-
@Yveaux
You might be right, but then again how would I learn about shift registers if I don't use them?