Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Hall effect sensor

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    22
    2.4k
    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.
    • firepongundefined
      firepong @dc42
      last edited by

      @dc42 There is no resistor on the board at all for the output. When checking resistance from the output to the sense line wire, it comes up as .1ohm (Basically 0), which made me decide to add a resistor on the sensor line itself. Have some on order that should be the right resistance for the sense line.

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by dc42

        Can you trace the output circuitry, back to one of the transistors? Or get a schematic out of the supplier.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        firepongundefined 1 Reply Last reply Reply Quote 0
        • firepongundefined
          firepong @dc42
          last edited by firepong

          @dc42 said in Hall effect sensor:

          Can you trace the output circuitry, back to one of the transistors? Or get a schematic out of the supplier.

          Went ahead and traced out the whole board. This is what it looks like, traces and all. One of the R2 pads with no wire, is going to ground.

          alt text

          1 Reply Last reply Reply Quote 0
          • dc42undefined
            dc42 administrators
            last edited by

            Thanks. Can you tell me what the top pad of Q2 is connected to, and the right pad of Q2?

            I emailed the supplier and received this response:

            "The limit sensor will output abut 1.4 volts in the tripped state. To accommodate the output needs of the Duet you can use a voltage divider the bring the sensor out voltage to the necessary level."

            This explains the problem, because 1.4V is out of tolerance for any 3.3V electronics and is marginal even for some 5V electronics. It may be that if you connect a 330R or 470R resistor between output and ground, that will bring the voltage level low enough.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            firepongundefined 1 Reply Last reply Reply Quote 0
            • firepongundefined
              firepong @dc42
              last edited by

              @dc42 said in Hall effect sensor:

              Thanks. Can you tell me what the top pad of Q2 is connected to, and the right pad of Q2?

              I emailed the supplier and received this response:

              "The limit sensor will output abut 1.4 volts in the tripped state. To accommodate the output needs of the Duet you can use a voltage divider the bring the sensor out voltage to the necessary level."

              This explains the problem, because 1.4V is out of tolerance for any 3.3V electronics and is marginal even for some 5V electronics. It may be that if you connect a 330R or 470R resistor between output and ground, that will bring the voltage level low enough.

              Q1 is going to the positive side of the red LED and Q2 is going to ground. The #2 through-hole point is the only connection to the top of Q1, going to the red LED.
              Also, messed up the line that is connecting the green and red LED. That line goes to the bottom right of Q2. Can't believe I messed that up x.x

              Here's the new layout:
              alt text

              1 Reply Last reply Reply Quote 0
              • dc42undefined
                dc42 administrators
                last edited by

                Thanks. Are you able to read any markings on Q1 and Q2?

                Duet WiFi hardware designer and firmware engineer
                Please do not ask me for Duet support via PM or email, use the forum
                http://www.escher3d.com, https://miscsolutions.wordpress.com

                firepongundefined 1 Reply Last reply Reply Quote 0
                • firepongundefined
                  firepong @dc42
                  last edited by

                  @dc42 said in Hall effect sensor:

                  Thanks. Are you able to read any markings on Q1 and Q2?

                  They say 2A6 thats all they say sadly x.x

                  1 Reply Last reply Reply Quote 0
                  • dc42undefined
                    dc42 administrators
                    last edited by

                    It looks to me that the Hall sensor is driving the output directly and the transistor are only present to drive the LEDs. Unfortunately, most 3.3V Hall sensors have very low output drive, and are not capable if driving the Duet endstop inputs directly.

                    When I designed a Hall effect endstop board several years ago, I included a buffer to drive both indication LEDs and the 3D printer controller. It needs just one 5-or 6-pin IC to do that, the same size as just one of the transistors on that board.

                    Duet WiFi hardware designer and firmware engineer
                    Please do not ask me for Duet support via PM or email, use the forum
                    http://www.escher3d.com, https://miscsolutions.wordpress.com

                    Vladundefined 1 Reply Last reply Reply Quote 0
                    • Vladundefined
                      Vlad @dc42
                      last edited by

                      @dc42 do you guys have those buffers for sale or possibly the whole endstop? Can't make my 3.3V hall sensor work either. Dimly lit LED is what I get. Triggered at 0V, not triggered feeds 1.62V into the board pin.

                      1 Reply Last reply Reply Quote 0
                      • AndreSundefined
                        AndreS
                        last edited by

                        @Vlad as mentioned in your other thread, your 3.3V hall sensor is a linear output type. A buffer circuit will not help. You need a circuit with an comparator and a pot to form a didgital output.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Unless otherwise noted, all forum content is licensed under CC-BY-SA