Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. Code is required for 16-relays shift register actuator

Code is required for 16-relays shift register actuator

Scheduled Pinned Locked Moved Troubleshooting
5 Posts 3 Posters 1.8k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tjay4x4
    wrote on last edited by
    #1

    First of all I want to say thanks for a very in-demand Irrigation Controller (up to 16 valves with Shift Registers). I managed to repeat it. And it works fine. But I couldn't find a sketch for 16 relays shift register actuator operating as a simple relay actuator and running separately.
    I find sketch by @ferpando 16 relay with arduino But it's need to change startup Lua and using <MyBuffer.h>
    So please help me find sketch. Maybe someone already uses something like this?

    1 Reply Last reply
    0
    • ferpandoF Offline
      ferpandoF Offline
      ferpando
      Hero Member
      wrote on last edited by
      #2

      @tjay4x4 said:

      16 relay with arduino

      Hello,

      This <MyBuffer.h> is not really needed if you don't want to check if message is received on the node.

      Just remove that line and everything should work.

      T 1 Reply Last reply
      0
      • ferpandoF ferpando

        @tjay4x4 said:

        16 relay with arduino

        Hello,

        This <MyBuffer.h> is not really needed if you don't want to check if message is received on the node.

        Just remove that line and everything should work.

        T Offline
        T Offline
        tjay4x4
        wrote on last edited by
        #3

        @ferpando said:

        This <MyBuffer.h> is not really needed if you don't want to check if message is received on the node.

        Just remove that line and everything should work.

        Thank you so mutch. I'll try this.
        And I have to try to do like you explain here link text Just another nube quastion, how to create a function in the startup Lua?

        1 Reply Last reply
        0
        • helmchen81H Offline
          helmchen81H Offline
          helmchen81
          wrote on last edited by
          #4

          Hi @ferpando and @tjay4x4. Thanks too for the Irrigation Controller (I'll use later) I've tried to adapt 16 relay with arduino to mysensors 2.0 using this manual . I'm not able to fully convert, hence the way how received messages from controller changed. Did someone from you already adapt the sketch to fit 2.0?

          In any case, I think it would be a good idea to create a sample sketch / manual to simply handle 8+ relays driven by the shift register SN74HC595.

          Thanks in advanced,
          Sebastian

          T 1 Reply Last reply
          0
          • helmchen81H helmchen81

            Hi @ferpando and @tjay4x4. Thanks too for the Irrigation Controller (I'll use later) I've tried to adapt 16 relay with arduino to mysensors 2.0 using this manual . I'm not able to fully convert, hence the way how received messages from controller changed. Did someone from you already adapt the sketch to fit 2.0?

            In any case, I think it would be a good idea to create a sample sketch / manual to simply handle 8+ relays driven by the shift register SN74HC595.

            Thanks in advanced,
            Sebastian

            T Offline
            T Offline
            tjay4x4
            wrote on last edited by
            #5

            @helmchen81
            I recently soldered a modile
            alt text
            .... but couldn't win the sketch. Since I am just a gynecologist, not a programmer and I do not understand with the code for 16 relay module using SN74HC595. :) On this site are a lot of professionals for whom this is not the problem, the code may soon emerge. I use just 3 separate Arduinos for my 16 channel relay.
            16 relay

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            22

            Online

            11.7k

            Users

            11.2k

            Topics

            113.1k

            Posts


            Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • MySensors
            • OpenHardware.io
            • Categories
            • Recent
            • Tags
            • Popular