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. Vera to relays not working

Vera to relays not working

Scheduled Pinned Locked Moved Troubleshooting
8 Posts 5 Posters 3.8k Views 1 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.
  • ferpandoF Offline
    ferpandoF Offline
    ferpando
    Hero Member
    wrote on last edited by
    #1

    Hello,

    I'm building an array of 16 relays controlled by Vera. Something like this:

    IMG_8828.JPG

    The sketch works just fine when connected to usb serial interface, as you can see here:

    write register: 0000000000010001

    read: 0-0-1 s=4,c=1,t=2,pt=0,l=1:0
    send: 1-1-0-0 s=4,c=1,t=2,pt=0,l=1,st=ok:0
    Incoming change for relay:4, New status: 0

    write register: 0000000000000001

    read: 0-0-1 s=4,c=1,t=2,pt=0,l=1:1
    send: 1-1-0-0 s=4,c=1,t=2,pt=0,l=1,st=ok:1
    Incoming change for relay:4, New status: 1

    write register: 0000000000010001

    All 16 channels write correctly and are responsive to Vera's devices.

    The problem comes when I connect the relay board.
    The arduino comes online and switches the relevant relays on or off according to what's stored on eprom but it stops responding to commands from Vera.

    I start to get some of this on the console:


    read: 76-76-76 s=76,c=4,t=76,pt=2,l=9:11852
    version mismatch
    read: 76-76-12 s=76,c=4,t=76,pt=2,l=9:11852
    version mismatch
    read: 76-76-12 s=76,c=4,t=76,pt=2,l=9:11852
    version mismatch
    read: 76-76-12 s=76,c=4,t=77,pt=2,l=9:11852
    version mismatch
    read: 76-76-12 s=76,c=4,t=76,pt=2,l=9:11853
    version mismatch
    read: 76-76-76 s=77,c=5,t=77,pt=2,l=9:11852
    version mismatch
    read: 77-77-76 s=76,c=4,t=76,pt=2,l=9:11852
    version mismatch
    read: 76-76-77 s=77,c=4,t=76,pt=2,l=9:11853


    and this when I try to turn off the first relay on vera:


    read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
    version mismatch
    read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
    version mismatch
    read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
    version mismatch
    read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
    version mismatch
    read: 0-0-0 s=0,c=0,t=0,pt=0,l=0:
    version mismatch


    The device does not change state nor does the relay.

    Any idea what might be going on?
    Sketches are all compiled with same version of the libraries.
    The fact the sketch works on it's own but not with the relays attached is what I don't understand.
    Any help would be appreciated.

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

      After a while going crazy I just changes the AC adapter for another one I had laying around and everithing started working.
      I did check the old one and it was ok.
      I don't know what could have been but now it is working properly.

      hekH 1 Reply Last reply
      0
      • ferpandoF ferpando

        After a while going crazy I just changes the AC adapter for another one I had laying around and everithing started working.
        I did check the old one and it was ok.
        I don't know what could have been but now it is working properly.

        hekH Offline
        hekH Offline
        hek
        Admin
        wrote on last edited by
        #3

        @ferpando

        If you had a oscilloscope around you would probably see some funny output from the old powersupply. Many cheap power supplies gives uneven and spiky output which makes the arduino/radio go bananas.

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

          Yes I know... some of these days I'll get one :-)

          hekH 1 Reply Last reply
          0
          • ferpandoF ferpando

            Yes I know... some of these days I'll get one :-)

            hekH Offline
            hekH Offline
            hek
            Admin
            wrote on last edited by
            #5

            @ferpando

            Just ordered a Rigol DS1054Z. Soft-hackable to 100Mhz. Unfortunately 4 weeks shipping time right now. It's like waiting for christmas as a kid.

            https://www.youtube.com/watch?v=ETCOhzU1O5A

            BulldogLowellB 1 Reply Last reply
            0
            • hekH hek

              @ferpando

              Just ordered a Rigol DS1054Z. Soft-hackable to 100Mhz. Unfortunately 4 weeks shipping time right now. It's like waiting for christmas as a kid.

              https://www.youtube.com/watch?v=ETCOhzU1O5A

              BulldogLowellB Offline
              BulldogLowellB Offline
              BulldogLowell
              Contest Winner
              wrote on last edited by
              #6

              @hek

              I own the baby Siglent which is 100Mhz... It has been helpful. I recently was able to re-time an I2C LCD library for Spark Core:, which I would have been SOL without the scope!

              1 Reply Last reply
              0
              • blaceyB Offline
                blaceyB Offline
                blacey
                Admin
                wrote on last edited by
                #7

                Followed @hek's lead and ordered one too - purported to ship on the 18th!

                1 Reply Last reply
                0
                • tbowmoT Offline
                  tbowmoT Offline
                  tbowmo
                  Admin
                  wrote on last edited by
                  #8

                  I want a rigol too. But better not buy one, I have my trusty 60mhz Tektronix scope which is enough at the moment

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


                  8

                  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