• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Digital input not working

    Scheduled Pinned Locked Moved Neuron Series
    5 Posts 2 Posters 3.5k Views 1 Watching
    Loading More Posts
    • 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.
    • B
      Boy Lenssen
      last edited by

      I got relays working, but trying to get Digital Input working on the Neuron L20x

      I have a device with a Pi with Raspbian + EVOK. I connected 2 reed switches, but when I try to trigger them, no lights go on on the Neuron. Do I need to do something else?

      T 1 Reply Last reply
      Reply Quote 0
      • T
        tomas_hora administrators @Boy Lenssen
        last edited by

        @Boy-Lenssen Wired as described in the documentation - 2.4.4Digital input connection ? If so, a green LED should turn on if the state of DI is HIGH.

        1 Reply Last reply
        Reply Quote 0
        • B
          Boy Lenssen
          last edited by Boy Lenssen

          @tomas_hora Don't blame me if I say something stupid, I am not the hardware guy on this project :)

          I received the Neuron from that guy with something like this connected to it.

          1 end is on the DIGND, the other on the input next to it. When I check the documentation you are referring to, do I understand it correctly that I need to add 5v on it or something like that?

          Edit: this last thing I said is nonsense I guess...I expect that I when I trigger the magnetic switch, the current will flow and result in a digital HIGH

          T 1 Reply Last reply
          Reply Quote 0
          • T
            tomas_hora administrators @Boy Lenssen
            last edited by

            @Boy-Lenssen You need a power supply (5-24V) as on the picture in the documentation negative pole (-) goes directly to DIGND. The positive pole(+) goes through the device (in your case the magnetic contact) to the DIX.Y. So one cable of the mag. contact goes to power supply and the other to Di.

            B 1 Reply Last reply
            Reply Quote 1
            • B
              Boy Lenssen @tomas_hora
              last edited by

              @tomas_hora I got it working, thanks! I did not have a power supply at hand, but I just abused the 5v of a Raspberry Pi I had laying around to see if the light goes on :)

              I also got the notification via websocket...awesome stuff :heartpulse:

              1 Reply Last reply
              Reply Quote 0

              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
              • First post
                Last post