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
-
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. -
@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. -
@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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login