Announcement

Collapse
No announcement yet.

Connects for a few seconds then Connection FAILED - one wire

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Connects for a few seconds then Connection FAILED - one wire

    I've added a new Uno with genuine ethernet shield.

    Seemed to connect ok with just IO.

    Then I added a 1wire pin, and now the board connects for a few seconds and then disconnects.

    I have removed the one wire pin, and physically disconnected the sensors but still the same behaviour.

    I'm using Arduino software 1.6.3

    Log attached. - BOARD 2 is the one I'm having issues with
    Attached Files

    #2
    Found the problem - I'd managed to add pin 15 as both an input and as a onewire pin.

    Deleted the onewire pin and the input and recreated, and it is working ok.

    As an aside, I've been having intermittent (once a week) connection drops with my other board. I've just changed the ethernet shield from a clone to a genuine board. I'll report back if I still get the drops.

    Comment


      #3
      Originally posted by apluck View Post
      Found the problem - I'd managed to add pin 15 as both an input and as a onewire pin.

      Deleted the onewire pin and the input and recreated, and it is working ok.

      As an aside, I've been having intermittent (once a week) connection drops with my other board. I've just changed the ethernet shield from a clone to a genuine board. I'll report back if I still get the drops.
      This is strange as the plugin should not allow this to happen. Can you replicate it?
      I would be interested to know if your connection problems are fixed and if not what version of the plugin you are using and if there are any logs of the failed connection.

      Greig.
      Zwave = Z-Stick, 3xHSM100� 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
      X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
      Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
      Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
      Scripts =
      Various

      Comment


        #4
        I havent tried to replicate it. I was moving onewire pins around quite a lot on that day. These boards are in "production" use now, but I'll be adding another board soon, so will try to replicate then.


        I now get the following errors in the logs, but the boards seem reasonably stable.

        Temp-Cyl-Bottom is one of 3 sensors connected together in a star topology with then a 2m connection back to the arduino. The 3 waterproof sensors are on 3m tails. I know that star is not ideal, but this is a simple short network.

        Do you think the errors are due to the wiring?

        What are the ROM timer errros?

        plugin version 52, firmware version 42.


        May-19 07:32:00 Arduino Plugin Error = Rom = Temp-Cyl-Bottom has an error
        May-19 07:10:24 Arduino Plugin Error = Rom = Temp-Cyl-Bottom has an error
        May-19 06:28:18 Arduino Plugin Error = Rom = Arduino Board No:3 has an error
        May-19 06:21:07 Arduino Plugin Error = Rom = Temp-Pool-1.Inlet has an error
        May-19 06:08:46 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-19 05:59:31 Arduino Plugin Error = Rom = Temp-Pool-1.Inlet has an error
        May-19 05:40:54 Arduino Plugin Error = Rom = Temp-Cyl-Bottom has an error
        May-19 05:31:44 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-19 05:31:44 Arduino Plugin Error = Rom = Arduino Board No:2 has an error
        May-19 05:29:41 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-19 05:19:17 Arduino Plugin Error = Rom = Temp-Cyl-Bottom has an error
        May-19 05:10:08 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-19 05:10:08 Arduino Plugin Error = Rom = Arduino Board No:3 has an error
        May-19 05:02:55 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-19 04:58:42 Arduino Plugin Error = Rom = Temp-Cyl-Bottom has an error
        May-19 04:42:20 Arduino Plugin Error = Rom = Arduino Board No:3 has an error
        May-19 04:28:58 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-19 04:28:58 Arduino Plugin Error = Rom = Arduino Board No:3 has an error
        May-19 04:21:45 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-19 04:21:45 Arduino Plugin Error = Rom = Arduino Board No:3 has an error
        May-19 04:12:30 Arduino Plugin Error = Rom = Arduino Board No:2 has an error
        May-19 04:04:16 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-19 03:59:07 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-19 03:59:07 Arduino Plugin Error = Rom = Arduino Board No:2 has an error
        May-19 03:56:02 Arduino Plugin Error = Rom = Arduino Board No:3 has an error
        May-19 03:55:00 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-19 03:47:48 Arduino Plugin Error = Rom = Arduino Board No:3 has an error
        May-19 03:47:48 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-19 03:38:25 Arduino Plugin Error = Rom = Temp-Cyl-Bottom has an error
        May-19 03:16:40 Arduino Plugin Error = Rom = Temp-Cyl-Bottom has an error
        May-19 03:10:35 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-19 03:10:35 Arduino Plugin Error = Rom = Arduino Board No:3 has an error
        May-19 03:01:20 Arduino Plugin Error = Rom = Arduino Board No:2 has an error
        May-19 03:01:20 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-19 02:59:17 Arduino Plugin Error = Rom = Arduino Board No:2 has an error
        May-19 02:56:05 Arduino Plugin Error = Rom = Temp-Cyl-Bottom has an error
        May-19 02:34:28 Arduino Plugin Error = Rom = Temp-Cyl-Bottom has an error
        May-19 02:23:15 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-19 02:23:15 Arduino Plugin Error = Rom = Arduino Board No:3 has an error
        May-19 02:15:01 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-19 02:08:51 Arduino Plugin Error = Rom = Arduino Board No:3 has an error
        May-19 01:59:36 Arduino Plugin Error = Rom = Arduino Board No:2 has an error
        May-19 01:59:36 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-19 01:46:13 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-19 01:41:04 Arduino Plugin Error = Rom = Arduino Board No:3 has an error
        May-19 01:41:04 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-19 01:18:25 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-19 01:17:24 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-19 01:04:01 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-19 00:56:49 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-19 00:54:45 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-19 00:51:34 Arduino Plugin Error = Rom = Temp-Cyl-Bottom has an error
        May-19 00:30:59 Arduino Plugin Error = Rom = Temp-Cyl-Bottom has an error
        May-19 00:09:22 Arduino Plugin Error = Rom = Temp-Cyl-Bottom has an error
        May-19 00:03:18 Arduino Plugin Error = Rom = Arduino Board No:3 has an error
        May-18 23:48:47 Arduino Plugin Error = Rom = Temp-Cyl-Bottom has an error
        May-18 23:38:35 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-18 23:27:10 Arduino Plugin Error = Rom = Temp-Cyl-Bottom has an error
        May-18 23:16:59 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-18 22:56:24 Arduino Plugin Error = Rom = Arduino Board No:2 has an error
        May-18 22:49:12 Arduino Plugin Error = Rom = Arduino Board No:3 has an error
        May-18 22:49:12 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-18 22:42:00 Arduino Plugin Error = Exception in Rom Timer Tick : Object reference not set to an instance of an object.
        May-18 22:28:37 Arduino Plugin Error = Rom = Arduino Board No:3 has an error
        May-18 21:54:33 Arduino Plugin Error = Rom = Temp-Cyl-Bottom has an error

        Comment


          #5
          I spoke too soon. Board 2 has just disconnected. I am not sure why the log says "COM1" though, because it is connected by ethernet.

          May-19 11:26:40 Arduino Plugin Disconnected from Board No:2 on COM1
          May-19 11:26:40 Arduino Plugin Error = Board: 2 Connection FAILED.
          May-19 11:26:10 Arduino Plugin Warning = Board: 2 has a connection ERROR. Retrying.

          Comment


            #6
            I will try and email you tonight if I can I think I may have a fix. I have a new build. Can you send me a email with a debug log so I can see your setup and also as a reminder.

            Greig.

            Sent from my HTC One using Tapatalk
            Zwave = Z-Stick, 3xHSM100� 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
            X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
            Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
            Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
            Scripts =
            Various

            Comment

            Working...
            X