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

Using an arduino button as an endstop

Scheduled Pinned Locked Moved
Duet Hardware and wiring
2
4
74
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.
  • undefined
    acnev
    last edited by 1 Jul 2024, 11:44

    Hi I am complete noob in electonics and I want to learn by building a printer controlled by Duet. I have a Duet 6HC and I was wondering if I can use a simple button as an endstop (only for testing purposes for now)?

    I could not notice of the warning in the docs WARNING: Never connect your endstop wires from +3.3V or +5V to ground. This will create a short circuit and could damage the Duet.

    I looked online and it should be possible but I want to avoid damaging my mainboard. Is this wiring ok? Online guides say it is ok, but idk. It seems that the ground and 3.3V connect when the button is pressed.

    2.PNG

    undefined 1 Reply Last reply 1 Jul 2024, 11:55 Reply Quote 0
    • undefined
      jay_s_uk @acnev
      last edited by 1 Jul 2024, 11:55

      @acnev no, thats incorrect.
      You just need to place the button between the io[#].in pin and ground. No need to include 3.3v.

      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

      undefined 1 Reply Last reply 1 Jul 2024, 12:01 Reply Quote 1
      • undefined
        acnev @jay_s_uk
        last edited by 1 Jul 2024, 12:01

        @jay_s_uk Thanks. What about the resistor. Does it need to be there?

        undefined 1 Reply Last reply 1 Jul 2024, 12:02 Reply Quote 0
        • undefined
          jay_s_uk @acnev
          last edited by 1 Jul 2024, 12:02

          @acnev nope, no resistor needed. just i0[#].in -> wire -> button -> wire -> gnd

          Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

          1 Reply Last reply Reply Quote 1
          2 out of 4
          • First post
            2/4
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA