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?
Suggested Topics
-
Over the air updates
General Discussion • 23 Mar 2014, 21:38 • ToSa 1 Mar 2015, 11:21 -
Best time of year to buy higher quality small project solar panels?
Hardware • 10 Jun 2021, 19:19 • NeverDie 30 Aug 2024, 14:01 -
Sensor to detect marijuana vape/smoke
Hardware • 21 Jan 2025, 06:36 • Hellmark 25 Feb 2025, 20:56 -
hlk-pm01 are to noisy for rfm69?
Hardware • 5 Aug 2023, 21:16 • Tmaster 9 Aug 2023, 16:28 -
Sleep mode for bmp280
Hardware • 20 Feb 2018, 13:24 • fishermans 5 Feb 2024, 18:30 -
Sensors and more
Hardware • 19 Jun 2023, 00:41 • Robert Leverett 19 Jun 2023, 00:41