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

    Reusing e1stop for a DHT22

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    5
    172
    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.
    • paralepsisundefined
      paralepsis
      last edited by

      Hi all, I've hooked up a DHT22 using the expansion pins as follows:

      ; DHT22 (pin 1 +V, pin 2 GND, pin 4 (E2 Stop) Data)
      M308 S2 P"exp.e2_stop" Y"dht22" A"AmbTemp[C]"
      M308 S3 P"S2.1" Y"dhthumidity" A"AmbHumid[%]"
      

      This works fine, but I'm not using the E1 stop and thought I would instead reuse that as it has a keyed connector and so I'm less likely to goof something. I tried this:

      M308 S2 P"e1stop" Y"dht22" A"AmbTemp[C]"
      M308 S3 P"S2.1" Y"dhthumidity" A"AmbHumid[%]"
      

      That doesn't work :). I'm sure I've done something silly, like forgetting to free the e1stop pin or something, but I am not finding the answer.

      Help? Thanks!

      Rob

      Railcore II 300XL w/ Duet 3 & RRF 3.5rc4, Makerbot R2X w/ Duet 2 WiFi & RRF 3.4

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

        @paralepsis you haven't done anything silly, it's because e2stop e1stop has an input protection circuit, which prevents it being used as an output.

        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

        paralepsisundefined 1 Reply Last reply Reply Quote 0
        • paralepsisundefined
          paralepsis @dc42
          last edited by

          @dc42 Ah, thanks! Ok. I assume e0stop is the same, so I need to just use the e2stop approach?

          Railcore II 300XL w/ Duet 3 & RRF 3.5rc4, Makerbot R2X w/ Duet 2 WiFi & RRF 3.4

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

            @paralepsis said in Reusing e1stop for a DHT22:

            @dc42 Ah, thanks! Ok. I assume e0stop is the same, so I need to just use the e2stop approach?

            Correct; or you can use one of the spi.cs signals on the SPI daughter board connector.

            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

            paralepsisundefined 1 Reply Last reply Reply Quote 0
            • paralepsisundefined
              paralepsis @dc42
              last edited by

              @dc42 Got it, thanks again!

              Railcore II 300XL w/ Duet 3 & RRF 3.5rc4, Makerbot R2X w/ Duet 2 WiFi & RRF 3.4

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