Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Inaccurate sensing with optical sensor.

    Duet Hardware and wiring
    3
    5
    471
    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.
    • coffman34
      coffman34 last edited by

      I bought some optical sensors from Amazon, https://www.amazon.com/gp/product/B0719K9Z9R/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1 After discussing with the seller if they would work with 3.3v. Of course, they don't appear to be working very well.

      I can trigger them with a piece of paper, but they're not detecting the filament very well. The light barely dims, and small movements make it fault and pause the print.

      I have tried adding a 10k resistor between the signal and the 3.3v in at the connector on the Duet.

      Should I look at replacing another resistor on the board? If so, would you be able to advise which one? I believe it may be R1 that's on the rear in the picture. But don't know how to be sure which one I need to replace.

      1 Reply Last reply Reply Quote 0
      • AlexLin
        AlexLin last edited by

        This is described in the wiki, ends top sectioni. Best to replace 2 resistors

        1 Reply Last reply Reply Quote 0
        • coffman34
          coffman34 last edited by

          I understand that it says you should replace some resistors. I just can't figure out by looking at the board which resistor it should be. There are two on the back, labeled R1 & R2. Then there is one on the front that is closer to the plug. All have different writing on them.

          After doing some more digging. I think it's the R1 that is the 180ohm resistor, and should be replaced with 100 ohm, and R2 should be replaced with the 10k ohm resistor. It appears the resistor on the front is for the LED.

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

            The problem you are having isn't caused by lack of 3.3V compatibility, it's caused by the filament not blocking the infrared light sufficiently. You need to use an opto switch with small IR elements, and you need to set the height of the filament in the slot to line up the filament precisely with the IR elements - then hold it at that height, for example by guiding it with two pieces of Capricorn PTFE tubing, one on each side of the slot.

            1 Reply Last reply Reply Quote 0
            • coffman34
              coffman34 last edited by

              Any recommendations on some with small IR elements? I had a hard enough time deciding to get these.

              I can re-print a mount that can hold the filament more centered. I'll let you know if that helps.

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